Nominate our 2022 Qt Champions!

Custom caching for QMLMapPlugin

  • I am required to implement custom caching for an application I am developing which requires caching specific map areas to hard drive as well as to RAM for offline use. As well the plugin would fetch tiles beyond the map boundary in every directory for smoother scrolling.

    I am using QNetworkAccessManager in my main application to attempt to add to the disk cache in a non-blocking manner, but this seems to interfere with the QMLMapPlugin's network access.

    Is there a way to integrate the project containing the map plugin with my main application so that I can have access to the plugin's c++ side, or a manner in which I can communicate through QML? Way over my head right now, appreciate any suggestions, thank you.

Log in to reply