Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Map with offline tiles doens't work without internet



  • Map {
            id: map
    
            anchors.fill: parent
            activeMapType: map.supportedMapTypes[1]
            minimumZoomLevel: 13
            maximumZoomLevel: 19
            zoomLevel: 17
            center: QtPositioning.coordinate(-0.007, 0.007)
            plugin: Plugin {
                name: "osm"
                PluginParameter {
                    name: "osm.mapping.offline.directory"
                    value: "tiles" //offline tiles folder
                }
            }
        }
    

    That gives me a nice working rectangular map(i made my tiles that way). But without network on my PC, after launching the app, my window goes fully grey and doens't show any tiles.


Log in to reply