Class: Shape

.xyz.maps.editor.features.Navlink. Shape

The interface represents link shape point.

Members Summary

class :String

identify the feature class: "NAVLINK_SHAPE"

Methods Summary

disconnect()

Disconnect the selected link from the other connected links at this shape point.

editTurnRestrictions() → {here.xyz.maps.editor.features.TurnRestriction}

Show turn restrictions of the selected link shape point.
Get an array of NAVLINKs representing the links which are connected to this shape point.

getIndex() → {number}

Get the index of the shape point.
Get the link to which this object belongs.

isNode() → {boolean}

Checks if shape is start or end shape (Node) of the link

isOverlapping() → {boolean}

Checks if shape is overlapping with shape of other link.

remove()

Remove this object.
Splits the link. The selected shape will become ref/nref node of the newly created links. Only available
if possible.

Members Details

class :String

identify the feature class: "NAVLINK_SHAPE"
Type:
String

Methods Details

disconnect()

Disconnect the selected link from the other connected links at this shape point.

editTurnRestrictions() → {here.xyz.maps.editor.features.TurnRestriction}

Show turn restrictions of the selected link shape point.
Returns:
Type:
here.xyz.maps.editor.features.TurnRestriction
Get an array of NAVLINKs representing the links which are connected to this shape point.
Returns:
An array of link objects.
Type:
Array.<here.xyz.maps.editor.features.Navlink>

getIndex() → {number}

Get the index of the shape point.
Returns:
The index of the shape point.
Type:
number
Get the link to which this object belongs.
Returns:
link
Type:
here.xyz.maps.editor.features.Navlink

isNode() → {boolean}

Checks if shape is start or end shape (Node) of the link
Returns:
true if node
Type:
boolean

isOverlapping() → {boolean}

Checks if shape is overlapping with shape of other link.
Returns:
true if it overlapps with another shape, false otherwise.
Type:
boolean

remove()

Remove this object.
Splits the link. The selected shape will become ref/nref node of the newly created links. Only available
if possible.
Returns:
An array of link objects.
Type:
Array.<here.xyz.maps.editor.features.Navlink>
Example:
var links = shapePoint.splitLink();