Instance Property

overlays

An array of all of the map's overlays.

Declaration

attribute mapkit.Overlay[] overlays;

Discussion

This attribute can be set to a new (possibly empty) array of overlays to update or delete all the overlays on the map.

See Also

Adding and Removing Overlays

selectedOverlay

The overlay on the map that is selected.

overlaysAtPoint

Returns an array of overlays at a given point on the webpage.

addOverlay

Adds an overlay to the map.

addOverlays

Adds multiple overlays to the map.

removeOverlay

Removes an overlay from the map.

removeOverlays

Removes multiple overlays from the map.

topOverlayAtPoint

Returns the topmost overlay at a given point on the webpage.