On Fri, Sep 21, 2007 at 11:37:30AM +0200, Fr??d??ric Junod wrote:
> 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() ?

Yep. removeControl is newer than removeLayer, and never got added.

> New ticket ?

New ticket, 2.6 because I'm concerned about the side effects of making
this the default behavior.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to