Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 04:30
a18b6cc
  • 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).