首页 / 浏览问题 / WebGIS / 问题详情
如何在iclient8c的动态标绘中绘制一个点标号?
1EXP 2023年10月27日

直接在代码中指定会:

 drawFeature.handler.serverUrl = serverUrl;
drawFeature.handler.libID = 0;
drawFeature.handler.symbolCode = 1;

// 标号id/code是参考https://iclient.supermap.io/web/libs/iclient8c/apidoc/files/Plugins/Plotting/Plot/SymbolType-js.html结合库代码查阅到的

报错:

VM430:1  Uncaught TypeError: Cannot read properties of null (reading 'w')
    at new initialize (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:192876)
    at SuperMap.Geometry.PlottingGeometry.createGeometry (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:168515)
    at new SuperMap.Geometry.PlottingGeometry.createFeature (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:170343)
    at initialize.createDefaultFeature (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:41806)
    at initialize.createFeature (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:31840)
    at initialize.modifyFeature (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:34394)
    at initialize.move (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:37923)
    at initialize.mousemove (eval at <anonymous> (SuperMap_Plot-8.1.1-17729.js:1:1), <anonymous>:1:40263)
    at initialize.triggerEvent (eval at <anonymous> (SuperMap-8.1.1-17729.js:3:1), <anonymous>:1:23554)
    at initialize.handleBrowserEvent (eval at <anonymous> (SuperMap-8.1.1-17729.js:3:1), <anonymous>:1:23961)

请问还需要指定什么配置吗?感谢

1个回答

您好,8C系列产品已经过了产品服务期,目前不再提供技术支持。建议您更换新版本。
600EXP 2023年10月27日
...