summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2016-07-10 12:44:08 +0200
committerDennis Nienhüser <[email protected]>2016-07-10 12:44:08 +0200
commit8736699ba335bba2e972ac29d5cdbc41d4259ab8 (patch)
tree7a7a1715e57d465a2ad39b0ef0fb0d2d0ad71d2f
parentcf1d2adf21a7fb0076e24f5cbe9969dc89e8a7d4 (diff)
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.
-rw-r--r--src/apps/marble-maps/DeveloperDialog.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/marble-maps/DeveloperDialog.qml b/src/apps/marble-maps/DeveloperDialog.qml
index e96f17f..e83057d 100644
--- a/src/apps/marble-maps/DeveloperDialog.qml
+++ b/src/apps/marble-maps/DeveloperDialog.qml
@@ -65,7 +65,7 @@ Item {
CheckBox {
text: "Show OSM Bitmap Tiles"
checked: settings.value("Developer", "textureTiles") === "true"
- onCheckedChanged: marbleMaps.setPropertyEnabled("mapnik", checked)
+ onCheckedChanged: marbleMaps.setMapThemeId(checked ? "earth/openstreetmap/openstreetmap.dgml" : "earth/vectorosm/vectorosm.dgml")
}
CheckBox {