您好!可以根据点坐标生成矢量要素,然后添加到矢量图层上,矢量要素生成方式如下:
生成其他几个图形,你可以看一下这范例:http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/examples/examples.html#basicalGeometry
对应的API:http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/apidoc/files/SuperMap/Feature/Vector-js.html#SuperMap.Feature.Vector.SuperMap.Feature.Vector