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/MGLMultiPoint.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/MGLMultiPoint.mm')
-rw-r--r-- | platform/darwin/src/MGLMultiPoint.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLMultiPoint.mm b/platform/darwin/src/MGLMultiPoint.mm index 240dad9614..75638fec97 100644 --- a/platform/darwin/src/MGLMultiPoint.mm +++ b/platform/darwin/src/MGLMultiPoint.mm @@ -163,7 +163,7 @@ if (!_bounds) { mbgl::LatLngBounds bounds = mbgl::LatLngBounds::empty(); for (auto coordinate : _coordinates) { - if (!CLLocationCoordinate2DIsValid(coordinate)) { + if (!MGLLocationCoordinate2DIsValid(coordinate)) { bounds = mbgl::LatLngBounds::empty(); break; } |