Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Switching offline tiles directory in Map

Switching offline tiles directory in Map

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 634 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amir Afendin
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      Hi !
      What exactly doesn't work ?

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

      LA

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved