init(_:)
Creates the map point data structure that corresponds to the specified coordinate.
Declaration
init(_ coordinate: CLLocationCoordinate2D)Parameters
- coordinate:
The coordinate containing the latitude and longitude values for the desired point.
Return Value
The map point value that corresponds to the specified coordinate on a two-dimensional map projection.