MKMapView

class MKMapView : UIView, NSCoding

Extension that provides MKMapView support to use MapCache

See also

Readme documentation
  • Will tell the map to use the cache passed as parameter.

    Declaration

    Swift

    public func useCache(_ cache: MapCache) -> CachedTileOverlay
  • Call this method within the MKMapView delegate function mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer

    See also

    Example project and Readme documentation

    Declaration

    Swift

    public func mapCacheRenderer(forOverlay overlay: MKOverlay) -> MKOverlayRenderer
  • Returns current zoom level

    Declaration

    Swift

    public var zoomLevel: Int { get }