feat: v0.3.0 — flat 2D camera: remove zoom-driven tilt + terrain; max zoom ~100 km screen width

This commit is contained in:
2026-09-17 00:33:10 +00:00
parent 11619d11b2
commit b7796e5d78
7 changed files with 15 additions and 80 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
import { test, expect, type Page } from '@playwright/test';
// Terrain is disabled in e2e (?terrain=0) for deterministic headless rendering;
// the terrain code path stays toggleable on by default in the app.
const APP_URL = '/?terrain=0';
const APP_URL = '/';
// Must match MIN_ZOOM / MAX_ZOOM exported from components/Map.tsx.
const MIN_ZOOM = 3;
const MAX_ZOOM = 14;
const MAX_ZOOM = 11;
async function waitForAirportCount(page: Page): Promise<number> {
const countEl = page.getByTestId('airport-count');