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. Qt location map plugin doesn't update
Forum Updated to NodeBB v4.3 + New Features

Qt location map plugin doesn't update

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 520 Views 1 Watching
  • 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.
  • AlienA Offline
    AlienA Offline
    Alien
    wrote on last edited by Alien
    #1

    Hi,

    I developed a Qt location map plugin for QML map (plugin:”myplugin”), now I want to update some tiles for client application because of some changes happened in my map(ex:adding new map layer) but I can’t update the map tiles in this situation I have two problems:
    1- Because of map caching QML map doesn’t re-request any pre-loaded tiles to Qt location map plugin
    2- If I disable caching in addition to losing performance, current loaded tiles doesn’t update because they settle in memory so I have to pan or zoom the map to load new tiles

    What should I do to get rid of this big headache?

    I appreciate any idea.

    1 Reply Last reply
    0
    • AlienA Offline
      AlienA Offline
      Alien
      wrote on last edited by
      #2

      In QML document you have to use map.clearData() and then map.prefetchData()

      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