summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.h
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-10-09 15:59:07 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-10-09 17:12:27 -0700
commit98a47884f06a8f165a2c15a54f82b356c8ef23d8 (patch)
tree27b1ea8c7887eca40c65956dc2f74f5a75b0cc30 /platform/ios/src/MGLMapView.h
parent9e79659007131450cde7e6e1a361f8ba3321fe98 (diff)
downloadqtlocation-mapboxgl-98a47884f06a8f165a2c15a54f82b356c8ef23d8.tar.gz
[ios, macos] Use CLLocationDirection for direction parameter in -[MGLMapView cameraThatFitsShape:shape direction: edgePadding:]
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r--platform/ios/src/MGLMapView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index 843fb3d280..e2c070a54f 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -901,7 +901,7 @@ MGL_EXPORT IB_DESIGNABLE
(close to the ground) as possible while still including the entire shape. The
camera object uses the current pitch.
*/
-- (MGLMapCamera *)cameraThatFitsShape:(MGLShape *)shape direction:(double)direction edgePadding:(UIEdgeInsets)insets;
+- (MGLMapCamera *)cameraThatFitsShape:(MGLShape *)shape direction:(CLLocationDirection)direction edgePadding:(UIEdgeInsets)insets;
/**
Returns the point in this view’s coordinate system on which to "anchor" in