[OpenLayers-Trac] [OpenLayers] #1009: control.destroy() should remove itself from the map

OpenLayers trac at openlayers.org
Sun Sep 30 12:25:46 EDT 2007


#1009: control.destroy() should remove itself from the map
----------------------+-----------------------------------------------------
  Reporter:  fredj    |       Owner:             
      Type:  bug      |      Status:  closed     
  Priority:  minor    |   Milestone:  2.6 Release
 Component:  Control  |     Version:  SVN        
Resolution:  fixed    |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by crschmidt):

  * keywords:  review =>
  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [4676]) From fredj: "layer.destroy() calls removeLayer() so
 control.destroy()
 should do the same by calling removeControl()". (Closes #1009)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1009#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list