Merge pull request #8987 from tschaub/rendering-updates

Rendering test updates
This commit is contained in:
Tim Schaub
2018-11-19 13:40:46 -08:00
committed by GitHub
21 changed files with 13 additions and 5 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({
format: new MVT(),
tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf',
url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
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({
format: new MVT(),
tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf',
url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
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({
format: new MVT(),
tileGrid: createXYZ(),
url: '/data/tiles/mvt/{z}-{x}-{y}.vector.pbf',
url: '/data/tiles/mapbox-streets-v6/{z}/{x}/{y}.vector.pbf',
transition: 0
})
})

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -3,7 +3,15 @@ const path = require('path');
const cases = path.join(__dirname, 'cases');
const caseDirs = fs.readdirSync(cases);
const caseDirs = fs.readdirSync(cases).filter(name => {
let exists = true;
try {
fs.accessSync(path.join(cases, name, 'main.js'));
} catch (err) {
exists = false;
}
return exists;
});
const entry = {};
caseDirs.forEach(c => {

View File

@@ -161,7 +161,7 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
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>>}