Class: satellite

L.supermap.plotting.satellite

Satellite对象。

L.supermap.plotting.satellite(libID, code, latlngs, options)

leaflet/layer/Satellite.js, line 4
Name Type Description
libID number

标号的ID。

code number

标号的code。

latlngs Array.<L.LatLng>

标号位置点。保留参数。

options Object

标号参数。

Name Type Default Description
uuid string 可选

标号的唯一标识符。

orbitPoints Array.<SuperMap.Plot.OrbitPoint> 可选

轨道星下点轨迹。

subSymbols Array.<SuperMap.Plot.SubSymbol> 可选

卫星标号数据。

visible boolean true 可选

卫星轨道的可见性。

enableEdit boolean true 可选

标号是否可编辑。

isLocked boolean false 可选

标号是否被锁定。

extendProperty Array.<SuperMap.Plot.ExtendProperty> 可选

标号的自定义属性。

note string 可选

标号的备注。

custom object 可选

用来存储用户的自定义数据。

style style 可选

标号的显示风格。

Extends

Members

codenumber

标号的code。

customobject

用来存储用户的自定义数据,只负责保存,不会对其做任何操作。

extendPropertyobject

标号的自定义属性。

libIDnumber

标号所属标号库的ID。

notestring

标号的备注。

stylestyle

标号的显示风格。

symbolNamestring

标号的名称。

标号的几何类型,可以根据该参数判断标号的具体类型。

textDisplayBoolean

注记是否显示。

uuidstring

标号的唯一标识符。

Methods

inherited addAvoidRegion(region)

leaflet/layer/PlottingObject.js, line 619

设置标号的避让区域

Name Type Description
region L.supermap.plotting.avoidRegion

避让区域。

inherited addLatLng(latlng)

leaflet/layer/GraphicObject.js, line 80

增加标号的位置点。

Name Type Description
latlng L.LatLng

标号的位置点。

inherited clone()

leaflet/layer/PlottingObject.js, line 436

拷贝标号。

inherited destroy()

leaflet/layer/GraphicObject.js, line 48

销毁对象。

inherited getBounds(){L.LatLngBounds()}

leaflet/layer/PlottingObject.js, line 419

获取标号包围盒。

Returns:
Type Description
L.LatLngBounds() 返回标号包围盒。

inherited getExtendProperty(){SuperMap.Plot.ExtendProperty}

leaflet/layer/PlottingObject.js, line 610

获取自定义属性列表。

Returns:
Type Description
SuperMap.Plot.ExtendProperty 自定义属性列表。

inherited getLatLngs(){Array.<L.LatLng>}

leaflet/layer/GraphicObject.js, line 70

获取标号位置点。

Returns:
Type Description
Array.<L.LatLng> 标号的位置点。

inherited getLocked(){boolean}

leaflet/layer/PlottingObject.js, line 500

获取标号是否锁定。

Returns:
Type Description
boolean 返回标号是否锁定。

inherited getRotate(){number}

leaflet/layer/PlottingObject.js, line 566

获取标号旋转角度。

Returns:
Type Description
number 返回标号的旋转角度。

inherited getScale(){float}

leaflet/layer/PlottingObject.js, line 528

获取标号缩放级别。

Returns:
Type Description
float 返回标号缩放级别。

inherited getScaleByMap(){boolean}

leaflet/layer/GraphicObject.js, line 101

获取点标号是否随图缩放。

Returns:
Type Description
boolean 返回点标号是否随图缩放。

inherited getScaleValues(){Array.<float>}

leaflet/layer/PlottingObject.js, line 537

获取标号的比例点。

Returns:
Type Description
Array.<float> 返回标号的比例点。

inherited getSubSymbols(){Object}

leaflet/layer/PlottingObject.js, line 575

获取线面标号的子标号。

Returns:
Type Description
Object 线面标号的子标号。

inherited getSurroundLineType(){number}

leaflet/layer/GraphicObject.js, line 110

获取标号的衬线类型。

Returns:
Type Description
number 标号的衬线类型。

inherited getTextContent(){string}

leaflet/layer/PlottingObject.js, line 601

获取标号的注记内容。

Returns:
Type Description
string 注记内容。

inherited getTextPosition(){number}

leaflet/layer/PlottingObject.js, line 592

获取点标号注记位置。

Returns:
Type Description
number 返回点标号注记位置。

getVisible(){boolean}

leaflet/layer/Satellite.js, line 86

获取是否显示卫星轨道。

Returns:
Type Description
boolean 返回是否显示卫星轨道.

inherited redraw()

leaflet/layer/PlottingObject.js, line 680

重绘。

inherited removeAvoidRegions(regions)

leaflet/layer/PlottingObject.js, line 632

移除标号的避让区域。

Name Type Description
regions Array.<L.supermap.plotting.avoidRegion>

避让区域。

inherited setLatLngs(latlngs)

leaflet/layer/GraphicObject.js, line 59

设置标号位置点。

Name Type Description
latlngs Array.<L.LatLng>

标号的位置点。

inherited setLocked(locked)

leaflet/layer/PlottingObject.js, line 509

设置标号锁定。

Name Type Description
locked boolean

标号锁定。

setRotate(rotateValue)

leaflet/layer/Satellite.js, line 284

围绕中心点旋转组合对象。

Name Type Description
rotateValue number

旋转角的度数。

inherited setScaleByMap(isScaleByMap)

leaflet/layer/GraphicObject.js, line 92

设置点标号是否随图缩放。

Name Type Description
isScaleByMap boolean

点标号是否随图缩放。

inherited setScaleValues(scaleValues)

leaflet/layer/PlottingObject.js, line 546

设置标号的比例点。

Name Type Description
scaleValues Array.<float>

标号的比例点。

inherited setStyle(style)

leaflet/layer/PlottingObject.js, line 451

设置标号样式。

Name Type Description
style style

标号样式。

inherited setSurroundLineType(surroundLineType)

leaflet/layer/GraphicObject.js, line 120

设置标号的衬线类型。

Name Type Description
surroundLineType number

标号的衬线类型,线面标号有四种类型:0无衬线,1内侧衬线,2外侧衬线,3双侧衬线。

inherited setTextContent(content)

leaflet/layer/PlottingObject.js, line 486

设置注记内容。

Name Type Description
content string

注记内容。

setVisible(visible)

leaflet/layer/Satellite.js, line 55

设置是否显示卫星轨道。

Name Type Description
visible boolean

是否显示卫星轨道。

inherited toGeoJsonStr(){string}

leaflet/layer/PlottingObject.js, line 1415

根据标绘对象返回GeoJson串。

Returns:
Type Description
string 返回GeoJson串。