Using GeoJSON with Mapbox GL JS
How to use GeoJSON data with Mapbox GL JS for high-performance web mapping.
This is an informational guide. Use the tools in the navigation above to work with GeoJSON data interactively.
About Using GeoJSON with Mapbox GL JS
GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format and is defined in RFC 7946. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection.
Features in GeoJSON contain a geometry object and additional properties. A FeatureCollection contains a list of features. GeoJSON uses the WGS 84 coordinate reference system, with coordinates specified as longitude and latitude (in that order).