OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
apps.orcUi.map_theme_runtime Namespace Reference

MapLibre style generation owned by the ORC map runtime. More...

Functions

Path|None install_map_style (ThemeMode mode, str|Path|None data_root=None)
 Install the generated MapLibre style for the requested presentation mode.
None _install_reference_maps (Path root)
 Deploy bundled global land and boundaries alongside the generated style.
None _use_regional_freeway_fallback (dict[str, Any] document)
 Keep an older regional dataset usable until national freeway tiles exist.

Detailed Description

MapLibre style generation owned by the ORC map runtime.

Function Documentation

◆ _install_reference_maps()

None apps.orcUi.map_theme_runtime._install_reference_maps ( Path root)
protected

Deploy bundled global land and boundaries alongside the generated style.

Older regional packs predate these assets. Updating only their style leaves file sources missing, so an upgrade must install the reference files too.