Revert "Merge pull request #312 from elemoine/redraw"
This reverts commit7f94945244, reversing changes made todfa70fafac. Conflicts: lib/OpenLayers/Layer/Vector.js
This commit is contained in:
@@ -520,20 +520,6 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* APIMethod: redraw
|
||||
* Redraws the layer. Returns true if the layer was redrawn, false if not.
|
||||
*
|
||||
* Returns:
|
||||
* {Boolean} The layer was redrawn.
|
||||
*/
|
||||
redraw: function() {
|
||||
// this is to force Layer.redraw set zoomChanged
|
||||
// to true in the moveTo call
|
||||
this.resolution = null;
|
||||
return OpenLayers.Layer.prototype.redraw.apply(this, arguments);
|
||||
},
|
||||
|
||||
/**
|
||||
* APIMethod: display
|
||||
* Hide or show the Layer
|
||||
|
||||
Reference in New Issue
Block a user