SnapshotOverlay
public struct SnapshotOverlay
The overlay handler object provided when calling start(overlayHandler:completion:).
-
The current
CGContextbeing 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
CGPointrelative to the coordinate system being used by theCGContext.Declaration
Swift
public private(set) var pointForCoordinate: ((CLLocationCoordinate2D) -> CGPoint) { get } -
A closure which takes a
CGPointrelative to the coordinate system being used by the currentCGContextand converts it to aCLLocationCoordinate.Declaration
Swift
public private(set) var coordinateForPoint: ((CGPoint) -> CLLocationCoordinate2D) { get }
SnapshotOverlay Structure Reference