From b5b84ef52db663f07fb5ecfdd0a9a0ea80b87b01 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Tue, 18 Jul 2017 19:11:55 -0400 Subject: [ios] Warn about using MGLFeature-conforming annotations w/querying --- platform/darwin/docs/guides/Working with GeoJSON Data.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'platform/darwin/docs') diff --git a/platform/darwin/docs/guides/Working with GeoJSON Data.md b/platform/darwin/docs/guides/Working with GeoJSON Data.md index 57aaa3855d..f3b3dc0918 100644 --- a/platform/darwin/docs/guides/Working with GeoJSON Data.md +++ b/platform/darwin/docs/guides/Working with GeoJSON Data.md @@ -81,8 +81,10 @@ 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 not be available for feature querying 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. -- cgit v1.2.1