OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
weather.city_weather_overlay_controller.CityWeatherOverlayController Class Reference

Keep city map labels independent of radar, heatmaps and route weather. More...

Public Member Functions

 set_enabled (self, enabled)
 Enable independent city labels or clear them without changing the map camera.
 
 select (self, *kind=None, period=None, hours=None)
 Change the field or time without making another weather request.
 
 show (self)
 Poll cities only while Navigation is visible; replay labels after renderer startup.
 
 hide (self)
 Pause playback and viewport requests while Navigation is hidden.
 
 close (self)
 Invalidate late weather workers and release the independent map subscription.
 
 refresh (self)
 Refresh the batch while reusing current city names and coordinates.
 
 set_playing (self, playing)
 Animate local cached hourly data, leaving radar playback untouched.
 
 select_details (self, city_id)
 Select only a currently displayed city, or dismiss its details.
 
 publish (self)
 Present selected city values as Kelvin, m/s or metres through the UI contract.
 

Detailed Description

Keep city map labels independent of radar, heatmaps and route weather.


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