init(center:latitudinalMeters:longitudinalMeters:)
Creates a new coordinate region from the specified coordinate and distance values.
Declaration
init(center centerCoordinate: CLLocationCoordinate2D, latitudinalMeters: CLLocationDistance, longitudinalMeters: CLLocationDistance)Parameters
- centerCoordinate:
The center point of the new coordinate region.
- latitudinalMeters:
The north-to-south span of the region (measured in meters) specified as the distance from the center point to the bounds along the north-to-south axis.
- longitudinalMeters:
The east-to-west span of the region (measured in meters) specified as the distance from the center point to the bounds along the east-to-west axis.
Return Value
A region with the specified values.