MappableOverlay

final class MappableOverlay : MKPolygon

Draw a MTP location’s region

  • Renderer provider for MKMapViewDelegate

    Declaration

    Swift

    var renderer: MKOverlayRenderer { get }
  • Whether this overlay matches a place

    Declaration

    Swift

    func shows(mappable: Mappable) -> Bool

    Parameters

    mappable

    Place

    Return Value

    Identity

  • Factory method - as of iOS 12 SDK MKPolygon has no designated initializers

    Declaration

    Swift

    static func create(mappable: Mappable,
                       coordinates: [CLLocationCoordinate2D]) -> MappableOverlay

    Parameters

    mappable

    Place

    coordinates

    Place coordinate list

    Return Value

    MappableOverlay