Commit 8736699b authored by Dennis Nienhüser's avatar Dennis Nienhüser

Do a map theme switch when showing texture tiles

Mixing texture and vector layers made sense when we had very little
vector data, but with complete vector layers 1-9 this is not the case
anymore.
parent cf1d2adf
...@@ -65,7 +65,7 @@ Item { ...@@ -65,7 +65,7 @@ Item {
CheckBox { CheckBox {
text: "Show OSM Bitmap Tiles" text: "Show OSM Bitmap Tiles"
checked: settings.value("Developer", "textureTiles") === "true" checked: settings.value("Developer", "textureTiles") === "true"
onCheckedChanged: marbleMaps.setPropertyEnabled("mapnik", checked) onCheckedChanged: marbleMaps.setMapThemeId(checked ? "earth/openstreetmap/openstreetmap.dgml" : "earth/vectorosm/vectorosm.dgml")
} }
CheckBox { CheckBox {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment