Instance Method

addOverlays

Adds multiple overlays to the map.

Declaration

mapkit.Overlay[] addOverlays(mapkit.Overlay[] overlays);

Parameters

overlays

An array of overlays to add.

Return Value

Returns the array of overlays.

Discussion

The overlays are added to the end of the map's overlays array.

See Also

Adding and Removing Overlays

overlays

An array of all of the map's 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.

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.