# mission-planner — Vite build-time environment variables. # # Copy to `.env.local` (gitignored) for local dev. CI / Docker pass the same # variables through the build environment. Mirrors the main SPA's `.env.example` # style so devs can keep both roots in sync. # # Every variable is OPTIONAL. When unset, the app falls back to: # - VITE_OWM_API_KEY : undefined → getWeatherData returns null (no fetch) # - VITE_OWM_BASE_URL : https://api.openweathermap.org/data/2.5 # - VITE_SATELLITE_TILE_URL : Esri ArcGIS World Imagery (legacy default; will # be migrated in a future cycle to mirror AZ-498) # - VITE_GOOGLE_GEOCODE_KEY : undefined → geocodeAddress logs a warn and # returns null (LeftBoard's address box becomes # a no-op for non-coordinate inputs) # OpenWeatherMap API key. Required for the wind-effect overlay. Leave unset for # CI / dry runs — `getWeatherData` returns `null` and the overlay hides itself. VITE_OWM_API_KEY= # OpenWeatherMap REST base URL. Default targets the public endpoint; tests or # alt deployments may override. # Example for the suite e2e profile: http://owm-stub:8081/data/2.5 VITE_OWM_BASE_URL= # Satellite tile URL template. Independent of the main SPA's same-named var # (different vite root). Today defaults to Esri; AZ-498's swap to the suite's # own satellite-provider only covers the main SPA. VITE_SATELLITE_TILE_URL=https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} # Google Geocode API key. Required by LeftBoard's address-search box (AZ-501). # Leave unset for CI / dry runs — `geocodeAddress` returns `null` and logs a # single warning. Coordinate-form input ("lat, lng") still works without a key. VITE_GOOGLE_GEOCODE_KEY=