Using Maps without internet
-
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 -
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 ?
-
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?
-
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 -
We don't have offline support for Maps on Symbian at the moment. We're talking to people and investigating options for offline mapping.
-
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? -
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.