Edytuj

Udostępnij za pośrednictwem


MKCoordinateRegion.FromDistance Method

Definition

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

public static MapKit.MKCoordinateRegion FromDistance (CoreLocation.CLLocationCoordinate2D center, double latitudinalMeters, double longitudinalMeters);
static member FromDistance : CoreLocation.CLLocationCoordinate2D * double * double -> MapKit.MKCoordinateRegion

Parameters

center
CLLocationCoordinate2D

The center of the region

latitudinalMeters
Double

The latitude expressed in meters (north to south).

longitudinalMeters
Double

The longitudinal expressed in meters (east to west).

Returns

Applies to