You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed area overestimating polygons whose holes wind the opposite way to the outer ring, as GeoJSON requires. Holes are now always subtracted, whatever their winding. #64
Fixed lineSliceAlong with a negative start distance, which produced a slice starting before the line. The start is now clamped to the start of the line. #65
Fixed insideBBox returning wrong results for boxes wider than 180° of longitude.
Fixed lineSliceAlong returning NaN coordinates when the stop distance is 0 and the line starts with a duplicate point.
lineSliceAlong now swaps the start and stop distances if start is greater than stop, matching how lineSlice handles reversed points.
Fixed lineSlice throwing on a single-point line.
The CheapRuler constructor now throws on a NaN or non-number latitude.