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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
circleKm and circleMeters give a circle on the Earth as a GeoJSON Polygon or MultiPolygon, for a map. A circle across the antimeridian is cut there. A circle around a pole has an edge along the pole. The README gives the rules.
The option vertices sets the number of the vertices. The default is DEFAULT_CIRCLE_VERTICES (64), and the limit is MAX_CIRCLE_VERTICES (65,536).
The new error code vertices refuses a number of vertices that is not an integer from 3 to MAX_CIRCLE_VERTICES.
GeoErrorCode has a new value. A caller with a full switch on the codes must add it. Thus the version is a MINOR change (before 1.0.0, a breaking change is a MINOR change).