Instance Method

removeOverlay

Removes an overlay from the map.

Declaration

mapkit.Overlay removeOverlay(mapkit.Overlay overlay);

Parameters

overlay

The overlay to remove.

Return Value

Returns the overlay.

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.

addOverlays

Adds multiple overlays to the map.

removeOverlays

Removes multiple overlays from the map.

topOverlayAtPoint

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