Merge pull request #2602 from elemoine/layer-extent

Fix Uncaught RangeError in canvas tile renderer
This commit is contained in:
Éric Lemoine
2014-08-25 09:13:01 +02:00
10 changed files with 26 additions and 15 deletions

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;
};