Qt Location, Map Cache
-
wrote on 20 Jan 2021, 07:25 last edited by
Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly
-
Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly
@suslucoder
on what platform?
On linux you can setXDG_CACHE_HOME
andXDG_DATA_HOME
environment variables. Which are actually interpreted byQStandardPaths::CacheLocation
And IIRC it is used by QtLocation to write the map cache. -
@suslucoder
on what platform?
On linux you can setXDG_CACHE_HOME
andXDG_DATA_HOME
environment variables. Which are actually interpreted byQStandardPaths::CacheLocation
And IIRC it is used by QtLocation to write the map cache.wrote on 20 Jan 2021, 08:37 last edited by@raven-worx is it possible on windows?
-
@raven-worx is it possible on windows?
@suslucoder
on windows there doesn't seem to be a generic way.About what map provider plugin are we talking here actually?
The here plugin provides an extra parameter to do what you want for example. Whereas the osm plugin doesn't. -
@suslucoder
on windows there doesn't seem to be a generic way.About what map provider plugin are we talking here actually?
The here plugin provides an extra parameter to do what you want for example. Whereas the osm plugin doesn't.wrote on 20 Jan 2021, 08:49 last edited by@raven-worx actually im searching a way to, run my map wihtout any ethernet connection. I think that cache a disk is a way for it
-
@raven-worx actually im searching a way to, run my map wihtout any ethernet connection. I think that cache a disk is a way for it
@suslucoder
you might be interested in this then:
https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin -
@suslucoder
you might be interested in this then:
https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-pluginwrote on 20 Jan 2021, 08:52 last edited by@raven-worx thank you
1/7