Add tiles to avoid 404s in rendering tests

This commit is contained in:
Tim Schaub
2018-11-19 13:44:21 -07:00
parent 9863e25f5e
commit 7036064ffc
17 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 138 KiB

View File

@@ -37,7 +37,7 @@ new Map({
source: new VectorTileSource({ source: new VectorTileSource({
format: new MVT(), format: new MVT(),
tileGrid: createXYZ(), tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf', url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
transition: 0 transition: 0
}) })
}) })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

@@ -11,7 +11,7 @@ const map = new Map({
source: new VectorTileSource({ source: new VectorTileSource({
format: new MVT(), format: new MVT(),
tileGrid: createXYZ(), tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf', url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
transition: 0 transition: 0
}) })
}) })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 142 KiB

View File

@@ -11,7 +11,7 @@ new Map({
source: new VectorTileSource({ source: new VectorTileSource({
format: new MVT(), format: new MVT(),
tileGrid: createXYZ(), tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf', url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
transition: 0 transition: 0
}) })
}) })

View File

@@ -161,7 +161,7 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
viewCenter[1] + dy viewCenter[1] + dy
]; ];
const tileRange = tileGrid.getTileRangeForExtentAndZ(frameState.extent, z); const tileRange = tileGrid.getTileRangeForExtentAndZ(extent, z);
/** /**
* @type {Object<number, Object<string, import("../../Tile.js").default>>} * @type {Object<number, Object<string, import("../../Tile.js").default>>}