summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-07-19 15:38:01 -0400
committerJason Wray <jason@mapbox.com>2017-07-19 15:38:01 -0400
commit646e55328e1d085964af0ab4264411562fb77b45 (patch)
treeb02b78001d98b21948b46e1073075e3e9c88c327
parent032157a9d140a8f8acb7718a03021f56172ab580 (diff)
downloadqtlocation-mapboxgl-upstream/fb-features-as-annotations-trap.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.md4
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.