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