Add ol.renderer.dom.VectorLayer#clearFrame

This commit is contained in:
Frederic Junod
2016-02-24 16:09:44 +01:00
parent bd5c85acc3
commit 348f61951c

View File

@@ -90,6 +90,16 @@ ol.renderer.dom.VectorLayer = function(vectorLayer) {
goog.inherits(ol.renderer.dom.VectorLayer, ol.renderer.dom.Layer);
/**
* @inheritDoc
*/
ol.renderer.dom.VectorLayer.prototype.clearFrame = function() {
this.context_.canvas.width = 0;
this.context_.canvas.height = 0;
this.renderedRevision_ = 0;
};
/**
* @inheritDoc
*/