MGLMapSnapshotOverlay


@interface MGLMapSnapshotOverlay : NSObject

An overlay that is placed within a MGLMapSnapshot. To access this object, use -[MGLMapSnapshotter startWithOverlayHandler:completionHandler:].

  • The current CGContext that snapshot is drawing within. You may use this context to perform additional custom drawing.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGContextRef _Nonnull context;

    Swift

    var context: CGContext { get }