summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLPointCollection.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLPointCollection.mm')
-rw-r--r--platform/darwin/src/MGLPointCollection.mm2
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;
}