Minor code style, documentation and typo fixes

This commit is contained in:
Petr Sloup
2015-09-09 13:37:45 +02:00
parent 5388f96551
commit 94caa07168
5 changed files with 32 additions and 18 deletions

View File

@@ -307,7 +307,9 @@ ol.source.TileImage.prototype.handleTileChange_ = function(event) {
* @api
*/
ol.source.TileImage.prototype.setRenderReprojectionEdges = function(render) {
if (this.renderReprojectionEdges_ == render) return;
if (this.renderReprojectionEdges_ == render) {
return;
}
this.renderReprojectionEdges_ = render;
goog.object.forEach(this.tileCacheForProjection, function(tileCache) {
tileCache.clear();