L.supermap.plotting.navyDeployment(libID, code, latlngs, options)
leaflet/layer/NavyDeployment.js, line 3
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
libID |
number |
标号的ID。 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
code |
number |
标号的code。 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
latlngs |
Array.<L.LatLng> |
标号位置点。保留参数。 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
Object |
标号参数。
|
Extends
Members
-
codenumber
-
标号的code。
-
customobject
-
用来存储用户的自定义数据,只负责保存,不会对其做任何操作。
-
extendPropertyobject
-
标号的自定义属性。
-
libIDnumber
-
标号所属标号库的ID。
-
notestring
-
标号的备注。
-
stylestyle
-
标号的显示风格。
-
symbolNamestring
-
标号的名称。
-
symbolTypeSuperMap.Plot.SymbolType
-
标号的几何类型,可以根据该参数判断标号的具体类型。
-
uuidstring
-
标号的唯一标识符。
Methods
-
inherited addAvoidRegion(region)
leaflet/layer/PlottingObject.js, line 600 -
设置标号的避让区域
Name Type Description region
L.supermap.plotting.avoidRegion 避让区域。
-
inherited clone()
leaflet/layer/PlottingObject.js, line 418 -
拷贝标号。
-
destroy()
leaflet/layer/NavyDeployment.js, line 63 -
销毁几何图形。
-
inherited getBounds(){L.LatLngBounds()}
leaflet/layer/PlottingObject.js, line 401 -
获取标号包围盒。
Returns:
Type Description L.LatLngBounds() 返回标号包围盒。 -
inherited getExtendProperty(){SuperMap.Plot.ExtendProperty}
leaflet/layer/PlottingObject.js, line 591 -
获取自定义属性列表。
Returns:
Type Description SuperMap.Plot.ExtendProperty 自定义属性列表。 -
inherited getLocked(){boolean}
leaflet/layer/PlottingObject.js, line 481 -
获取标号是否锁定。
Returns:
Type Description boolean 返回标号是否锁定。 -
inherited getRotate(){number}
leaflet/layer/PlottingObject.js, line 547 -
获取标号旋转角度。
Returns:
Type Description number 返回标号的旋转角度。 -
inherited getScale(){float}
leaflet/layer/PlottingObject.js, line 509 -
获取标号缩放级别。
Returns:
Type Description float 返回标号缩放级别。 -
inherited getScaleValues(){Array.<float>}
leaflet/layer/PlottingObject.js, line 518 -
获取标号的比例点。
Returns:
Type Description Array.<float> 返回标号的比例点。 -
inherited getSubSymbols(){Object}
leaflet/layer/PlottingObject.js, line 556 -
获取线面标号的子标号。
Returns:
Type Description Object 线面标号的子标号。 -
inherited getTextContent(){string}
leaflet/layer/PlottingObject.js, line 582 -
获取标号的注记内容。
Returns:
Type Description string 注记内容。 -
inherited getTextPosition(){number}
leaflet/layer/PlottingObject.js, line 573 -
获取点标号注记位置。
Returns:
Type Description number 返回点标号注记位置。 -
inherited redraw()
leaflet/layer/PlottingObject.js, line 661 -
重绘。
-
inherited removeAvoidRegions(regions)
leaflet/layer/PlottingObject.js, line 613 -
移除标号的避让区域。
Name Type Description regions
Array.<L.supermap.plotting.avoidRegion> 避让区域。
-
inherited setLocked(locked)
leaflet/layer/PlottingObject.js, line 490 -
设置标号锁定。
Name Type Description locked
boolean 标号锁定。
-
inherited setRotate(rotate)
leaflet/layer/GroupObject.js, line 115 -
设置标号的旋转角度。
Name Type Description rotate
number 标号的旋转角度。
-
inherited setScale(scale)
leaflet/layer/GroupObject.js, line 131 -
设置标号的比例值。
Name Type Description scale
number 标号的比例值。
-
inherited setScaleValues(scaleValues)
leaflet/layer/PlottingObject.js, line 527 -
设置标号的比例点。
Name Type Description scaleValues
Array.<float> 标号的比例点。
-
inherited setStyle(style)
leaflet/layer/GroupObject.js, line 195 -
设置样式。
Name Type Description style
Object 标号样式。
-
inherited toGeoJsonStr(){string}
leaflet/layer/PlottingObject.js, line 1386 -
根据标绘对象返回GeoJson串。
Returns:
Type Description string 返回GeoJson串。