Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Location, Map Cache

Qt Location, Map Cache

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5mapcachedisk cache
7 Posts 2 Posters 1.5k 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.
  • D Offline
    D Offline
    deleted286
    wrote on last edited by
    #1

    Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly

    raven-worxR 1 Reply Last reply
    0
    • D deleted286

      Is there any example of mapping cache? I want to do, disk cache . I couldnt find any example related to this topic exactly

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @suslucoder
      on what platform?
      On linux you can set XDG_CACHE_HOME and XDG_DATA_HOME environment variables. Which are actually interpreted by QStandardPaths::CacheLocation
      And IIRC it is used by QtLocation to write the map cache.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      D 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @suslucoder
        on what platform?
        On linux you can set XDG_CACHE_HOME and XDG_DATA_HOME environment variables. Which are actually interpreted by QStandardPaths::CacheLocation
        And IIRC it is used by QtLocation to write the map cache.

        D Offline
        D Offline
        deleted286
        wrote on last edited by
        #3

        @raven-worx is it possible on windows?

        raven-worxR 1 Reply Last reply
        0
        • D deleted286

          @raven-worx is it possible on windows?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

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

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          D 1 Reply Last reply
          0
          • raven-worxR raven-worx

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

            D Offline
            D Offline
            deleted286
            wrote on last edited by
            #5

            @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-worxR 1 Reply Last reply
            0
            • D deleted286

              @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-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #6

              @suslucoder
              you might be interested in this then:
              https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              D 1 Reply Last reply
              1
              • raven-worxR raven-worx

                @suslucoder
                you might be interested in this then:
                https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin

                D Offline
                D Offline
                deleted286
                wrote on last edited by
                #7

                @raven-worx thank you

                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