diff options
Diffstat (limited to 'platform/macos/src')
-rw-r--r-- | platform/macos/src/MGLMapView.mm | 10 | ||||
-rw-r--r-- | platform/macos/src/MGLMapViewDelegate.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm index eb877216d2..1ba2483d52 100644 --- a/platform/macos/src/MGLMapView.mm +++ b/platform/macos/src/MGLMapView.mm @@ -934,13 +934,13 @@ public: } } -- (void)mapViewDidEnterIdle { +- (void)mapViewDidBecomeIdle { if (!_mbglMap) { return; } - if ([self.delegate respondsToSelector:@selector(mapViewDidEnterIdle)]) { - [self.delegate mapViewDidEnterIdle:self]; + if ([self.delegate respondsToSelector:@selector(mapViewDidBecomeIdle)]) { + [self.delegate mapViewDidBecomeIdle:self]; } } @@ -3061,8 +3061,8 @@ public: [nativeView mapViewDidFinishRenderingMapFullyRendered:fullyRendered]; } - void onDidEnterIdle() override { - [nativeView mapViewDidEnterIdle]; + void onDidBecomeIdle() override { + [nativeView mapViewDidBecomeIdle]; } void onDidFinishLoadingStyle() override { diff --git a/platform/macos/src/MGLMapViewDelegate.h b/platform/macos/src/MGLMapViewDelegate.h index ad59f5bd39..c7d6786666 100644 --- a/platform/macos/src/MGLMapViewDelegate.h +++ b/platform/macos/src/MGLMapViewDelegate.h @@ -162,7 +162,7 @@ NS_ASSUME_NONNULL_BEGIN @param mapView The map view that has just entered the idle state. */ -- (void)mapViewDidEnterIdle:(MGLMapView *)mapView; +- (void)mapViewDidBecomeIdle:(MGLMapView *)mapView; /** Tells the delegate that the map has just finished loading a style. |