Skip to content

Commit

Permalink
Restore MVTLayer render test (#8672)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress authored Mar 18, 2024
1 parent c779c16 commit c2e5606
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions test/render/test-cases/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
FirstPersonView
} from '@deck.gl/core';
import {ScatterplotLayer, GeoJsonLayer} from '@deck.gl/layers';
// TODO v9
// import {SimpleMeshLayer} from '@deck.gl/mesh-layers';
import {SimpleMeshLayer} from '@deck.gl/mesh-layers';
import {MVTLayer} from '@deck.gl/geo-layers';
import {parseColor} from '../../../examples/layer-browser/src/utils/color';

Expand Down Expand Up @@ -89,9 +88,7 @@ export default [
})
],
goldenImage: './test/render/golden-images/map-repeat.png'
}
// TODO v9
/*
},
...[true, false].map(binary => {
const id = `globe-mvt${binary ? '-binary' : ''}`;
return {
Expand Down Expand Up @@ -121,11 +118,7 @@ export default [
stroked: false,
getFillColor: [0, 0, 0],
onTileError: error => {
if (error.message.includes('404')) {
// trying to load tiles in the previous viewport, ignore
} else {
throw error;
}
//ignore missing tiles
},
lineWidthMinPixels: 1,
binary,
Expand All @@ -139,5 +132,4 @@ export default [
goldenImage: `./test/render/golden-images/globe-mvt.png`
};
})
*/
];

0 comments on commit c2e5606

Please sign in to comment.