My map shows the current location with a blue dot. Of course, when I move, the blue dot moves. I just want to keep the blue center of the map point all the time, making the map move like a Google map navigator.
I searched a lot, but could not find a way ...
In your case, the delegate on the map do the following:
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation { [mapView setCenterCoordinate:userLocation.location.coordinate animated:YES]; }
Try using it mapView.userTrackingMode = MKUserTrackingModeFollow;, you will get a smoother pan than manually.
mapView.userTrackingMode = MKUserTrackingModeFollow;
, , : MKUserTrackingBarButtonItem.
MKUserTrackingBarButtonItem
The easiest way is to create a new UIView on top of your map view with a blue dot and only move the map view.