VMF_MapMarker
@MainActor
class VMF_MapMarker : MKAnnotationView
This handles our map marker.
-
Marker maximum dimension, in Display Units
Declaration
Swift
@MainActor static let sMarkerSizeInDisplayUnits: CGFloat -
The reuse ID for this view class.
Declaration
Swift
@MainActor static let reuseID: String -
We override, so we can set the image.
Declaration
Swift
@MainActor override init(annotation inAnnotation: MKAnnotation?, reuseIdentifier inReuseID: String?)Parameters
annotationThe annotation instance.
reuseIdentifierThe reuse ID.
-
Required NSCoding conformance
Declaration
Swift
@MainActor required init?(coder inDecoder: NSCoder)Parameters
inDecoderThe decoder instance.
-
The marker coordinate is the annotation coordinate
Declaration
Swift
@MainActor var coordinate: CLLocationCoordinate2D { get }
View on GitHub