init(latitudeDelta:longitudeDelta:)
Creates a new Mkcoordinatespan from the specified values.
Declaration
init(latitudeDelta: CLLocationDegrees, longitudeDelta: CLLocationDegrees)Parameters
- latitudeDelta:
The amount of north-to-south distance (measured in degrees) to use for the span. Unlike longitudinal distances, which vary based on the latitude, one degree of latitude is approximately 111 kilometers (69 miles) at all times.
- longitudeDelta:
The amount of east-to-west distance (measured in degrees) to use for the span. The number of kilometers spanned by a longitude range varies based on the current latitude. For example, one degree of longitude spans a distance of approximately 111 kilometers (69 miles) at the equator but shrinks to 0 kilometers at the poles.
Return Value
A span with the specified delta values.