Handle null tile coordinates correctly
This commit is contained in:
@@ -120,7 +120,7 @@ ol.source.VectorTile.prototype.getTile = function(z, x, y, pixelRatio, projectio
|
|||||||
tileCoord, projection);
|
tileCoord, projection);
|
||||||
var tile = new ol.VectorImageTile(
|
var tile = new ol.VectorImageTile(
|
||||||
tileCoord,
|
tileCoord,
|
||||||
urlTileCoord !== undefined ? ol.TileState.IDLE : ol.TileState.EMPTY,
|
urlTileCoord !== null ? ol.TileState.IDLE : ol.TileState.EMPTY,
|
||||||
this.getRevision(),
|
this.getRevision(),
|
||||||
this.format_, this.tileLoadFunction, urlTileCoord, this.tileUrlFunction,
|
this.format_, this.tileLoadFunction, urlTileCoord, this.tileUrlFunction,
|
||||||
this.tileGrid, this.getTileGridForProjection(projection),
|
this.tileGrid, this.getTileGridForProjection(projection),
|
||||||
|
|||||||
Reference in New Issue
Block a user