Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Add note to about features-as-annotations in GeoJSON guide
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed Jul 19, 2017
1 parent 032157a commit 646e553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/darwin/docs/guides/Working with GeoJSON Data.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Linear ring | `MGLPolygon.coordinates`, `MGLPolygon.interiorPolygons`
A `Feature` object in GeoJSON corresponds to an instance of an `MGLShape`
subclass conforming to the `MGLFeature` protocol. There is a distinct
`MGLFeature`-conforming class for each type of geometry that a GeoJSON feature
can contain. This allows features to be used as shapes where convenient. For
example, some features can be added to a map view as annotations.
can contain. This allows features to be used as raw shapes where convenient. For
example, some features can be added to a map view as annotations. Note that identifiers and attributes will be discarded when a feature is used as an annotation.

In contrast to the GeoJSON standard, it is possible for `MGLShape` subclasses
other than `MGLPointAnnotation` to straddle the antimeridian.
Expand Down

0 comments on commit 646e553

Please sign in to comment.