Open Road Code
About
Documentation
Project Guides
Setup, architecture, and how-to guides
API Reference
Python modules, classes, and functions
Triad
Architecture
Features
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
9
struct
NavigationConfig
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
24
NavigationConfig
loadNavigationConfig(
25
const
std::string& path =
"/etc/openroadcode/navigation.toml"
26
);
NavigationConfig
Runtime configuration consumed by the native map renderer.
Definition
navigation_config.hpp:10
apps
map_renderer
src
navigation_config.hpp