Class: TowardNode

SuperMap.Plot.TowardNode

航线指向节点信息。

new SuperMap.Plot.TowardNode(options)

common/plot/TowardNode.js, line 11
Name Type Description
options Object

指向节点参数。

Name Type Description
routeNodeId string 可选

指向节点对象的routeNodeId。

relLineText SuperMap.Plot.RelLineText 可选

HJ航线文字与沿线的关系。

index number 可选

标牌文字的索引号。

textContent Array.<string> 可选

两个节点间文字内容。

offsetX number 可选

标牌文字与两航站点的中间点的X偏移量。

offsetY number 可选

标牌文字与两航站点的中间点的Y偏移量。

style Object 可选

航线上文字或标牌文字样式。

Members

indexnumber

标牌文字的索引号。

offsetXnumber

标牌文字与两航站点的中间点的X偏移量。

offsetYnumber

标牌文字与两航站点的中间点的Y偏移量。

HJ航线文字与沿线的关系。

routeNodeIdstring

指向节点对象的routeNodeId。

styleObject

航线上文字或标牌文字样式。

textContentArray(string)

两个节点间文字内容,文字内容保存在指向节点上。

Methods

clone(){SuperMap.Plot.TowardNode}

common/plot/TowardNode.js, line 92

克隆航线指向节点对象。

Returns:
Type Description
SuperMap.Plot.TowardNode 克隆后的航线指向节点对象。

destroy()

common/plot/TowardNode.js, line 81

销毁图形对象数据。