user3271123
user3271123

Reputation: 37

Map zooms to the current location

After calling the 'startUpdatingLocation' from CLLocation Manager, the map automatically zooms to the current location and animates to that point.

However, I don't want the Map to zoom but remain in the original size. How can I stop this? Please Help.

Upvotes: 0

Views: 56

Answers (1)

nerowolfe
nerowolfe

Reputation: 4817

For example:

 mapView.userTrackingMode = MKUserTrackingModeNone;

And also

Do not set region [mapView setRegion:region animated:NO]; in
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)aUserLocation

Upvotes: 1

Related Questions