mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
feat(globe): render the tilt and north-up buttons from the globe actions store
The camera orientation controls publish whether the map is tilted and the camera's whole-degree heading instead of writing the buttons' attributes, and answer tilt and north-up through the globe actions store. The new GlobeCompass renders the heading, so a rotating camera re-renders only the compass. The store drops an unchanged camera state and keeps each clear owner's busy state, so the buttons show the shell that answers them: a shell replaced by a newer one, or disposed mid-clear, leaves the live shell's state alone, and an older shell that answers again shows its own. createOwners gains owns() and ownerOf().
This commit is contained in:
1 parent
7edf8a577e
commit
eccaeea0c4
15 files changed
+495
-180
No files matched your search
+3
-2
@@ -72,8 +72,9 @@
|
||||
are the kit's new `UiChip`. The selects are the kit's new `UiSelect`, the
|
||||
status badges its new `UiBadge` and the one-line empty states its new
|
||||
`UiEmpty`.
|
||||
The top-center clear and share buttons call the shell through the new
|
||||
globe actions store. `syncScopeControls` (`./ui/display`),
|
||||
The top-center clear, share, tilt and north-up buttons call the shell
|
||||
through the new globe actions store, which also carries the camera's tilt
|
||||
and compass heading. `syncScopeControls` (`./ui/display`),
|
||||
`shouldHideCollapsedRightPanels` (`./ui/layout`) and
|
||||
`bindClearLayersControl` (`./ui/layers`) are deprecated: the Display view,
|
||||
the rail and the globe actions view now own what they did. `./ui/input` imports Vue
|
||||
|
||||
Reference in new issue
Block a user