Thread
:
displaying maps in python?
View Single Post
mikaelh
2010-05-30 , 15:13
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
location_test.py.txt
(6.6 KB, 349 views)
Quote & Reply
|
mikaelh
View Public Profile
Send a private message to mikaelh
Find all posts by mikaelh