[OpenLayers-Trac] [OpenLayers] #1123: OpenLayers.Layer.Markers.destroy() should destroy its markers

OpenLayers trac at openlayers.org
Sat Nov 3 09:53:03 EDT 2007


#1123: OpenLayers.Layer.Markers.destroy() should destroy its markers
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:        
     Type:  bug       |      Status:  new   
 Priority:  minor     |   Milestone:  Future
Component:  general   |     Version:  2.5   
 Keywords:  review    |  
----------------------+-----------------------------------------------------
 Currently, OpenLayers.Layer.Markers.destroy() calls clearMarkers().  This
 is ok, because it removes the markers from the screen.  But the markers
 are not being destroyed, probably producing memory leaks.  I created a
 patch that modifies the method to destroy the markers after clearing them.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1123>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list