summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-09 10:33:08 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-12 01:38:04 -0700
commit54a703bcb21e567559caf691759bb207c611d776 (patch)
treef63e10e8b8d6c7c5bfd2dbfb7b66046630d75202 /include/mbgl
parent58d695f6d31769437007e918fceb41a49b377001 (diff)
downloadqtlocation-mapboxgl-54a703bcb21e567559caf691759bb207c611d776.tar.gz
Consolidated logic for pausing/resuming MGLMapboxEvents
`MGLMapboxEvents` automatically recreates its location manager when the host app is reauthorized for Location Services. Added some redundancy to ensure that there is no location manager when either Location Services or Mapbox Metrics is off.
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/ios/MGLMapboxEvents.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLMapboxEvents.h b/include/mbgl/ios/MGLMapboxEvents.h
index abbd3b4b44..5c5d8a924c 100644
--- a/include/mbgl/ios/MGLMapboxEvents.h
+++ b/include/mbgl/ios/MGLMapboxEvents.h
@@ -54,4 +54,7 @@ extern NSString *const MGLEventGestureRotateStart;
//
+ (void) flush;
+// Main thread only
++ (void)validate;
+
@end