AWFMKTileProvider

Objective-C

@protocol AWFMKTileProvider <NSObject>

Swift

protocol AWFMKTileProvider : NSObjectProtocol

The AWFMKTileProvider protocol defines the properties required by overlay sources rendered on an MKMapView instance.

  • The MKTileOverlay instance managed by the layer.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) id<MKOverlay> _Nonnull overlay;

    Swift

    var overlay: MKOverlay { get }
  • The position of the overlay relative to other content on the map.

    Declaration

    Objective-C

    @property (nonatomic) MKOverlayLevel overlayLevel;

    Swift

    var overlayLevel: MKOverlayLevel { get set }
  • The amount of transparency to apply to the overlay.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat alpha;

    Swift

    var alpha: CGFloat { get set }