OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
navigation_config.hpp
1// SPDX-FileCopyrightText: 2026 Mark G. Russell
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include <string>
7
10{
11 std::string dataRoot{"/srv/openroadcode"};
12 std::string cacheRoot{"/var/cache/openroadcode"};
13 std::string stylePath{"maps/styles/openroadcode.json"};
14 std::string cachePath{"maplibre.db"};
15 std::string markerMode{"vehicle"};
16 double markerScale{1.0};
17};
18
24NavigationConfig loadNavigationConfig(
25 const std::string& path = "/etc/openroadcode/navigation.toml"
26);
Runtime configuration consumed by the native map renderer.
Definition navigation_config.hpp:10