mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-21 16:23:50 +08:00
Added updateZoom function to map_renderer, plus custom style.json (#25997)
* Added updateZoom function to map_renderer, plus custom style.json * Render 512x512 maps * Define STYLE_PATH in navd sconscript
This commit is contained in:
@@ -11,6 +11,8 @@ if arch in ['larch64', 'x86_64']:
|
||||
rpath = [Dir(f"#third_party/mapbox-gl-native-qt/{arch}").srcnode().abspath]
|
||||
qt_env["RPATH"] += rpath
|
||||
|
||||
style_path = File("style.json").abspath
|
||||
qt_env['CXXFLAGS'].append(f'-DSTYLE_PATH=\\"{style_path}\\"')
|
||||
qt_libs = ["qt_widgets", "qt_util", "qmapboxgl"] + base_libs
|
||||
|
||||
nav_src = ["main.cc", "map_renderer.cc"]
|
||||
|
||||
Reference in New Issue
Block a user