Important: Please read the Qt Code of Conduct -

Switching offline tiles directory in Map

  • In my application i have an offline map working with tiles from folder

    Map {
        id: map
        activeMapType: map.supportedMapTypes[1]
        plugin: Plugin {
            name: 'osm';
            PluginParameter {
                name: ''
                value: "maps/firstMapFolder"

    Now I wanna be abble to change tiles' dirrectory realtime and I set value property equal to currentMapPath so I can switch maps by rewriting currentMapPath string, but it doesn't work. Can you guys give me some advices?

  • Hi !
    What exactly doesn't work ?

    Do you want this ? { value : "currentMapPath " }


Log in to reply