fix for #787 - put clearArray() in its place ((marked as deprecated, throwing a console warning during use, all usage replaced in code))
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3636 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -385,10 +385,10 @@ OpenLayers.Layer.WFS.prototype =
|
||||
if (this.tile) {
|
||||
if (this.vectorMode) {
|
||||
this.renderer.clear();
|
||||
OpenLayers.Util.clearArray(this.features);
|
||||
this.features.length = 0;
|
||||
} else {
|
||||
this.clearMarkers();
|
||||
OpenLayers.Util.clearArray(this.markers);
|
||||
this.markers.length = 0;
|
||||
}
|
||||
this.tile.draw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user