Add skeleton for webgl immediate renderer

This commit is contained in:
Antoine Abt
2014-01-02 14:41:21 +01:00
parent 2342f83a48
commit 1142d55565
3 changed files with 115 additions and 3 deletions
+1 -1
View File
@@ -91,7 +91,6 @@ ol.render.Box.prototype.disposeInternal = function() {
* @private
*/
ol.render.Box.prototype.handleMapPostCompose_ = function(event) {
this.geometry_ = this.createGeometry_();
var style = this.style_;
goog.asserts.assert(!goog.isNull(style));
var render = event.getRender();
@@ -148,5 +147,6 @@ ol.render.Box.prototype.setCoordinates =
function(startCoordinate, endCoordinate) {
this.startCoordinate_ = startCoordinate;
this.endCoordinate_ = endCoordinate;
this.geometry_ = this.createGeometry_();
this.requestMapRenderFrame_();
};