Reply
Thread Tools
Posts: 61 | Thanked: 51 times | Joined on Feb 2010 @ Zurich
#1
Hi there,

in my application I would like to show my position on a map.

But with the QML Map Element it is only possibile if you are online (internet connection)

If you don't have a internet connection it asks all 2 seconds!

How can I set the Map Element to offline, basically don't show anything if I'm offline?

thanks
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#2
What you probably need to do is setup a cache of mapobjects/tiles, this way you still show a map in offline mode, but can't get any new tiles of course.
 
Posts: 61 | Thanked: 51 times | Joined on Feb 2010 @ Zurich
#3
Caching on meego/maemo is not supported with the Nokia Plugin.

Map tile caching is disabled on Maemo, Meego and Windows CE platforms. Using the parameter on these platforms will have no effect.
http://doc.qt.nokia.com/qt-mobility-...e-nokia-plugin

If you are in Flight mode for example then every time you show the map it asks if you want connect to the internet.

This dialog I would like to disable.

Last edited by oprocopio; 2012-07-05 at 14:54.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#4
yeah Nokia really screwed us with the QML stuff that they say we have to use and is missing features we need.
try to figure out how to do the same thing in c++ using the other qt libraries, I bet it will work. If you can make it into a component or something you can probably get it back into your QML interface. Not sure though. Good luck.
__________________
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:35.