From c1f425731cce475df42ab1050aec804efd1ffaec Mon Sep 17 00:00:00 2001 From: Maciej Swic Date: Mon, 21 Sep 2015 10:53:51 +0200 Subject: [PATCH] Fixed incorrect notification --- platform/ios/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 705627663..0febabc04 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -884,7 +884,7 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) self.centerPoint = CGPointMake(self.centerPoint.x + delta.x, self.centerPoint.y + delta.y); - [self notifyMapChange:mbgl::MapChangeRegionDidChangeAnimated]; + [self notifyMapChange:mbgl::MapChangeRegionIsChanging]; } else if (pan.state == UIGestureRecognizerStateEnded || pan.state == UIGestureRecognizerStateCancelled) {