Function closestPointOnPolyline
- closestPointOnPolyline(p, points): {
closestIndex: number;
closestLength: number;
closestPoint: GeoPoint;
closestPrePointDist: number;
} Returns {
closestIndex: number;
closestLength: number;
closestPoint: GeoPoint;
closestPrePointDist: number;
}
closestIndex: number
closestLength: number
closestPrePointDist: number
点到多段线的最近点