L.supermap.plotting.graphicLayer()
leaflet/mapping/PlottingGraphicLayer.js, line 6
Extends
Methods
-
addFeatures(features)
leaflet/mapping/PlottingGraphicLayer.js, line 87 -
添加标号对象。
Name Type Description features
Array.<L.supermap.plotting.GraphicObject> 标号对象。
-
removeAllGraphics()
leaflet/mapping/PlottingGraphicLayer.js, line 191 -
删除所有图形对象。
-
removeGraphics(graphics)
leaflet/mapping/PlottingGraphicLayer.js, line 123 -
删除图形对象。
Name Type Description graphics
Object 图形对象。
-
updateGraphics(graphics)
leaflet/mapping/PlottingGraphicLayer.js, line 155 -
更新图形对象。
Name Type Description graphics
Object 图形对象。