Distribute count stations along a polyline, proportional to each segment's
horizontal length. The first station is the line start (distance 0), the last is
the line end.
Parameters
points: readonly{lat:number;lng:number}[]
The drawn polyline (lng/lat degrees; heights ignored).
count: number
Requested station count — clamped to [16, 2048], then reduced
if the line is too short for the 1 m minimum spacing.
Distribute
countstations along a polyline, proportional to each segment's horizontal length. The first station is the line start (distance 0), the last is the line end.