Upravit

Sdílet prostřednictvím


WKInterfaceMap.SetRegion(MKCoordinateRegion) Method

Definition

Specifies the area displayed by the map.

[Foundation.Export("setRegion:")]
public virtual void SetRegion (MapKit.MKCoordinateRegion coordinateRegion);
abstract member SetRegion : MapKit.MKCoordinateRegion -> unit
override this.SetRegion : MapKit.MKCoordinateRegion -> unit

Parameters

coordinateRegion
MKCoordinateRegion

The area to display.

Attributes

Remarks

If the visible area of the map changes, new tiles may be needed to render. Loading tiles requires the user's connected iPhone to have an active network connection.

Applies to