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 the CGContext.

    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 current CGContext and converts it to a CLLocationCoordinate.

    Declaration

    Swift

    public private(set) var coordinateForPoint: ((CGPoint) -> CLLocationCoordinate2D) { get }