OpenLayers OpenLayers

Ticket #799: destroyMarkers.patch

File destroyMarkers.patch, 432 bytes (added by euzuro, 1 year ago)

dereference correctly

  • lib/OpenLayers/Layer/Markers.js

    old new  
    5454     */ 
    5555    destroy: function() { 
    5656        this.clearMarkers(); 
    57         markers = null; 
     57        this.markers = null; 
    5858        OpenLayers.Layer.prototype.destroy.apply(this, arguments); 
    5959    }, 
    6060