From f0caee104b2ab0286bbfcf95b240bf1b2ee3479c Mon Sep 17 00:00:00 2001 From: Wentao Kuang Date: Wed, 3 Aug 2022 09:59:47 +1200 Subject: [PATCH] feat(cli): Add some new screenshot default tests. BM-640 (#2402) * Add new screenshot tests. * Fix the zoom level --- packages/cli/src/cli/screenshot/test.tiles.ts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/packages/cli/src/cli/screenshot/test.tiles.ts b/packages/cli/src/cli/screenshot/test.tiles.ts index 26e1f08bb..594b6e7a9 100644 --- a/packages/cli/src/cli/screenshot/test.tiles.ts +++ b/packages/cli/src/cli/screenshot/test.tiles.ts @@ -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, @@ -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,