Initializer

init(_:)

Returns 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.

See Also

Creating a Map Point

init(x: Double, y: Double)

Creates a new MKMapPoint structure from the specified values.