MapKit.MKMapView Members

The members of MapKit.MKMapView are listed below.

See Also: Inherited members from UIKit.UIView

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Initializes the MKMapView with the specified frame.
A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
AnnotationsIMKAnnotation[]. Returns all the annotations associated with a map.
[read-only]
AnnotationVisibleRectCoreGraphics.CGRect. Returns the rectangle where annotations are displayed.
[read-only]
static
AppearanceMKMapView.MKMapViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
CameraMKMapCamera. Defines the perspective of the map.
CenterCoordinateCoreLocation.CLLocationCoordinate2D. The center of the map.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateIMKMapViewDelegate. An instance of the MapKit.MKMapViewDelegate model class which acts as the class delegate.
GetViewForAnnotationMKMapViewAnnotation. Delegate invoked by the object to get a value.
GetViewForOverlayMKMapViewOverlay. Delegate invoked by the object to get a value.
MapTypeMKMapType. The type of map to display
OverlayRendererMKRendererForOverlayDelegate. Delegate invoked by the object to get a value.
[read-only]
OverlaysIMKOverlay[]. Returns the overlays for the map.
PitchEnabledbool. Whether the view uses the angle defined by the MKMapView.Camera.
RegionMKCoordinateRegion. The region displayed by the map view.
RotateEnabledbool. Whether the view uses the heading defined by the MKMapView.Camera.
ScrollEnabledbool. Control if the map can be scrolled with a pan gesture.
SelectedAnnotationsIMKAnnotation[]. An array containing the curently selected annotations.
ShowsBuildingsbool. Whether 3D geometry (if available) is rendered.
ShowsPointsOfInterestbool. Whether the map should display features that are marked as points of interest.
ShowsUserLocationbool. Shows the user's location.
[read-only]
UserLocationMKUserLocation. Returns the user's location.
[read-only]
UserLocationVisiblebool. Returns if the user's location is currently visible on the map.
UserTrackingModeMKUserTrackingMode. Specifies if and how the map should track the application user's position.
VisibleMapRectMKMapRect. The map rectangle that is currently visible.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type
ZoomEnabledbool. Controls if the user can zoom in and out of the map using a pinch gesture.

Public Methods

