Constants indicating the position of overlays relative to other content.


enum MKOverlayLevel : Int

See Also

Accessing Overlays

var overlays: [MKOverlay]

The overlay objects currently associated with the map view.

func overlays(in: MKOverlayLevel) -> [MKOverlay]

The overlay objects in the specified level of the map.

func renderer(for: MKOverlay) -> MKOverlayRenderer?

Returns the renderer object used to draw the contents of the specified overlay object.

func view(for: MKOverlay) -> MKOverlayView

Returns the view associated with the overlay object if any.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software