MKCoordinateRegion Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |