mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Fix the follow-up review findings in import, layers, startup and engines
- KML/KMZ import: a per-file canvas budget and cache for ground overlays, limits on rings and vertices of raised polygons, overlays across 360° and near the poles, degenerate holes, polar and single-latitude fills, absolute overlays at their altitude, overlay order by drawOrder as on Cesium, and pins on tiles keep their measured height. - Points on the surface: OSM Places and Street Level cones share the surface sampler and sit on the terrain before they are measured, within a sampling budget per pass; Cockpit's contact-dot bank keeps the dot atlas, and a failed fleet model loads again after a pause. - Startup: the loading screen lifts after the share-link view is restored, the retry screen names the failed engine and takes focus, and the fallback toast stays for 6 s. - Engines: an engine switch lands a running camera flight at its destination (camera.completeFlight on both engines), the sighting card leaves focus on the engine picker after a switch, and a Cesium model error stays with the instance that failed. - The MCP panel builds again: its wind-mesh alias resolves to the stub. - QA: the wildlife switch waits for the camera to rest, GBFS --w2 says it needs the dev server, and test fixtures are shared instead of copied.
This commit is contained in:
1 parent
0ef29781e5
commit
60fb8fee07
82 files changed
+2363
-1574
No files matched your search
@@ -106,6 +106,9 @@
|
||||
* @property {() => Matrix4} transform A copy of the current camera transform.
|
||||
* @property {() => void} release lookAtTransform(IDENTITY).
|
||||
* @property {() => void} cancelFlight
|
||||
* @property {() => void} completeFlight Cesium's completeFlight: a running
|
||||
* flight lands at once (its destination and end transform) and calls
|
||||
* `complete`, not `cancel`; without a flight it does nothing.
|
||||
* @property {(amount?: number) => void} zoomIn Moves `amount` metres along direction.
|
||||
* @property {(amount?: number) => void} zoomOut Moves `amount` metres against direction.
|
||||
* @property {() => ({ west: number, south: number, east: number, north: number } | undefined)} viewRectangle
|
||||
@@ -221,6 +224,7 @@
|
||||
* ellipsoid. Rejects when the terrain cannot be sampled (Cesium: one
|
||||
* without tile availability). The terrain is the one shown at the call;
|
||||
* maps.terrainRevision tells when it changed since.
|
||||
* @property {(position: Cartesian3, exclude?: any[]) => (Cartesian3 | undefined)} clampToHeight
|
||||
* The position moved onto the rendered scene along the geodetic normal.
|
||||
* @property {boolean} clampToHeightSupported
|
||||
* @property {() => boolean} tilesLoaded
|
||||
@@ -472,6 +476,7 @@
|
||||
* @property {(index?: number) => boolean} failed Whether what the set draws
|
||||
* failed to load (with an index, what that instance draws): it stays not
|
||||
* ready and is not tried again; a layer that retries makes a new set.
|
||||
* Cesium loads per instance: an index given another pickId loads again.
|
||||
* @property {() => void} destroy
|
||||
*
|
||||
* @typedef {object} GlobeMovers
|
||||
@@ -980,6 +985,7 @@ const SHAPE = {
|
||||
transform: isFunction,
|
||||
release: isFunction,
|
||||
cancelFlight: isFunction,
|
||||
completeFlight: isFunction,
|
||||
zoomIn: isFunction,
|
||||
zoomOut: isFunction,
|
||||
viewRectangle: isFunction,
|
||||
|
||||
Reference in new issue
Block a user