MKCoordinateRegion MKCoordinateRegion Struct

Definition

Defines a region of the map to display.

public struct MKCoordinateRegion
type MKCoordinateRegion = struct
Inheritance
MKCoordinateRegionMKCoordinateRegion

Constructors

MKCoordinateRegion(CLLocationCoordinate2D, MKCoordinateSpan) MKCoordinateRegion(CLLocationCoordinate2D, MKCoordinateSpan)

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

Fields

Center Center

The center for the region of the map to display.

Span Span

Represents the dimensions and zoom level to display.

Methods

FromDistance(CLLocationCoordinate2D, Double, Double) 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) FromMapRect(MKMapRect)

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

ToString() ToString()

Applies to