Instance Property


The overlay objects currently associated with the map view.


var overlays: [MKOverlay] { get }


This property contains the union of all overlays at the different levels of the map. The objects in this array must adopt the MKOverlay protocol. If no overlays are associated with the map view, the value of this property is an empty array.

The order of the objects in this array does not necessary reflect their visual order on the map.

See Also

Accessing Overlays

func overlays(in: MKOverlayLevel)

The overlay objects in the specified level of the map.

func renderer(for: MKOverlay)

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