Instance Property


The overlay objects currently associated with the map view.


@property(nonatomic, readonly) NSArray<id<MKOverlay>> *overlays;


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

- overlaysInLevel:

The overlay objects in the specified level of the map.

- rendererForOverlay:

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

- viewForOverlay:

Returns the view associated with the overlay object if any.


Constants indicating the position of overlays relative to other content.