summaryrefslogtreecommitdiff
path: root/platform/macos/src/MGLMapViewDelegate.h
diff options
context:
space:
mode:
authorkevin <kevin.li@mapbox.com>2019-01-16 08:29:58 -0800
committerkevin <kevin.li@mapbox.com>2019-01-16 08:29:58 -0800
commitc09831cda04bf97c1c208cacfaaa660c36003cbd (patch)
treee1ff23c5feaea81d0e6ec096b17e5f223204c2d4 /platform/macos/src/MGLMapViewDelegate.h
parent788158cc5608bc428b13ad0ef6215626e1acaffd (diff)
parentb23a6122259cac97f174dddb978437dd3a58a5df (diff)
downloadqtlocation-mapboxgl-upstream/no-v7.tar.gz
Merge branch 'release-horchata' into no-v7upstream/no-v7
Diffstat (limited to 'platform/macos/src/MGLMapViewDelegate.h')
-rw-r--r--platform/macos/src/MGLMapViewDelegate.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/macos/src/MGLMapViewDelegate.h b/platform/macos/src/MGLMapViewDelegate.h
index 2a8b28c1b4..c7d6786666 100644
--- a/platform/macos/src/MGLMapViewDelegate.h
+++ b/platform/macos/src/MGLMapViewDelegate.h
@@ -152,6 +152,19 @@ NS_ASSUME_NONNULL_BEGIN
- (void)mapViewDidFinishRenderingFrame:(MGLMapView *)mapView fullyRendered:(BOOL)fullyRendered;
/**
+ Tells the delegate that the map view is entering an idle state, and no more
+ drawing will be necessary until new data is loaded or there is some interaction
+ with the map.
+
+ - No camera transitions are in progress
+ - All currently requested tiles have loaded
+ - All fade/transition animations have completed
+
+ @param mapView The map view that has just entered the idle state.
+ */
+- (void)mapViewDidBecomeIdle:(MGLMapView *)mapView;
+
+/**
Tells the delegate that the map has just finished loading a style.
This method is called during the initialization of the map view and after any