summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOverlay.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2018-05-04 12:49:58 -0400
committerGitHub <noreply@github.com>2018-05-04 12:49:58 -0400
commit86a2e93294b472898cfd005a4c34818551de0728 (patch)
treedac975b129668e4b118c8ea47920ea34f78b7c8d /platform/darwin/src/MGLOverlay.h
parent167a2321d98b0733527fd4f94c11a2f33fb243e5 (diff)
downloadqtlocation-mapboxgl-86a2e93294b472898cfd005a4c34818551de0728.tar.gz
[ios, macos] Fix overlay bounds that span the antimeridian. (#11783)
* [ios, macos] Fix overlay bounds that span the antimeridian. * [ios, macos] Update changelogs. * [ios, macos] Make MGLLocationCoordinate2DIsValid private. * [ios, macos] Update changelogs.
Diffstat (limited to 'platform/darwin/src/MGLOverlay.h')
-rw-r--r--platform/darwin/src/MGLOverlay.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLOverlay.h b/platform/darwin/src/MGLOverlay.h
index 462a0c1031..7706b741e2 100644
--- a/platform/darwin/src/MGLOverlay.h
+++ b/platform/darwin/src/MGLOverlay.h
@@ -30,6 +30,11 @@ NS_ASSUME_NONNULL_BEGIN
This property contains the smallest rectangle that completely encompasses the
overlay. Implementers of this protocol must set this area when implementing
their overlay class, and after setting it, you must not change it.
+
+ If this overlay spans the antimeridian, its bounds may extend west of −180 degrees
+ longitude or east of 180 degrees longitude. For example, an overlay covering the
+ Pacific Ocean from Tokyo to San Francisco might have a bounds extending
+ from (35.68476, −220.24257) to (37.78428, −122.41310).
*/
@property (nonatomic, readonly) MGLCoordinateBounds overlayBounds;