iClient9D 动态标绘模块的命名空间。
Classes
- DefaultStyle
- ExtendProperty
- LayerDataStruct
- MapInfoStruct
- OrbitPoint
- Property
- RouteNode
- SitDataStruct
- SMLInfoStruct
- SubSymbol
- SymbolText
- TimeWindowParameter
- TowardNode
Namespaces
Members
-
SuperMap.Plot.AlgoSurroundLineTypeint
-
线面标号的衬线类型.
Properties:
Name Type Default Description NONEint 0 0:无衬线
INNERint 1 1:内侧衬线
OUTint 2 2:外侧衬线
ALLint 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}); -
SuperMap.Plot.AlignTypeint
-
标号对象的对齐类型.
Properties:
Name Type Default Description LEFTint 0 0:左对齐
RIGHTint 1 1:右对齐
UPint 2 2:上对齐
DOWNint 3 3:下对齐
VERTICALCENTERint 4 4:竖直居中对齐
HORIZONTALCENTERint 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 LEFTTOPint 0 0:左上
LEFTBOTTOMint 1 1:左下
RIGHTTOPint 2 2:右上
RIGHTBOTTOMint 3 3:右下
TOPint 4 4:上
BOTTOMint 5 5:下
LEFTint 6 6:左
RIGHTint 7 7:右
Example
plottingLayer.createSymbol(421, 9,[new L.LatLng(35.4,96.8)],{textContent:"注记", annotationPosition:SuperMap.Plot.AnnoPosition.LEFTTOP}); -
SuperMap.Plot.ArrowBodyTypeint
-
箭身类型.
Properties:
Name Type Default Description ARROWBODY_POLYLINEint 0 0:折线箭身
ARROWBODY_POLYBEZIERint 1 1:贝塞尔箭身
ARROWBODY_PARALLELint 2 2:平行线箭身
ARROWBODY_TRAPEZOIDint 3 3:梯形箭身
ARROWBODY_MULTIPOLYBEZIERint 4 4:双线贝塞尔箭身
ARROWBODY_COATTAILint 5 5:分段箭身
-
SuperMap.Plot.ArrowHeadTypeint
-
箭头类型.
Properties:
Name Type Default Description ARROWHEAD_POLYLINEint 0 0:折线箭头,适用于单线箭头
ARROWHEAD_TRIANGLEint 1 1:三角箭头,适用于单线箭头
ARROWHEAD_COATTAILint 2 2:燕尾箭头,适用于单线箭头
ARROWHEAD_TRIANGLE_SOLIDint 3 3:实心三角箭头,适用于单线箭头
ARROWHEAD_WITH_EARint 4 4:带箭耳箭头,适用于双线箭头
ARROWHEAD_WITHOUT_EARint 5 5:不带箭耳箭头,适用于双线箭头
ARROWHEAD_COATTAIL_HOLLOWint 6 6:内凹燕尾箭头,适用于单线箭头
-
SuperMap.Plot.ArrowLineTypeint
-
箭头线的箭头或箭尾类型.
Properties:
Name Type Default Description DOUBLELINEint 0 0:双线箭头
TRIANGLESOLIDint 1 1:实心三角形
NONEint 2 2:无箭头
Example
plottingLayer.createSymbol(0,1016,locationPoints,{arrowTypeStart:SuperMap.Plot.ArrowLineType.NONE, arrowTypeEnd:SuperMap.Plot.ArrowLineType.TRIANGLESOLID}); -
SuperMap.Plot.ArrowTailTypeint
-
箭尾类型.
Properties:
Name Type Default Description ARROWTAIL_NONEint 0 0:无箭尾
ARROWTAIL_LINEint 1 1:直线箭尾
ARROWTAIL_CURVEint 2 2:曲线箭尾
ARROWTAIL_COATTAILint 3 3:燕尾,适用于单线箭头
ARROWTAIL_COATTAIL_POLYBODYint 4 4:燕尾,适用于双线箭头
-
SuperMap.Plot.BlinkAnimationBlinkStyleint
-
闪烁动画的闪烁类型,按频率闪烁或按次数闪烁。
Properties:
Name Type Default Description Blink_Frequencyint 0 0:频率闪烁
Blink_Numberint 1 1:次数闪烁
-
SuperMap.Plot.BlinkAnimationReplaceStyleint
-
闪烁动画的交替类型,闪烁交替是否替换颜色。
Properties:
Name Type Default Description Replace_NoColorint 0 0:无颜色交替
Replace_Colorint 1 1:有颜色交替
-
SuperMap.Plot.EditModeint
-
编辑控件的编辑模式
Properties:
Name Type Default Description ADDCONTROLPOINTint 0 0:增加节点编辑模式
EDITCONTROLPOINTint 1 1:节点编辑模式
EDITCIRCUMRECTANGLEint 2 2:外接矩形编辑模式
REMOVECONTROLPOINTint 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 WIDTHint 0 0:等宽
HEIGHTint 1 1:等高
SAMEint 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_UNKNOWNint -1 -1:未知类型
ANIMATION_WAYint 0 0:路径动画
ANIMATION_BLINKint 1 1:闪烁动画
ANIMATION_ATTRIBUTEint 2 2:属性动画
ANIMATION_SHOWint 3 3:显隐动画
ANIMATION_ROTATEint 4 4:旋转动画
ANIMATION_SCALEint 5 5:比例动画
ANIMATION_GROWint 6 6:生长动画
-
SuperMap.Plot.LineRelationTypeint
-
对象间连线的类型.
Properties:
Name Type Default Description SOLIDint 0 0:实直线
DASHint 1 1:虚直线
ARROWint 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.PositionOffsetTypeint
-
点标号位置点偏移线类型.
Properties:
Name Type Default Description LINEint 0 0:直线
GRADIENTLINEint 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 NONEint 0 0:不显示半径线
SOLIDint 1 1:直线
ARROWint 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 ONLINEint 0 0:文字在线上
ONLEFTLINEint 1 1:文字在线的左侧
ONRIGHTLINEint 2 2:文字在线的右侧
ONBOTHLINEint 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,{textContent:"abcdefg", relLineText:SuperMap.Plot.RelLineText.ONBOTHLINE}); -
SuperMap.Plot.RotateDirectionint
-
旋转动画的旋转方向。
Properties:
Name Type Default Description ClockWiseint 0 0:顺时针
AntiClockWiseint 1 1:逆时针
-
SuperMap.Plot.RouteNodeTypestring
-
航线点类型.
Properties:
Name Type Default Description RENDEZVOUSstring RENDEZVOUS "RENDEZVOUS":会合点
EXPANDINGstring EXPANDING "EXPANDING":展开点
VOLLEYstring VOLLEY "VOLLEY":齐射点
STANDBYstring STANDBY "STANDBY":待机点
SUPPLYstring SUPPLY "SUPPLY":补给点
TAKEOFFstring TAKEOFF "TAKEOFF":起飞点
INITIALstring INITIAL "INITIAL":初始点
VISUALINITALstring VISUALINITAL "VISUALINITAL":可视初始点
LANCHstring LANCH "LANCH":发射点
TURNINGstring TURNING "TURNING":转弯点
AIMINGstring AIMING "AIMING":瞄准点
COMMONROUTEstring COMMONROUTE "COMMONROUTE":普通航路点
WEAPONLAUNCHstring WEAPONLAUNCH "WEAPONLAUNCH":武器发射点
TARGETstring TARGET "TARGET":目标点
ATTACKstring ATTACK "ATTACK":攻击点
SUPPRESSstring SUPPRESS "SUPPRESS":压制点
EIGHTSPIRALstring EIGHTSPIRAL "EIGHTSPIRAL":八字盘旋点
HAPPYVALLEYstring 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 DOTSYMBOLint 1 1:点标号
ALGOSYMBOLint 2 2:线面标号
TEXTSYMBOLint 34 34:文本
ELLIPSESYMBOLint 31 31:椭圆
CIRCLESYMBOLint 29 29:圆
RECTANGLESYMBOLint 26 26:矩形
ARBITRARYPOLYGONSYMBOLint 32 32:任意多边形
POLYLINESYMBOLint 24 24:折线
PARALLELOGRAMint 28 28:平行四边形
ARCSYMBOLint 44 44:弧线
REGULARPOLYGONint 410 410:正多边形
CHORDSYMBOLint 370 370:弓形
PIESYMBOLint 380 380:扇形
KIDNEYint 390 390:集结地
POLYBEZIERSYMBOLint 590 590:贝塞尔曲线
PARALLELLINEint 48 48:平行线
BRACESYMBOLint 400 400:大括号
ANNOFRAMESYMBOLint 320 320:注记指示框
ANNOFRAMESYMBOLMint 321 321:多角标注框
TRAPEZOIDSYMBOLint 350 350:梯形
POLYBEZIERCLOSESYMBOLint 360 360:闭合贝塞尔曲线
GROUPOBJECTint 1000 1000:组合对象
LINERELATIONint 1001 1001:对象间连线关系
INTERFERENCEBEAMint 1002 1002:干扰波束
POLYGONREGIONint 1003 1003:多边形区域
ARCREGIONint 1004 1004:扇形区域
AIRROUTEint 1005 1005:KJ航线
NAVYROUTEint 1006 1006:HJ航线
MISSILEROUTEint 1007 1007:DD航线
NAVYDEPLOYMENTint 1008 1008:HJBLBS
AIRDEPLOYMENTint 1009 1009:KJBLBS
SATELLITEint 1010 1010:卫星
SATELLITETIMEWINDOWSint 1011 1011:卫星可见时间窗
SYMBOLTEXTint 1012 1012:对象标注
RUNWAYint 1013 1013:跑道形
CURVEEIGHTint 1014 1014:8字形
ROUTENODEint 1015 1015:航线节点
ARROWLINEint 1016 1016:单线箭头
PATHTEXTint 1017 1017:沿线注记
LITERATESIGNint 1018 1018:标牌文字
CONCENTRICCIRCLEint 1019 1019:同心圆
FLAGGROUPint 1020 1020:多旗
SYMBOLTEXT1int 1021 1021:注记1
COMBINATIONALCIRCLEint 1022 1022:组合圆
FREECURVEint 1023 1023:自由曲线
SYMBOLTEXTBOXint 1024 1024:标注框
NODECHAINint 1025 1025:节点链
LINEMARKINGint 1026 1026:线型标注
AVOIDREGIONint 1027 1027:避让区
WIREint 1028 1028:铁丝网
-
SuperMap.Plot.TextBoxTypeint
-
标注框和线型标注的边框类型。其中标注框的边框类型有:带角矩形边框、矩形边框、无边框,线型标注的边框类型有:矩形边框、线型底边、无边框
Properties:
Name Type Default Description WITHTIPBOXint 0 0:带角矩形边框
RECTBOXint 1 1:矩形边框
LINEBOXint 2 2:线型边框
NONEBOXint 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,{textBoxType:SuperMap.Plot.TextBoxType.LINEBOX}); -
SuperMap.Plot.TransactionTypeint
-
对象的编辑类型.
Properties:
Name Type Default Description CREATEint 0 0:创建对象
EDITint 1 1:编辑对象
REMOVEint 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 LEVELint 0 0:水平均匀分布
VERTICALint 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 POLYLINEint 0 0:折线路径
CURVEint 1 1:曲线路径