SnapshotOverlay
public struct SnapshotOverlay
The overlay handler object provided when calling start(overlayHandler:completion:)
.
-
The current
CGContext
being used to create the snapshot image.Declaration
Swift
public private(set) var context: CGContext { get }
-
The scale of the snapshot image.
Declaration
Swift
public private(set) var scale: CGFloat { get }
-
A closure which takes a map coordinate and converts it to a
CGPoint
relative to the coordinate system being used by theCGContext
.Declaration
Swift
public private(set) var pointForCoordinate: ((CLLocationCoordinate2D) -> CGPoint) { get }
-
A closure which takes a
CGPoint
relative to the coordinate system being used by the currentCGContext
and converts it to aCLLocationCoordinate
.Declaration
Swift
public private(set) var coordinateForPoint: ((CGPoint) -> CLLocationCoordinate2D) { get }