fix for #799 - markers destroy no longer nullifies a global variable
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3578 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -55,7 +55,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
*/
|
*/
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
this.clearMarkers();
|
this.clearMarkers();
|
||||||
markers = null;
|
this.markers = null;
|
||||||
OpenLayers.Layer.prototype.destroy.apply(this, arguments);
|
OpenLayers.Layer.prototype.destroy.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user