Skip to content

Commit

Permalink
feat(cli): Add some new screenshot default tests. BM-640 (#2402)
Browse files Browse the repository at this point in the history
* Add new screenshot tests.

* Fix the zoom level
  • Loading branch information
Wentao-Kuang committed Aug 2, 2022
1 parent a53973b commit f0caee1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions packages/cli/src/cli/screenshot/test.tiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ export const DefaultTestTiles: TileTestSchema[] = [
location: { lat: -41.8899962, lng: 174.0492437, z: 3 },
tileSet: 'aerial',
},
{
name: 'aerial-3857-wellington-urban-z16',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -41.2890657, lng: 174.7769262, z: 16 },
tileSet: 'aerial',
},
{
name: 'aerial-3857-canterbury-rural-z12',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -43.4040409, lng: 172.5393086, z: 12 },
tileSet: 'aerial',
},
{
name: 'topographic-3857-z8',
tileMatrix: TileMatrixIdentifier.Google,
Expand Down Expand Up @@ -62,6 +74,34 @@ export const DefaultTestTiles: TileTestSchema[] = [
tileSet: 'topographic',
style: 'topographic',
},
{
name: 'topographic-3857-auckland-airport-z13',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -37.000845, lng: 174.8064383, z: 13 },
tileSet: 'topographic',
style: 'topographic',
},
{
name: 'topographic-3857-otaki-south-z13',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -40.7727954, lng: 175.1504838, z: 13 },
tileSet: 'topographic',
style: 'topographic',
},
{
name: 'topographic-3857-christchurch-north-urban-z17',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -43.4567506, lng: 172.6109426, z: 17 },
tileSet: 'topographic',
style: 'topographic',
},
{
name: 'topographic-3857-mount-cook-village-z12',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -43.717227, lng: 170.0844837, z: 12 },
tileSet: 'topographic',
style: 'topographic',
},
{
name: 'topolite-3857-ngauranga-z15',
tileMatrix: TileMatrixIdentifier.Google,
Expand Down

0 comments on commit f0caee1

Please sign in to comment.