mapstraction/mxn — Issue #86: removeOverlay()
Author: brunob
Created: 2011-10-26 22:52:02+00:00
State: open

We can add overlays to the map but it's not possible to remove them. I'm asking myself if we could try implement removeOverlay() function.

Maybe every implementation of addOverlay() should keep urls of overlays added to the map in an array (map.overlays). After that, each provider code could provide a removeOverlay() function and retrieve the right overlay to remove by its url.

What does other people think about this ?

++