diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2018-05-04 12:49:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 12:49:58 -0400 |
commit | 86a2e93294b472898cfd005a4c34818551de0728 (patch) | |
tree | dac975b129668e4b118c8ea47920ea34f78b7c8d /platform/darwin/src/MGLPointCollection.mm | |
parent | 167a2321d98b0733527fd4f94c11a2f33fb243e5 (diff) | |
download | qtlocation-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/MGLPointCollection.mm')
-rw-r--r-- | platform/darwin/src/MGLPointCollection.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLPointCollection.mm b/platform/darwin/src/MGLPointCollection.mm index 8f20d91a42..efb9497a1f 100644 --- a/platform/darwin/src/MGLPointCollection.mm +++ b/platform/darwin/src/MGLPointCollection.mm @@ -54,7 +54,7 @@ NS_ASSUME_NONNULL_BEGIN if (!_bounds) { mbgl::LatLngBounds bounds = mbgl::LatLngBounds::empty(); for (auto coordinate : _coordinates) { - if (!CLLocationCoordinate2DIsValid(coordinate)) { + if (!MGLLocationCoordinate2DIsValid(coordinate)) { bounds = mbgl::LatLngBounds::empty(); break; } |