- mapView
- The MapKit.MKMapView being rendered.
- overlay
- The overlay requiring a renderer.
Documentation for this section has not yet been entered.
iOS distinguishes between the MapKit.MKOverlay, which represents the geometry of an overlay, and it's visual presentation. Prior to iOS 7, overlays were rendered using MapKit.MKOverlayViews. In iOS 7, these classes have been deprecated, and overlays now use the more efficient subclasses of MapKit.MKOverlayRenderer.
To create an overlay and its renderer, application developers must add the overlay to the MapKit.MKMapView and return the renderer either using the MKMapView.OverlayRenderer property or by overriding the MKMapViewDelegate.OverlayRenderer method.
This method dynamically calculates the renderer, allowing the application developer to reuse renderers with identical properties or to change properties dynamically.