Edit

Share via


MKCoordinateRegion Struct

Definition

Defines a region of the map to display.

public struct MKCoordinateRegion
type MKCoordinateRegion = struct
Inheritance
MKCoordinateRegion

Constructors

MKCoordinateRegion(CLLocationCoordinate2D, MKCoordinateSpan)

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

Fields

Center

The center for the region of the map to display.

Span

Represents the dimensions and zoom level to display.

Methods

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