GeoJson is a standardized format of how to display geometry in a geographical context, using latitude/longitude pairs to display one (or multiple) Point, Line or Polygon.
This implementation is roughly based on RFC7946.
GeoJson objects consist of two objects:
Type | Implemented |
Point | |
Line | |
Polygon | |
MultiPoint | |
MultiLine | |
MultiPolygon |
Points represent a single point on the map. In the following all valid coordinate types are shown
The line can be used to show a path or connection between multiple points.
Polygons are used to represent shapes. They are an array of two pointarrays. The first represent the shape, the optional second one a hole that can be cut into the shape.
Multipolygons are an array of polygons.
The GeoJson data is used to create a GeoGraphics object.