Said Turksever and Claude Opus 5.5
abbf69a512
fix(street-level): camera height over Google 3D, cast only when it helps, gate token
...
From the code review of #768 :
- view.js measured the camera's height above ground with globe.getHeight,
but Google 3D hides the globe, so coverage picked its zoom from the
ellipsoidal height. Over a high city (Denver, ~1,600 m) a camera 500 m up
read 2,100 m: coverage stayed at z12/z13, whose tiles are too big to cast,
and lines stayed draped on the roofs. With the globe hidden, the bare-earth
height from the ground caster now answers; coverage re-picks its zoom when
the surface mode changes. Verified in Denver: terrain mode, z14, cast lines.
The core's surface check uses the same helper (and no longer subtracts the
2 m lift from the camera height).
- castTile rebuilt a tile even when no line could be cast (terrain proxy
down, tile too big); it now leaves such tiles as they are.
- The feature gate read Street Level's share token as a literal `0`; it now
takes it from LAYER_STATE_REGISTRY, since a rebase can reassign it.
New view.test.mjs covers the shown-globe, hidden-globe and no-sample cases.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-02 01:01:40 +01:00
..
2026-08-24 17:02:16 -05:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-08-24 17:02:16 -05:00
2026-09-15 10:15:12 -07:00
2026-09-24 16:25:55 +05:30
2026-09-23 16:00:53 -05:00
2026-09-10 23:01:51 -07:00
2026-09-14 19:45:52 -05:00
2026-09-14 07:35:38 -07:00
2026-08-24 17:02:16 -05:00
2026-09-15 07:26:32 -07:00
2026-10-02 01:01:40 +01:00
2026-09-15 07:26:32 -07:00
2026-09-11 15:08:23 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-14 21:12:01 -07:00
2026-09-24 16:25:55 +05:30
2026-09-14 07:35:38 -07:00
2026-10-02 00:48:01 +01:00
2026-09-11 15:08:23 -07:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-09-14 19:34:23 -05:00
2026-09-13 21:54:29 -05:00
2026-09-14 07:35:38 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-11 17:03:35 -07:00
2026-09-10 23:08:26 -07:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-09-13 01:23:55 -07:00
2026-09-13 21:48:33 -05:00
2026-09-11 14:50:57 -07:00
2026-09-23 20:31:56 -07:00
2026-09-28 19:07:57 -05:00
2026-09-14 20:09:41 -05:00
2026-09-15 16:53:26 -07:00
2026-09-15 19:16:49 -07:00
2026-09-15 17:59:53 -07:00
2026-09-15 20:15:32 -07:00
2026-09-15 15:41:42 -07:00
2026-09-14 19:59:26 -05:00
2026-09-10 23:08:26 -07:00
2026-09-10 23:08:26 -07:00
2026-09-28 19:07:57 -05:00
2026-09-13 12:48:26 -07:00
2026-09-12 18:45:30 -07:00
2026-09-11 14:50:57 -07:00
2026-09-11 14:54:30 -07:00
2026-09-10 23:08:26 -07:00
2026-09-13 09:54:55 -07:00
2026-08-24 17:02:16 -05:00
2026-08-31 17:49:45 -05:00
2026-09-10 23:08:26 -07:00
2026-08-24 17:02:16 -05:00
2026-08-31 17:49:45 -05:00
2026-09-10 23:08:26 -07:00
2026-09-10 23:08:26 -07:00
2026-09-11 08:59:32 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-10 23:08:26 -07:00
2026-09-10 23:08:26 -07:00
2026-09-10 23:08:26 -07:00
2026-09-22 17:45:39 -05:00
2026-09-24 16:25:55 +05:30
2026-09-13 05:43:05 -07:00
2026-09-12 22:26:29 -07:00
2026-09-14 15:43:27 -07:00
2026-09-28 19:07:57 -05:00
2026-09-16 12:14:15 +05:30
2026-08-31 17:49:45 -05:00
2026-09-28 19:07:57 -05:00
2026-09-25 20:45:17 +01:00
2026-08-31 17:49:45 -05:00
2026-09-23 19:51:56 -05:00
2026-09-22 20:34:11 -05:00
2026-09-15 20:15:32 -07:00
2026-09-10 23:08:26 -07:00
2026-10-02 01:01:40 +01:00
2026-09-28 19:07:57 -05:00
2026-09-10 23:08:26 -07:00
2026-09-10 23:08:26 -07:00
2026-09-28 19:07:57 -05:00
2026-09-13 14:47:26 -07:00
2026-09-28 19:07:57 -05:00
2026-09-10 23:08:26 -07:00
2026-09-15 08:40:58 -07:00
2026-09-15 13:26:41 -05:00
2026-09-15 05:18:30 -05:00
2026-09-15 14:15:27 -05:00
2026-09-15 13:26:41 -05:00
2026-09-15 13:26:41 -05:00
2026-09-15 14:15:27 -05:00
2026-09-13 14:51:24 -07:00
2026-09-13 10:54:32 -07:00
2026-09-10 23:08:26 -07:00
2026-09-11 14:43:13 -07:00
2026-09-13 05:43:05 -07:00
2026-09-12 21:25:05 -07:00
2026-09-24 01:52:41 -05:00
2026-09-15 12:05:01 -07:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-09-25 18:08:43 +01:00
2026-08-24 17:02:16 -05:00
2026-09-22 17:45:39 -05:00
2026-09-13 14:10:38 -07:00