One Logo Pool Ball
MapKit · IOS API REFERENCE

MKOverlayRenderer

class · iOS 7.0+ · SDK 27.1

class MKOverlayRenderer

Members (16)

method · iOS 7.0+

canDraw

TypeScript
canDraw(mapRect: MKMapRect, zoomScale: number): boolean
Swift declaration
func canDraw(_ mapRect: MKMapRect, zoomScale: MKZoomScale) -> Bool
method · iOS 7.0+

draw

TypeScript
draw(mapRect: MKMapRect, zoomScale: number, context: _CoreGraphics_CGContext): void
Swift declaration
func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext)
init · iOS 7.0+

init

TypeScript
static init(overlay: SDKHandle): MKOverlayRenderer
Swift declaration
init(overlay: any MKOverlay)
method · iOS 7.0+

mapPoint

TypeScript
mapPoint(point: { x: number; y: number }): MKMapPoint
Swift declaration
func mapPoint(for point: CGPoint) -> MKMapPoint
method · iOS 7.0+

mapRect

TypeScript
mapRect(rect: { x: number; y: number; width: number; height: number }): MKMapRect
Swift declaration
func mapRect(for rect: CGRect) -> MKMapRect
method · iOS 7.0+

point

TypeScript
point(mapPoint: MKMapPoint): { x: number; y: number }
Swift declaration
func point(for mapPoint: MKMapPoint) -> CGPoint
method · iOS 7.0+

rect

TypeScript
rect(mapRect: MKMapRect): { x: number; y: number; width: number; height: number }
Swift declaration
func rect(for mapRect: MKMapRect) -> CGRect
method · iOS 7.0+

setNeedsDisplay

TypeScript
setNeedsDisplay(): void
Swift declaration
func setNeedsDisplay()
method · iOS 7.0+

setNeedsDisplay

TypeScript
setNeedsDisplay78809(mapRect: MKMapRect): void
Swift declaration
func setNeedsDisplay(_ mapRect: MKMapRect)
method · iOS 7.0+

setNeedsDisplay

TypeScript
setNeedsDisplayZoomScale(mapRect: MKMapRect, zoomScale: number): void
Swift declaration
func setNeedsDisplay(_ mapRect: MKMapRect, zoomScale: MKZoomScale)
get · iOS 7.0+

alpha

TypeScript
get alpha(): number
Swift declaration
var alpha: CGFloat { get set }
set · iOS 7.0+

alpha

TypeScript
set alpha(value: number)
Swift declaration
var alpha: CGFloat { get set }
get · iOS 16.0+

blendMode

TypeScript
get blendMode(): _CoreGraphics_CGBlendMode
Swift declaration
var blendMode: CGBlendMode { get set }
set · iOS 16.0+

blendMode

TypeScript
set blendMode(value: _CoreGraphics_CGBlendMode)
Swift declaration
var blendMode: CGBlendMode { get set }
get · iOS 7.0+

contentScaleFactor

TypeScript
get contentScaleFactor(): number
Swift declaration
var contentScaleFactor: CGFloat { get }
get · iOS 7.0+

overlay

TypeScript
get overlay(): SDKHandle
Swift declaration
var overlay: any MKOverlay { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MKOverlayRenderer.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MapKit types →