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. Map Object doesn't cache map tiles
Forum Updated to NodeBB v4.3 + New Features

Map Object doesn't cache map tiles

Scheduled Pinned Locked Moved QML and Qt Quick
10 Posts 2 Posters 3.6k 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.
  • P Offline
    P Offline
    pascal95abc
    wrote on last edited by
    #1

    Hello,

    is there a way to cache tiles with the map object ?

    I know that these tiles are on my device because I use "Nokia Maps" application without internet connection!

    Thank you

    Qt 4.7.3
    Symbian OS v9.4 / Symbian^1, S60 5th Edition
    on N97

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      See "this thread":http://qt-project.org/forums/viewthread/9114 for another discussion of a similar topic.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pascal95abc
        wrote on last edited by
        #3

        How to specify the path which is E:/cities/diskcache ?

        In the question linked by you, there is written /var/tmp/sampleMap/ without specifying the disk drive, so how to set E: (the mass memory) as the corresponding disk drive ?

        Qt 4.7.3
        Symbian OS v9.4 / Symbian^1, S60 5th Edition
        on N97

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          I was referring down-thread further where it talked about the Map stuff not caching, and potentially being in violation of the licensing agreement if you do.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pascal95abc
            wrote on last edited by
            #5

            This problem is obsolete, I think.

            Nokia even published a tool to download whole regions like the USA.

            Qt 4.7.3
            Symbian OS v9.4 / Symbian^1, S60 5th Edition
            on N97

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mlong
              wrote on last edited by
              #6

              Oh, that's good to know then. Do you have a link to such tool? I'd be interested, myself.

              Software Engineer
              My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pascal95abc
                wrote on last edited by
                #7

                Yeah, it was first known as Nokia Map Loader, then included in the Nokia Suite.
                These maps can be loaded directly on the phone with the computer's internet connection, then the program Nokia Maps can be started on the phone with the settings checked Offline Mode.
                This is what I am using on my N97 currently and am very happy with.

                The path is E:/cities/diskcache
                So I have to configure it to use this path if it is the same format how Nokia Maps saves the tiles and how the Map Element does it.

                Qt 4.7.3
                Symbian OS v9.4 / Symbian^1, S60 5th Edition
                on N97

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mlong
                  wrote on last edited by
                  #8

                  I don't know that the tile-based maps that the Map QML element uses are in the same format as the Map Loaded/Nokia Maps app data. On the N9, at least, I'm pretty sure they aren't.

                  Software Engineer
                  My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pascal95abc
                    wrote on last edited by
                    #9

                    Ok, thne I would have to have to caches what would be much space.
                    I will try it out tomorrow...

                    Qt 4.7.3
                    Symbian OS v9.4 / Symbian^1, S60 5th Edition
                    on N97

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mlong
                      wrote on last edited by
                      #10

                      At any rate, to answer your original question:

                      bq. How to specify the path which is E:/cities/diskcache ?

                      I believe it should just be a matter of using
                      @
                      PluginParameter {
                      name: "mapping.cache.directory"
                      value: "E:/cities/diskcache"
                      }
                      @

                      Software Engineer
                      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                      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