MTAnnotation
public protocol MTAnnotation : Sendable
Protocol requirements for all annotation objects.
-
Unique id.
Declaration
Swift
var identifier: String { get } -
Geographical coordinates.
Declaration
Swift
var coordinates: CLLocationCoordinate2D { get } -
setCoordinates(_:Asynchronousin: ) Sets the coordinates.
Declaration
Swift
func setCoordinates(_ coordinates: CLLocationCoordinate2D, in mapView: MTMapView) asyncParameters
coordinatesCoordinates to set.
mapViewMap view to apply to.