iClient9D 动态标绘模块的命名空间。
Classes
- BloodVolume
- DefaultStyle
- ExtendProperty
- LayerDataStruct
- MapInfoStruct
- OrbitPoint
- PictureFrame
- Property
- RouteNode
- SitDataStruct
- SMLInfoStruct
- SubSymbol
- SymbolText
- TimeWindowParameter
- TowardNode
- Trajectory
Namespaces
Members
-
SuperMap.Plot.AlgoSurroundLineTypeint
-
线面标号的衬线类型。
Properties:
Name Type Default Description NONE
int 0 0:无衬线。
INNER
int 1 1:内侧衬线。
OUT
int 2 2:外侧衬线。
ALL
int 3 3:双侧衬线。
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(37.3,112.1)); plottingLayer.createSymbol(22, 1003, locationPoints,"",{},{surroundLineType:SuperMap.Plot.AlgoSurroundLineType.ALL},function(evt){});
-
SuperMap.Plot.AlignTypeint
-
标号对象的对齐类型。
Properties:
Name Type Default Description LEFT
int 0 0:左对齐。
RIGHT
int 1 1:右对齐。
UP
int 2 2:上对齐。
DOWN
int 3 3:下对齐。
VERTICALCENTER
int 4 4:竖直居中对齐。
HORIZONTALCENTER
int 5 5:水平居中对齐。
Example
var editControl = L.supermap.plotting.editControl(); editControl.addTo(map); editControl.align(SuperMap.Plot.AlignType.LEFT);
-
SuperMap.Plot.AnnoPositionint
-
点标号注记位置。
Properties:
Name Type Default Description LEFTTOP
int 0 0:左上。
LEFTBOTTOM
int 1 1:左下。
RIGHTTOP
int 2 2:右上。
RIGHTBOTTOM
int 3 3:右下。
TOP
int 4 4:上。
BOTTOM
int 5 5:下。
LEFT
int 6 6:左。
RIGHT
int 7 7:右。
MIDDLE
int 8 8:点标号的中间注记。
ANCHOR
int 9 9:对象标注和关联标号的连线起始点为点标号的定位点或者线面标号的中心点。
Example
plottingLayer.createSymbol(421, 9,[new L.LatLng(35.4,96.8)],"uuid",{},{textContent:"注记", annotationPosition:SuperMap.Plot.AnnoPosition.LEFTTOP});
-
SuperMap.Plot.ArrowBodyTypeint
-
箭身类型。
Properties:
Name Type Default Description ARROWBODY_POLYLINE
int 0 0:折线箭身。
ARROWBODY_POLYBEZIER
int 1 1:贝塞尔箭身。
ARROWBODY_PARALLEL
int 2 2:平行线箭身。
ARROWBODY_TRAPEZOID
int 3 3:梯形箭身。
ARROWBODY_MULTIPOLYBEZIER
int 4 4:双线贝塞尔箭身。
ARROWBODY_COATTAIL
int 5 5:分段箭身。
-
SuperMap.Plot.ArrowHeadTypeint
-
箭头类型.
Properties:
Name Type Default Description ARROWHEAD_POLYLINE
int 0 0:折线箭头,适用于单线箭头
ARROWHEAD_TRIANGLE
int 1 1:三角箭头,适用于单线箭头
ARROWHEAD_COATTAIL
int 2 2:燕尾箭头,适用于单线箭头
ARROWHEAD_TRIANGLE_SOLID
int 3 3:实心三角箭头,适用于单线箭头
ARROWHEAD_WITH_EAR
int 4 4:带箭耳箭头,适用于双线箭头
ARROWHEAD_WITHOUT_EAR
int 5 5:不带箭耳箭头,适用于双线箭头
ARROWHEAD_COATTAIL_HOLLOW
int 6 6:内凹燕尾箭头,适用于单线箭头
-
SuperMap.Plot.ArrowTailTypeint
-
箭尾类型.
Properties:
Name Type Default Description ARROWTAIL_NONE
int 0 0:无箭尾
ARROWTAIL_LINE
int 1 1:直线箭尾
ARROWTAIL_CURVE
int 2 2:曲线箭尾
ARROWTAIL_COATTAIL
int 3 3:燕尾,适用于单线箭头
ARROWTAIL_COATTAIL_POLYBODY
int 4 4:燕尾,适用于双线箭头
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(37.3,112.1)); plottingLayer.createSymbol(22,1016,locationPoints,"",{},{ arrowHeadType:SuperMap.Plot.ArrowHeadType.ARROWHEAD_POLYLINE, arrowTailType:SuperMap.Plot.ArrowTailType.ARROWTAIL_NONE, arrowBodyType:SuperMap.Plot.ArrowBodyType.ARROWBODY_POLYLINE});
-
SuperMap.Plot.ArrowLineTypeint
-
箭头线的箭头或箭尾类型.
Properties:
Name Type Default Description DOUBLELINE
int 0 0:双线箭头
TRIANGLESOLID
int 1 1:实心三角形
NONE
int 2 2:无箭头
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(37.3,112.1)); plottingLayer.createSymbol(0,1016,locationPoints,"",{},{arrowTypeStart:SuperMap.Plot.ArrowLineType.NONE, arrowTypeEnd:SuperMap.Plot.ArrowLineType.TRIANGLESOLID});
-
SuperMap.Plot.BlinkAnimationBlinkStyleint
-
闪烁动画的闪烁类型,按频率闪烁或按次数闪烁。
Properties:
Name Type Default Description Blink_Frequency
int 0 0:频率闪烁
Blink_Number
int 1 1:次数闪烁
-
SuperMap.Plot.BlinkAnimationReplaceStyleint
-
闪烁动画的交替类型,闪烁交替是否替换颜色。
Properties:
Name Type Default Description Replace_NoColor
int 0 0:无颜色交替
Replace_Color
int 1 1:有颜色交替
-
SuperMap.Plot.EditModeint
-
编辑控件的编辑模式
Properties:
Name Type Default Description ADDCONTROLPOINT
int 0 0:增加节点编辑模式
EDITCONTROLPOINT
int 1 1:节点编辑模式
EDITCIRCUMRECTANGLE
int 2 2:外接矩形编辑模式
REMOVECONTROLPOINT
int 3 3:删除节点编辑模式
Example
var editControl = L.supermap.plotting.editControl(); editControl.addTo(map); editControl.setEditMode(SuperMap.Plot.EditMode.EDITCIRCUMRECTANGLE)
-
SuperMap.Plot.EqualLargeTypeint
-
点标号对象的等大类型.
Properties:
Name Type Default Description WIDTH
int 0 0:等宽
HEIGHT
int 1 1:等高
SAME
int 2 2:等大
Example
var editControl = L.supermap.plotting.editControl(); editControl.addTo(map); editControl.equalLarge(SuperMap.Plot.EqualLargeType.WIDTH);
-
SuperMap.Plot.GOAnimationTypeint
-
动态标绘中用到的动画类型。
Properties:
Name Type Default Description ANIMATION_UNKNOWN
int -1 -1:未知类型
ANIMATION_WAY
int 0 0:路径动画
ANIMATION_BLINK
int 1 1:闪烁动画
ANIMATION_ATTRIBUTE
int 2 2:属性动画
ANIMATION_SHOW
int 3 3:显隐动画
ANIMATION_ROTATE
int 4 4:旋转动画
ANIMATION_SCALE
int 5 5:比例动画
ANIMATION_GROW
int 6 6:生长动画
-
SuperMap.Plot.LineRelationTypeint
-
对象间连线的类型.
Properties:
Name Type Default Description SOLID
int 0 0:实直线
DASH
int 1 1:虚直线
ARROW
int 2 2:箭头线
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(37.3,112.1)); plottingLayer.createSymbol(0, 1001, locationPoints,"",{},{lineRelationType:SuperMap.Plot.LineRelationType.DASH});
-
SuperMap.Plot.Positionint
-
相对点标号的位置.
Properties:
Name Type Default Description TOP
int 4 4:上
BOTTOM
int 5 5:下
LEFT
int 6 6:左
RIGHT
int 7 7:右
-
SuperMap.Plot.PositionOffsetTypeint
-
点标号位置点偏移线类型.
Properties:
Name Type Default Description LINE
int 0 0:直线
GRADIENTLINE
int 1 1:线粗渐变
Example
plottingLayer.createSymbol(421, 9,[new L.LatLng(35.4,96.8)],"",{},{positionOffset:true, positionOffsetType:SuperMap.Plot.PositionOffsetType.GRADIENTLINE});
-
SuperMap.Plot.RadiusLineTypeint
-
扇形区域的半径线的类型.
Properties:
Name Type Default Description NONE
int 0 0:不显示半径线
SOLID
int 1 1:直线
ARROW
int 2 2:箭头线
Example
var options = {radiusText: ["半径", "1000公里"], radiusPosAngle: 30, radiusLineType: SuperMap.Plot.RadiusLineType.ARROW}; plottingLayer.createArcRegion( L.latLng(30.56,104.06), 1000, 0, 100, "", 50, "", {}, options);
-
SuperMap.Plot.RelLineTextint
-
沿线文字,文字和线的关系
Properties:
Name Type Default Description ONLINE
int 0 0:文字在线上
ONLEFTLINE
int 1 1:文字在线的左侧
ONRIGHTLINE
int 2 2:文字在线的右侧
ONBOTHLINE
int 3 3:文字在线的两侧
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(37.3,112.1)); plottingLayer.createSymbol(0, 1017, locationPoints,"uuid",{},{textContent:"abcdefg", relLineText:SuperMap.Plot.RelLineText.ONBOTHLINE});
-
SuperMap.Plot.RotateDirectionint
-
旋转动画的旋转方向。
Properties:
Name Type Default Description ClockWise
int 0 0:顺时针
AntiClockWise
int 1 1:逆时针
-
SuperMap.Plot.RouteNodeTypestring
-
航线点类型.
Properties:
Name Type Default Description RENDEZVOUS
string RENDEZVOUS "RENDEZVOUS":会合点
EXPANDING
string EXPANDING "EXPANDING":展开点
VOLLEY
string VOLLEY "VOLLEY":齐射点
STANDBY
string STANDBY "STANDBY":待机点
SUPPLY
string SUPPLY "SUPPLY":补给点
TAKEOFF
string TAKEOFF "TAKEOFF":起飞点
INITIAL
string INITIAL "INITIAL":初始点
VISUALINITAL
string VISUALINITAL "VISUALINITAL":可视初始点
LANCH
string LANCH "LANCH":发射点
TURNING
string TURNING "TURNING":转弯点
AIMING
string AIMING "AIMING":瞄准点
COMMONROUTE
string COMMONROUTE "COMMONROUTE":普通航路点
WEAPONLAUNCH
string WEAPONLAUNCH "WEAPONLAUNCH":武器发射点
TARGET
string TARGET "TARGET":目标点
ATTACK
string ATTACK "ATTACK":攻击点
SUPPRESS
string SUPPRESS "SUPPRESS":压制点
EIGHTSPIRAL
string EIGHTSPIRAL "EIGHTSPIRAL":八字盘旋点
HAPPYVALLEY
string HAPPYVALLEY "HAPPYVALLEY":跑马圈点
Example
var routeNode = new SuperMap.Plot.RouteNode(); routeNode.x = 116.5; routeNode.y = 40; routeNode.type = SuperMap.Plot.RouteNodeType.RENDEZVOUS; routeNode.name = "会合点";
-
SuperMap.Plot.SymbolTypeint
-
标号图层几何类型的枚举类,该类定义了一系列几何对象类型。
Properties:
Name Type Default Description DOTSYMBOL
int 1 1:点标号
ALGOSYMBOL
int 2 2:线面标号
TEXTSYMBOL
int 34 34:文本
ELLIPSESYMBOL
int 31 31:椭圆
CIRCLESYMBOL
int 29 29:圆
RECTANGLESYMBOL
int 26 26:矩形
ARBITRARYPOLYGONSYMBOL
int 32 32:任意多边形
POLYLINESYMBOL
int 24 24:折线
PARALLELOGRAM
int 28 28:平行四边形
ARCSYMBOL
int 44 44:弧线
REGULARPOLYGON
int 410 410:正多边形
CHORDSYMBOL
int 370 370:弓形
PIESYMBOL
int 380 380:扇形
KIDNEY
int 390 390:集结地
POLYBEZIERSYMBOL
int 590 590:贝塞尔曲线
PARALLELLINE
int 48 48:平行线
BRACESYMBOL
int 400 400:大括号
ANNOFRAMESYMBOL
int 320 320:注记指示框
ANNOFRAMESYMBOLM
int 321 321:多角标注框
TRAPEZOIDSYMBOL
int 350 350:梯形
POLYBEZIERCLOSESYMBOL
int 360 360:闭合贝塞尔曲线
GROUPOBJECT
int 1000 1000:组合对象
LINERELATION
int 1001 1001:对象间连线关系
INTERFERENCEBEAM
int 1002 1002:干扰波束
POLYGONREGION
int 1003 1003:多边形区域
ARCREGION
int 1004 1004:扇形区域
AIRROUTE
int 1005 1005:KJ航线
NAVYROUTE
int 1006 1006:HJ航线
MISSILEROUTE
int 1007 1007:DD航线
NAVYDEPLOYMENT
int 1008 1008:HJBLBS
AIRDEPLOYMENT
int 1009 1009:KJBLBS
SATELLITE
int 1010 1010:卫星
SATELLITETIMEWINDOWS
int 1011 1011:卫星可见时间窗
SYMBOLTEXT
int 1012 1012:对象标注
RUNWAY
int 1013 1013:跑道形
CURVEEIGHT
int 1014 1014:8字形
ROUTENODE
int 1015 1015:航线节点
ARROWLINE
int 1016 1016:单线箭头
PATHTEXT
int 1017 1017:沿线注记
LITERATESIGN
int 1018 1018:标牌文字
CONCENTRICCIRCLE
int 1019 1019:同心圆
FLAGGROUP
int 1020 1020:多旗
SYMBOLTEXT1
int 1021 1021:注记1
COMBINATIONALCIRCLE
int 1022 1022:组合圆
FREECURVE
int 1023 1023:自由曲线
SYMBOLTEXTBOX
int 1024 1024:标注框
NODECHAIN
int 1025 1025:节点链
LINEMARKING
int 1026 1026:线型标注
AVOIDREGION
int 1027 1027:避让区
WIRE
int 1028 1028:铁丝网
LINEARARROW
int 1029 1029:直线箭头
PICTURE
int 3000 3000:图片
-
SuperMap.Plot.TextBoxTypeint
-
标注框和线型标注的边框类型。其中标注框的边框类型有:带角矩形边框、矩形边框、无边框,线型标注的边框类型有:矩形边框、线型底边、无边框
Properties:
Name Type Default Description WITHTIPBOX
int 0 0:带角矩形边框
RECTBOX
int 1 1:矩形边框
LINEBOX
int 2 2:线型边框
NONEBOX
int 3 3:无边框
Example
var locationPoints = []; locationPoints.push(new L.LatLng(35.4,96.8)); locationPoints.push(new L.LatLng(47.3,112.1)); plottingLayer.createSymbol(0,1026,locationPoints,"uuid",{},{textBoxType:SuperMap.Plot.TextBoxType.LINEBOX});
-
SuperMap.Plot.TransactionTypeint
-
对象的编辑类型.
Properties:
Name Type Default Description CREATE
int 0 0:创建对象
EDIT
int 1 1:编辑对象
REMOVE
int 2 2:移除对象
Example
var transaction = new SuperMap.Plot.Transaction(); transaction.transType = SuperMap.Plot.TransactionType.EDIT; L.supermap.plotting.getControl().getTransManager().add(transaction);
-
SuperMap.Plot.UniformDistributionTypeint
-
标号对象的均匀分布类型.
Properties:
Name Type Default Description LEVEL
int 0 0:水平均匀分布
VERTICAL
int 1 1:竖直均匀分布
Example
var editControl = L.supermap.plotting.editControl(); editControl.addTo(map); editControl.uniformDistribution(SuperMap.Plot.UniformDistributionType.LEVEL);
-
SuperMap.Plot.WayPathTypeint
-
路径动画的路径类型。
Properties:
Name Type Default Description POLYLINE
int 0 0:折线路径
CURVE
int 1 1:曲线路径