Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
#877 - Adding mapViewRegionIsChanging delegate method to MGLMapViewDe…
Browse files Browse the repository at this point in the history
…legate
  • Loading branch information
bleege committed Feb 18, 2015
1 parent bbacfb2 commit 37fbc44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/mbgl/ios/MGLMapView.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@
// TODO
- (void)mapView:(MGLMapView *)mapView regionWillChangeAnimated:(BOOL)animated;

// TODO
- (void)mapViewRegionIsChanging:(MGLMapView *)mapView;

// TODO
- (void)mapView:(MGLMapView *)mapView regionDidChangeAnimated:(BOOL)animated;

Expand Down
5 changes: 5 additions & 0 deletions ios/app/MBXViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ - (void)mapView:(MGLMapView *)mapView regionWillChangeAnimated:(BOOL)animated
NSLog(@"regionWillChangeAnimated with mapView = %@, and animated = %d", mapView, animated);
}

- (void)mapViewRegionIsChanging:(MGLMapView *)mapView
{
NSLog(@"mapViewRegionIsChanging with mapView = %@", mapView);
}

- (void)mapView:(MGLMapView *)mapView regionDidChangeAnimated:(BOOL)animated
{
NSLog(@"regionDidChangeAnimated with mapView = %@, and animated = %d", mapView, animated);
Expand Down

0 comments on commit 37fbc44

Please sign in to comment.