Qt location map plugin doesn't update

  • 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.

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

Log in to reply

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