L.supermap.plotting.plotMapManager(name, options)
leaflet/plot/PlotMapManager.js, line 11
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
name |
string |
标绘图名称。 |
||||||
options |
Object |
此类是父类提供的属性。
|
Methods
-
L.supermap.plotting.plotMapManager.getActiveChildPlotLayer()
leaflet/plot/PlotMapManager.js, line 199 -
获取当前激活的子图层。
-
L.supermap.plotting.plotMapManager.getActivePlottingLayer()
leaflet/plot/PlotMapManager.js, line 164 -
获取当前激活的图元层。
-
L.supermap.plotting.plotMapManager.getPlottingLayers(plottingLayer)
leaflet/plot/PlotMapManager.js, line 102 -
获取图元层数组。
Name Type Description plottingLayer
Array.<L.supermap.plotting.plottingLayer> 图元层数组。
-
L.supermap.plotting.plotMapManager.getSymScaleDefinition(){float}
leaflet/plot/PlotMapManager.js, line 111 -
获取标绘图的缩放基准。
Returns:
Type Description float 标绘图的缩放基准。 -
L.supermap.plotting.plotMapManager.setActiveChildPlotLayer(childPlotLayer)
leaflet/plot/PlotMapManager.js, line 172 -
设置当前激活的子图层。
Name Type Description childPlotLayer
L.supermap.plotting.childPlotLayer 要设置的子图层。
-
L.supermap.plotting.plotMapManager.setActivePlottingLayer(plottingLayer)
leaflet/plot/PlotMapManager.js, line 135 -
设置当前激活的图元层。
Name Type Description plottingLayer
L.supermap.plotting.plottingLayer 要设置的图元层。
-
L.supermap.plotting.plotMapManager.setSymScaleDefinition(symScaleDefinition)
leaflet/plot/PlotMapManager.js, line 126 -
设置标绘图的缩放基准。
Name Type Description symScaleDefinition
float 标绘图的缩放基准。
-
destroy()
leaflet/plot/PlotMapManager.js, line 91 -
销毁图形对象。
-
loadFrom(geoJson)
leaflet/plot/PlotMapManager.js, line 221 -
打开标绘图数据。
Name Type Description geoJson
Object 要打开的标绘图的数据。
-
saveTo()
leaflet/plot/PlotMapManager.js, line 207 -
获取标绘图数据。