mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 10:12:18 +00:00
Transit cockpit rides: hide the held icon, end a hold with the layer, no ellipsoid height
- A held vehicle's icon is hidden through the renderer (setShown, then flushMarkers). The icon sets draw a marker only as last pushed, so the direct marker.show write left a parked vehicle's icon drawn under the view's eye. - disable() ends the hold: turned off and on again, the vehicle shows and clicks and Escape reach the layer. - Far above the ground a vehicle with no floor is drawn on the ellipsoid. Its snapshot now reports groundHeightM null there, as near the ground, instead of -1.5 m. - The uneven-ground test also checks the snapshot mid-segment, where a blend of the two reports' floors would read about 55 m instead of 10 m.
This commit is contained in:
1 parent
624c229bc2
commit
134138931f
4 files changed
+123
-7
No files matched your search
@@ -1225,6 +1225,7 @@ export function createRendering({ state, services, parts }) {
|
||||
setNameOf,
|
||||
markerShown,
|
||||
markDirty,
|
||||
setShown,
|
||||
flushMarkers,
|
||||
removeMarker,
|
||||
watchCamera,
|
||||
|
||||
Reference in new issue
Block a user