Sdílet prostřednictvím


MKCoordinateRegion Struct

Definition

Defines a region of the map to display.

public struct MKCoordinateRegion
type MKCoordinateRegion = struct
Inheritance
MKCoordinateRegion

Constructors

Name Description
MKCoordinateRegion(CLLocationCoordinate2D, MKCoordinateSpan)

Creates a new object representing a region of the map to display.

Fields

Name Description
Center

The center for the region of the map to display.

Span

Represents the dimensions and zoom level to display.

Methods

Name Description
FromDistance(CLLocationCoordinate2D, Double, Double)

Creates a new object representing a region of the map to display using a center and a distance (represented in meters).

FromMapRect(MKMapRect)

Returns a MKCoordinateRegion for the specified 2D-map rectangle.

ToString()

Applies to