polyline.closestPointNormalizedLength(point)
Return the normalized length (distance from the start of the path / total path length) of the polyline up to the point that lies closest to point
.
If the polyline contains no points, null
is returned.