MKMapView.SetVisibleMapRect Method

Definition

Overloads

SetVisibleMapRect(MKMapRect, Boolean)

Sets the visible area of the map.

SetVisibleMapRect(MKMapRect, NSEdgeInsets, Boolean)
SetVisibleMapRect(MKMapRect, UIEdgeInsets, Boolean)

Sets the visible area of the map, including additional space for padding.

SetVisibleMapRect(MKMapRect, Boolean)

Sets the visible area of the map.

[Foundation.Export("setVisibleMapRect:animated:")]
public virtual void SetVisibleMapRect (MapKit.MKMapRect mapRect, bool animate);
abstract member SetVisibleMapRect : MapKit.MKMapRect * bool -> unit
override this.SetVisibleMapRect : MapKit.MKMapRect * bool -> unit

Parameters

mapRect
MKMapRect

The rectangle used to define the visible portion of the map.

animate
Boolean

Controls if the transition to the new map area is animated.

Attributes

Applies to

SetVisibleMapRect(MKMapRect, NSEdgeInsets, Boolean)

[Foundation.Export("setVisibleMapRect:edgePadding:animated:")]
public virtual void SetVisibleMapRect (MapKit.MKMapRect mapRect, AppKit.NSEdgeInsets edgePadding, bool animate);
abstract member SetVisibleMapRect : MapKit.MKMapRect * AppKit.NSEdgeInsets * bool -> unit
override this.SetVisibleMapRect : MapKit.MKMapRect * AppKit.NSEdgeInsets * bool -> unit

Parameters

mapRect
MKMapRect
edgePadding
NSEdgeInsets
animate
Boolean
Attributes

Applies to

SetVisibleMapRect(MKMapRect, UIEdgeInsets, Boolean)

Sets the visible area of the map, including additional space for padding.

[Foundation.Export("setVisibleMapRect:edgePadding:animated:")]
public virtual void SetVisibleMapRect (MapKit.MKMapRect mapRect, UIKit.UIEdgeInsets edgePadding, bool animate);
abstract member SetVisibleMapRect : MapKit.MKMapRect * UIKit.UIEdgeInsets * bool -> unit
override this.SetVisibleMapRect : MapKit.MKMapRect * UIKit.UIEdgeInsets * bool -> unit

Parameters

mapRect
MKMapRect

The rectangle used to define the visible portion of the map.

edgePadding
UIEdgeInsets

The inset padding to include when fitting the map rectangle.

animate
Boolean

Controls if the transition to the new rectangle is animated.

Attributes

Applies to