L.supermap.plotting.drawControl(drawingLayer)
leaflet/control/PlotDrawControl.js, line 5
Name | Type | Description |
---|---|---|
drawingLayer |
L.supermap.plotting.plottingLayer |
绘制图层。 |
Extends
Members
-
drawingLayerL.supermap.plotting.plottingLayer
-
绘制图层。
Methods
-
onAdd(map)
leaflet/control/PlotDrawControl.js, line 30 -
添加控件。
Name Type Description map
L.map 地图。
-
onRemove()
leaflet/control/PlotDrawControl.js, line 45 -
删除控件。
-
setDrawingLayer(drawingLayer)
leaflet/control/PlotDrawControl.js, line 55 -
设置绘制图层。
Name Type Description drawingLayer
L.supermap.plotting.plottingLayer 绘制图层。