Use ol.source.Tile#getTileGridForProjection

This commit is contained in:
Tom Payne
2014-01-14 17:36:18 +01:00
parent 68b0f42e3c
commit 091888aaca
4 changed files with 4 additions and 13 deletions

View File

@@ -147,7 +147,7 @@ ol.source.TileWMS.prototype.tileUrlFunction_ =
var tileGrid = this.getTileGrid();
if (goog.isNull(tileGrid)) {
tileGrid = ol.tilegrid.getForProjection(projection);
tileGrid = this.getTileGridForProjection(projection);
}
if (tileGrid.getResolutions().length <= tileCoord.z) {