L.supermap.plotting(map, serverUrl)
leaflet/plot/Plotting.js, line 17
| Name | Type | Description |
|---|---|---|
map |
L.map |
地图。 |
serverUrl |
string |
标绘服务地址。 |
Classes
- airDeployment
- airRoute
- algoSymbol
- arcRegion
- avoidRegion
- dotSymbol
- drawControl
- editControl
- flagGroup
- GOAnimation
- GOAnimationAttribute
- GOAnimationBlink
- GOAnimationGrow
- goAnimationManager
- GOAnimationRotate
- GOAnimationScale
- GOAnimationShow
- GOAnimationWay
- graphicLayer
- GraphicObject
- groupObject
- lineRelation
- missileRoute
- navyDeployment
- navyRoute
- pathText
- plottingLayer
- PlottingObject
- query
- Route
- satellite
- satelliteTimeWindows
- sitDataManager
- symbolLib
- symbolLibManager
- symbolText
- symbolText1
Methods
-
destroy()
leaflet/plot/Plotting.js, line 91 -
销毁该类,释放相关资源。
-
getClientID(){string}
leaflet/plot/Plotting.js, line 161 -
获取客户端用户的ID
Returns:
Type Description string 返回客户端用户的ID。 -
getControl(map, serverUrl){L.supermap.plotting}
leaflet/plot/Plotting.js, line 215 -
获取总控类对象。
Name Type Description mapL.map 地图
serverUrlstring 标绘服务地址。
Returns:
Type Description L.supermap.plotting 返回总控类对象。 -
getDefaultStyle(){SuperMap.Plot.DefaultStyle}
leaflet/plot/Plotting.js, line 125 -
获取缺省属性管理接口
Returns:
Type Description SuperMap.Plot.DefaultStyle 返回缺省属性对象。 -
getGOAnimationManager(){L.supermap.plotting.goAnimationManager}
leaflet/plot/Plotting.js, line 152 -
获取动画管理器
Returns:
Type Description L.supermap.plotting.goAnimationManager 返回标号库管理对象。 -
getSitDataManager(){L.supermap.plotting.sitDataManager}
leaflet/plot/Plotting.js, line 134 -
获取态势数据管理接口
Returns:
Type Description L.supermap.plotting.sitDataManager 返回态势数据管理对象。 -
getSymbolLibManager(){L.supermap.plotting.symbolLibManager}
leaflet/plot/Plotting.js, line 143 -
获取标号库管理器
Returns:
Type Description L.supermap.plotting.symbolLibManager 返回标号库管理对象。 -
setClientID(clientID)
leaflet/plot/Plotting.js, line 170 -
设置客户端用户的ID
Name Type Description clientIDstring 客户端用户的ID。
-
setMap(map)
leaflet/plot/Plotting.js, line 179 -
设置地图
Name Type Description mapL.map 地图
-
setPlotUrl(plotUrl)
leaflet/plot/Plotting.js, line 195 -
设置标绘服务地址
Name Type Description plotUrlstring 标绘服务地址。