diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2018-02-14 12:14:34 -0500 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2018-02-14 12:14:34 -0500 |
commit | 7081c9dfdb041c002d8126bf64b5b5c1fd0d456d (patch) | |
tree | ec043df936cb1bf20970d1f8aea1d134989d22e6 /platform/ios/uitest/MapViewTests.m | |
parent | eddcefb3c8e6e2a9d9c191b42f7ea19fc615c107 (diff) | |
parent | b31eae7514a520ff2caddfae74f0d0cb63ba5287 (diff) | |
download | qtlocation-mapboxgl-7081c9dfdb041c002d8126bf64b5b5c1fd0d456d.tar.gz |
Merge branch 'fabian-merge-3.7.4-master'
Diffstat (limited to 'platform/ios/uitest/MapViewTests.m')
-rw-r--r-- | platform/ios/uitest/MapViewTests.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/ios/uitest/MapViewTests.m b/platform/ios/uitest/MapViewTests.m index 4ed3d89399..ba15af918a 100644 --- a/platform/ios/uitest/MapViewTests.m +++ b/platform/ios/uitest/MapViewTests.m @@ -538,10 +538,13 @@ userInfo:@{ @"animated" : @(animated) }]; } -- (void)mapView:(MGLMapView *)mapView regionDidChangeAnimated:(BOOL)animated { +- (void)mapView:(MGLMapView *)mapView regionDidChangeWithReason:(MGLCameraChangeReason)reason animated:(BOOL)animated { + [[NSNotificationCenter defaultCenter] postNotificationName:@"regionDidChangeAnimated" object:mapView - userInfo:@{ @"animated" : @(animated) }]; + userInfo:@{ @"animated" : @(animated), + @"reason" : @(reason) + }]; } - (void)testDelegatesStartStopLocatingUser { |