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: 'osm.mapping.offline.directory'
                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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.