MKMapView tips

Some handy propertys:

Map view’s Display Type:
mapType: whether the map is Standard, Satellite or Hybrid

Showing the user’s current location:

@property BOOL showsUserLocation;
@property (readonly) BOOL isUserLocationVisible;
@property (readonly) MKUserLocation *userLocation;
MKUserLocation is an object which conforms to MKAnnotation which holds the user’s location.

Restricting the user’s interaction with the map
@property BOOL zoomEnabled;
@property BOOL scrollEnabled;

Leave a Reply

Your email address will not be published. Required fields are marked *