qml osm offline tiles
-
Hello everyone. How do I implement an offline map. I tried to use the MS4W server, but it shows something wrong (even if i am delete the tiles directory(map folder) from the server), the application takes them from somewhere. My code is simple:
import QtQuick 2.15 import QtQuick.Window 2.15 import QtLocation 5.12 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Plugin { id: plugin_osm name: "osm" PluginParameter { name: "osm.mapping.custom.host" value: "http://127.0.0.1/map/" } } Map { id: map anchors.fill: parent plugin: plugin_osm zoomLevel: 1 activeMapType: supportedMapTypes[supportedMapTypes.length - 1] } }
files on the server: