Function: findNearestSegmentIndex()
findNearestSegmentIndex(
polyline
,location
):number
Searches for a closest segment of a linear line geometry.
Parameters
Parameter | Type |
---|---|
| readonly |
|
Returns
number
index of start point for the closes line segment, or 0 if line is empty.