diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-12-06 13:31:42 +0200 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2018-12-11 11:46:16 -0800 |
commit | 70c2d5a4cabcd87bc4e6e564fcd6dfa10bd4c521 (patch) | |
tree | 5e514c52d9709d3f89263f53dd005aa7287e9b00 /platform/ios/src/MGLMapViewDelegate.h | |
parent | 13e117b5016769f77dc6b3d3023f6c068e5a92ff (diff) | |
download | qtlocation-mapboxgl-70c2d5a4cabcd87bc4e6e564fcd6dfa10bd4c521.tar.gz |
[core, darwin, android] Add onDidEnterIdle to MapObserver.
didEnterIdle fires whenever render completes and no repaint is scheduled.
Diffstat (limited to 'platform/ios/src/MGLMapViewDelegate.h')
-rw-r--r-- | platform/ios/src/MGLMapViewDelegate.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h index 9175669dc9..8c1d3d98c0 100644 --- a/platform/ios/src/MGLMapViewDelegate.h +++ b/platform/ios/src/MGLMapViewDelegate.h @@ -240,6 +240,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)mapViewDidEnterIdle:(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 |