From ba1b253126df92b91993a678050d18a99d3d7b63 Mon Sep 17 00:00:00 2001 From: ghybs Date: Fri, 29 Jun 2018 05:51:52 +0400 Subject: [PATCH] docs(GeoJSON): tutorial update quote from RFC 7946 introduction for consistency. --- docs/examples/geojson/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/geojson/index.md b/docs/examples/geojson/index.md index d26ac219..1d0bc084 100644 --- a/docs/examples/geojson/index.md +++ b/docs/examples/geojson/index.md @@ -13,7 +13,7 @@ title: Using GeoJSON with Leaflet

According to GeoJSON Specification (RFC 7946):

-
GeoJSON is a format for encoding a variety of geographic data structures. A GeoJSON object may represent a geometry, a feature, or a collection of features. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Features in GeoJSON contain a geometry object and additional properties, and a feature collection represents a list of features.
+
GeoJSON is a format for encoding a variety of geographic data structures […]. A GeoJSON object may represent a region of space (a Geometry), a spatially bounded entity (a Feature), or a list of Features (a FeatureCollection). GeoJSON supports the following geometry types: Point LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Features in GeoJSON contain a Geometry object and additional properties, and a FeatureCollection contains a list of Features.

Leaflet supports all of the GeoJSON types above, but Features and FeatureCollections work best as they allow you to describe features with a set of properties. We can even use these properties to style our Leaflet vectors. Here's an example of a simple GeoJSON feature: