View Single Post
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#4
Please find the code attached. Should show a moving map centred on your location.

Requires GPS enabled in the settings, and most likely you need to be outside to get a fix.
Depends on the python-location package.

Map tiles are cached in ~/.mapper. There is no cache management (maximum size or time-to-live).

There's some needlessly fancy threading and Queue management.
Attached Files
File Type: txt location_test.py.txt (6.6 KB, 349 views)