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. Using Maps without internet
Forum Updated to NodeBB v4.3 + New Features

Using Maps without internet

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 4 Posters 7.3k 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.
  • W Offline
    W Offline
    wladek
    wrote on last edited by
    #1

    Hi Guys,

    Is there a way of using the "QML Map":http://doc.qt.nokia.com/qtmobility-1.1.1/qml-map.html element without having access to the internet? I am thinking of a way to use the integrated OVI Maps (that can be downloaded before). By using some sort of API...

    Could this be even done, or we are obliged in using the internet?

    Thanks in advance for any ideas.
    Regards,
    wladek

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtrahul
      wrote on last edited by
      #2

      Yes, you can download offline map for your country by connecting your mobile using ovi suite, then you can use it as offline map no need of GPRS,.

      What about Location API ?

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wladek
        wrote on last edited by
        #3

        The QML Map Element is part of the "Location Plugin":http://doc.qt.nokia.com/qtmobility-1.1.1/qml-location-plugin.html.

        Ok, so I download the maps using Ovi, and then how do I tell the QML Map not to bind to the internet, but instead to use the local maps?

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wladek
          wrote on last edited by
          #4

          So I am having a look at this example: "http://doc.qt.nokia.com/qtmobility-1.1.1/declarative-location-mapviewer.html":http://doc.qt.nokia.com/qtmobility-1.1.1/declarative-location-mapviewer.html.

          I deploy my application on a E7 device and the map loads nicely if a have the Wi-Fi enabled and connected to a wireless network. But when I turn the Wi-Fi off and start the application I have the error: @[Qt Message] "Network session error." @

          In the example, the Map element is defined like: @Map {
          id: map
          plugin : Plugin {
          name : "nokia"
          }
          size.width: parent.width
          size.height: parent.height
          zoomLevel: 7
          .
          .
          .
          }@

          Do I need to change the plugin to a different one? But which?

          Regards,
          Wladek

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dalaing
            wrote on last edited by
            #5

            We don't have offline support for Maps on Symbian at the moment. We're talking to people and investigating options for offline mapping.

            David Laing
            Location API team
            Qt Mobility

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cmer4
              wrote on last edited by
              #6

              Hey folks, so that means these:

              connectivityMode : enumeration
              This property holds the connectivity mode used to fetch the map data.
              The mode can be one of:
              Map.OfflineMode
              Map.OnlineMode
              Map.HybridMode
              The default value is determined by the plugin.

              Won't work on Symbian?
              WHat about Meego? Maemo? could you please clarify?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dalaing
                wrote on last edited by
                #7

                In the C++ we provide information about which of those are supported by the plugin.

                That's one of the things we we have on our list of things we need to add to the QML bindings.

                David Laing
                Location API team
                Qt Mobility

                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