AddAnnotation(IMKAnnotation)
Documentation for this section has not yet been entered.
AddAnnotations(params IMKAnnotation[])
Documentation for this section has not yet been entered.
AddOverlay(IMKOverlay)
Documentation for this section has not yet been entered.
AddOverlay(IMKOverlay, MKOverlayLevel)
Adds an overlay to the map.
AddOverlays(IMKOverlay[])
Documentation for this section has not yet been entered.
AddOverlays(IMKOverlay[], MKOverlayLevel)
Adds multiple overlays to the map.
static
AppearanceWhenContainedIn(params Type[]) : MKMapView.MKMapViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
ConvertCoordinate(CoreLocation.CLLocationCoordinate2D, UIKit.UIView) : CoreGraphics.CGPoint
Converts a map coordinate to a point.
ConvertPoint(UIKit.UIView, CoreGraphics.CGPoint) : CoreLocation.CLLocationCoordinate2D
Converts a point to a map coordinate.
ConvertRect(UIKit.UIView, CoreGraphics.CGRect) : MKCoordinateRegion
Converts a rectangle to a map region
ConvertRegion(MKCoordinateRegion, UIKit.UIView) : CoreGraphics.CGRect
Converts a map region to a rectangle.
DequeueReusableAnnotation(string) : MKAnnotationView
Returns a reusable annnotation view.
DeselectAnnotation(IMKAnnotation, bool)
Documentation for this section has not yet been entered.
ExchangeOverlay(IMKOverlay, IMKOverlay)
Swaps the index position of two overlays, changing their z-order.
ExchangeOverlays(nint, nint)
Swaps the index positions of two overlays.
GetAnnotations(MKMapRect) : Foundation.NSSet
Returns the annotations located in a specified map rectangle.
static
GetAppearance<T>() : MKMapView.MKMapViewAppearance
Returns a MapKit.MKMapViewAppearance for the specified type T.
static
GetAppearance<T>(UIKit.UITraitCollection) : MKMapView.MKMapViewAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UIKit.UITraitCollection, params Type[]) : MKMapView.MKMapViewAppearance
Documentation for this section has not yet been entered.
InsertOverlay(IMKOverlay, nint)
Documentation for this section has not yet been entered.
InsertOverlay(IMKOverlay, MKOverlayLevel, nuint)
Adds an overlay at a specific z-index relative to other overlays.
InsertOverlayAbove(IMKOverlay, IMKOverlay)
Documentation for this section has not yet been entered.
InsertOverlayBelow(IMKOverlay, IMKOverlay)
Documentation for this section has not yet been entered.
MapRectThatFits(MKMapRect) : MKMapRect
Adjusts the width and height of a map rectangle so it fist in the map view's frame.
MapRectThatFits(MKMapRect, UIKit.UIEdgeInsets) : MKMapRect
Adjusts the width and height of a map rectangle so it fits in the map view's frame, including accounting for padding between the frame and the map rectangle.
OverlaysInLevel(MKOverlayLevel) : IMKOverlay[]
The overlays in the specified level.
RegionThatFits(MKCoordinateRegion) : MKCoordinateRegion
Adjusts the size of the region to fit within the map view's frame
RemoveAnnotation(IMKAnnotation)
Documentation for this section has not yet been entered.
RemoveAnnotations(params IMKAnnotation[])
Documentation for this section has not yet been entered.
RemoveOverlay(IMKOverlay)
Documentation for this section has not yet been entered.
RemoveOverlays(params IMKOverlay[])
Documentation for this section has not yet been entered.
RendererForOverlay(IMKOverlay) : MKOverlayRenderer
The MapKit.MKOverlayRenderer associated with the specified overlay.
SelectAnnotation(IMKAnnotation, bool)
Documentation for this section has not yet been entered.
SetCamera(MKMapCamera, bool)
Sets the MKMapView.Camera property, optionally animating.
SetCenterCoordinate(CoreLocation.CLLocationCoordinate2D, bool)
Sets the map center. This method is asynchronous.
SetRegion(MKCoordinateRegion, bool)
Changes the region dispalyed on the map.
SetUserTrackingMode(MKUserTrackingMode, bool)
Sets the user tracking mode to a value in MapKit.MKUserTrackingMode.
SetVisibleMapRect(MKMapRect, bool)
Sets the visible area of the map.
SetVisibleMapRect(MKMapRect, UIKit.UIEdgeInsets, bool)
Sets the visible area of the map, including additional space for padding.
ShowAnnotations(IMKAnnotation[], bool)
Sets the visible region of the map such that the specified annotations can all be seen.
ViewForAnnotation(IMKAnnotation) : MKAnnotationView
Documentation for this section has not yet been entered.
ViewForOverlay(IMKOverlay) : MKOverlayView
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose(bool)
Releases the resources used by the MKMapView object.

Public Events

CalloutAccessoryControlTappedEvent raised by the object.
ChangedDragStateEvent raised by the object.
DidAddAnnotationViewsEvent raised by the object.
DidAddOverlayRenderersEvent raised by the object.
DidAddOverlayViewsEvent raised by the object.
DidChangeUserTrackingModeDocumentation for this section has not yet been entered.
DidDeselectAnnotationViewEvent raised by the object.
DidFailToLocateUserEvent raised by the object.
DidFinishRenderingMapEvent raised by the object.
DidSelectAnnotationViewEvent raised by the object.
DidStopLocatingUserEvent raised by the object.
DidUpdateUserLocationEvent raised by the object.
LoadingMapFailedEvent raised by the object.
MapLoadedEvent raised by the object.
RegionChangedEvent raised by the object.
RegionWillChangeEvent raised by the object.
WillStartLoadingMapEvent raised by the object.
WillStartLocatingUserEvent raised by the object.
WillStartRenderingMapEvent raised by the object.