Open vshcherb opened 2 weeks ago
Technical Plan:
Adjust the slider step to 10 minutes, referencing the layoutSelectingTitle
method.
Configure the group of buttons weatherGroupBottonsView
: Layers menu, Contours [OAHudButton]. Apply the layout position similar to the OAHudButton - cancel.
For the section with widgets, maintain the UICollectionView and center-align it.
Disable the display of weather widgets when the weather menu is shown on the screen.
Synchronize settings keys with Android once their task is completed.
Weather forecast provider was thoroughly refactored. In order to enable animations, application should specify the needed time period when provider is being created and a time step. Provider will then try to load all necessary online resources for this particular period for each moment of time (between time steps specified). OsmAnd application for Android has this code implemented.
Description
Redesign weather screen
ToDo, Figma
NavBar
ic_navbar_settings
Date switcher
Widget & Timeline
Widgets
Map Buttons
ic_custom_contour_lines
ic_custom_contour_lines_disabled
ic_custom_overlay_map
ic_custom_overlay_map_disabled
Menus
Contours
Layers menu
ic_custom_thermometer
ic_custom_precipitation
ic_custom_wind
ic_custom_clouds
ic_custom_air_pressure
Data source
Data source
, description –OsmAnd provides weather data from two sources:
GFS
Global Forecast System from National Centers for Environmental Prediction
ECMWF
European Centre for Medium-Range Weather Forecasts