ReadonlydistanceThe distance in meters between the shape's position and the connection point on the target link.
ReadonlylinkThe target Navlink to which the connection can be established.
ReadonlypointThe geographical coordinate on the target link's geometry where the connection would be established.
ReadonlysegmentThe segment index on the target link where the connection point is located.
Connects the NavlinkShape to the target Navlink. This will create a new shape on the target link at the connection point and split the target link at that position. If the shape is not a node (start/end point) of the Navlink, the own Navlink will also be split.
Object containing the resulting split links, or null if the connection could not be established.
A ConnectionCandidate represents a possible connection between a NavlinkShape and a nearby Navlink. It is returned by NavlinkShape.getConnectionCandidates and provides information about the target link, the connection point, and the distance. The connection can be established by calling ConnectionCandidate.connect.