From b691567d78f62d6e1c7f78501a832910cc592296 Mon Sep 17 00:00:00 2001 From: Pierre TILAK Date: Tue, 17 Sep 2019 12:10:35 +1200 Subject: [PATCH] Fix Offline map name --- src/QtLocationPlugin/QMLControl/OfflineMap.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/QtLocationPlugin/QMLControl/OfflineMap.qml b/src/QtLocationPlugin/QMLControl/OfflineMap.qml index 253d55134..0a11eeb85 100644 --- a/src/QtLocationPlugin/QMLControl/OfflineMap.qml +++ b/src/QtLocationPlugin/QMLControl/OfflineMap.qml @@ -93,10 +93,8 @@ Item { function updateMap() { for (var i = 0; i < _map.supportedMapTypes.length; i++) { - console.log(_map.supportedMapTypes[i].name, i) if (mapType === _map.supportedMapTypes[i].name) { _map.activeMapType = _map.supportedMapTypes[i] - console.log("Update Map:" + " " + _map.activeMapType) handleChanges() return } @@ -105,7 +103,7 @@ Item { function addNewSet() { isMapInteractive = true - mapType = _fmSettings.mapProvider.enumStringValue + " " + _fmSettings.mapType.enumStringValue + mapType = _fmSettings.mapProvider.value + " " + _fmSettings.mapType.value resetMapToDefaults() handleChanges() _map.visible = true -- 2.22.0