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:
Mitchell Goff
2022-10-13 14:27:59 -07:00
committed by GitHub
parent a397418ef8
commit 982ea83cf9
5 changed files with 28 additions and 6 deletions
+2
View File
@@ -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"]