Interface MKOverlay

    • Method Detail

      • boundingMapRect

        MKMapRect boundingMapRect()
        boundingMapRect should be the smallest rectangle that completely contains the overlay. For overlays that span the 180th meridian, boundingMapRect should have either a negative MinX or a MaxX that is greater than MKMapSizeWorld.width.
      • canReplaceMapContent

        default boolean canReplaceMapContent()
        If this method is implemented and returns YES, MKMapView may use it as a hint to skip loading or drawing the built in map content in the area covered by this overlay.
      • intersectsMapRect

        default boolean intersectsMapRect​(MKMapRect mapRect)
        Implement intersectsMapRect to provide more precise control over when the view for the overlay should be shown. If omitted, MKMapRectIntersectsRect([overlay boundingRect], mapRect) will be used instead.