From 16a2839e23d42d4640ef028d62dc01322a0d2e5a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 4 Apr 2017 07:35:26 -0700 Subject: [all] Make LatLng coordinates read-only --- platform/macos/src/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/macos/src/MGLMapView.mm') diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm index 49d7509fc7..42f38cd99f 100644 --- a/platform/macos/src/MGLMapView.mm +++ b/platform/macos/src/MGLMapView.mm @@ -2676,7 +2676,7 @@ public: (bounds.south() + bounds.north()) / 2, bounds.west() - 1, }; - } else if (bounds.northeast().longitude < 180) { + } else if (bounds.northeast().longitude() < 180) { outsideLatLng = { (bounds.south() + bounds.north()) / 2, bounds.east() + 1, -- cgit v1.2.1