diff options
author | Jason Wray <jason@mapbox.com> | 2017-07-19 15:38:01 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-07-19 15:38:01 -0400 |
commit | 646e55328e1d085964af0ab4264411562fb77b45 (patch) | |
tree | b02b78001d98b21948b46e1073075e3e9c88c327 | |
parent | 032157a9d140a8f8acb7718a03021f56172ab580 (diff) | |
download | qtlocation-mapboxgl-646e55328e1d085964af0ab4264411562fb77b45.tar.gz |
Add note to about features-as-annotations in GeoJSON guideupstream/fb-features-as-annotations-trap
-rw-r--r-- | platform/darwin/docs/guides/Working with GeoJSON Data.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/docs/guides/Working with GeoJSON Data.md b/platform/darwin/docs/guides/Working with GeoJSON Data.md index 57aaa3855d..dbf90242c7 100644 --- a/platform/darwin/docs/guides/Working with GeoJSON Data.md +++ b/platform/darwin/docs/guides/Working with GeoJSON Data.md @@ -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. |