mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Stories: phone entry, centred framing, review follow-ups
- On GEV's phone layout, where neither the style readout nor the account avatar shows, the Stories button goes icon-only under the corner-actions column instead of covering the top row of icon buttons. - Explore frames its start view and a picked story in the middle of the map it leaves visible (beside the feed, above the phone sheet), with one short correction if that area moved during the flight. - The share icon stays visible in icon-only header buttons. - A world clock nothing moved while Stories was open (no jump, same mode and rate) is left alone on Close. - Card images use the globe's own Esri tile URL; the credit list keeps the application's full-screen placement on phones. - Tests cover the live and playing clock restores, the clock coming back after the share state, the tile-settling hold being released (settled, 10 s, Close), the visible-map aim, and the near-end Play fix in the director's real order. One changelog fragment covers the PR.
This commit is contained in:
1 parent
8a0953c35d
commit
472cc35c47
13 files changed
+351
-38
No files matched your search
@@ -4,14 +4,15 @@
|
||||
* the same tiles, from the same host, that GEV's Esri map draws (and credits
|
||||
* on screen); no other host is asked.
|
||||
*/
|
||||
import { ESRI_TILES } from '../maps/globeEngine.js';
|
||||
|
||||
const WIDTH = 320;
|
||||
const HEIGHT = 180;
|
||||
const TILE_SIZE = 256;
|
||||
const TILE_TRIES = 3;
|
||||
|
||||
/** Esri World Imagery's tiles: Web Mercator, as GEV's Esri map draws them. */
|
||||
export const ESRI_TILE_URL =
|
||||
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}';
|
||||
/** Esri World Imagery's tiles: Web Mercator, the ones GEV's Esri map draws. */
|
||||
export const ESRI_TILE_URL = ESRI_TILES;
|
||||
const ESRI_MAX_LEVEL = 19;
|
||||
|
||||
/** A zoom level that frames `range` metres of view, within the imagery's. */
|
||||
|
||||
Reference in new issue
Block a user