No composeFrame if prepareFrame returns false

This commit is contained in:
Éric Lemoine
2014-08-22 18:08:26 +02:00
parent 7a2bad543f
commit def1af4492
10 changed files with 22 additions and 15 deletions
+2 -1
View File
@@ -86,7 +86,7 @@ ol.renderer.dom.TileLayer.prototype.prepareFrame =
goog.style.setElementShown(this.target, false);
this.renderedVisible_ = false;
}
return;
return true;
}
var pixelRatio = frameState.pixelRatio;
@@ -263,6 +263,7 @@ ol.renderer.dom.TileLayer.prototype.prepareFrame =
this.scheduleExpireCache(frameState, tileSource);
this.updateLogos(frameState, tileSource);
return true;
};