[OpenLayers-Dev] Should control.destroy() call removeControl ?

Frédéric Junod frederic.junod at camptocamp.com
Fri Sep 21 05:37:30 EDT 2007


Hi list,

In OpenLayers.Layer the destroy function call removeLayer() to remove itself
from the map.

Shouldn't OpenLayers.Control.destroy() do the same and call removeControl() ?

New ticket ?


fredj

-- 
Frédéric Junod
Camptocamp SA



More information about the Dev mailing list