OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
apps.orcUi.frontend.tk.navigation_panel.NavigationPanel Class Reference

Map host, navigation controls, and nearby POI discovery. More...

Inheritance diagram for apps.orcUi.frontend.tk.navigation_panel.NavigationPanel:
apps.orcUi.frontend.tk.navigation_places_controls.NavigationPlacesControls apps.orcUi.frontend.tk.navigation_radar_controls.NavigationRadarControls apps.orcUi.frontend.tk.navigation_panel_camera.NavigationCameraControls

Public Member Functions

tuple[int, int] map_host_size (self)
 Return allocated native host dimensions in pixels.
 
None close_places (self)
 Cancel pending view callbacks and close its places session once.
 
None close_tooltips (self)
 Close mounted tooltip sessions before hiding or rebuilding widgets.
 
- Public Member Functions inherited from apps.orcUi.frontend.tk.navigation_radar_controls.NavigationRadarControls
 weather_controls_parent (self)
 Return the Tk container reserved for sibling weather controls.
 
 weather_caption_parent (self)
 Return the Tk container for captions above the native map window.
 
 map_width (self)
 Return the map's current width for caption wrapping.
 
 radar_enabled (self)
 Return the radar visibility used by sibling weather controls.
 
 set_radar_enabled (self, enabled)
 Emit the existing semantic radar visibility action when it changes.
 
 apply_radar_state (self, state)
 Render a radar UI snapshot without emitting request callbacks.
 
 set_weather_menu_callbacks (self, on_visibility, close_menu)
 Connect or disconnect sibling Tk popover synchronization.
 
None close_radar_menu (self)
 Dismiss the timeline without changing radar visibility.
 
None set_radar_timeline (self, times, index, bool playing=False, bool forecast=False)
 Update the timeline and its playback state from the radar controller.
 
None set_radar_loading (self, bool loading)
 Show when playback is waiting for forecast tiles.
 
None set_radar_frame_time (self, int|None frame_time)
 Show the timestamp of the radar frame currently on the map.
 

Additional Inherited Members

- Protected Member Functions inherited from apps.orcUi.frontend.tk.navigation_places_controls.NavigationPlacesControls
None _clear_poi_search (self)
 Clear the active POI search and remove its rendered markers.
 
None _schedule_active_poi_refresh (self)
 Debounce a viewport refresh while a POI category remains active.
 
- Protected Member Functions inherited from apps.orcUi.frontend.tk.navigation_panel_camera.NavigationCameraControls
None _show_3d_view (self)
 Tilt and zoom the current viewport around its existing center.
 
None _toggle_map_dimension (self)
 Switch between an overhead view and the tilted building view.
 

Detailed Description

Map host, navigation controls, and nearby POI discovery.


The documentation for this class was generated from the following file: