<< Weekly Status Report, W37/2012 | The roads I take... | Weekly Status Report, W38/2012 >>

Lantea Maps - Contributions Welcome!

Image No. 23111 Image No. 23112 Image No. 23113

I just split my Lantea Maps web app out of my main git repo and into its own small one, one main reason being that I can place it on GitHub as well. This is not meaning that I suddenly love the GitHub site, but having the repo there lowers the entry barrier for potential contributors and I'd be very happy to have people help me with this app.

Lantea Maps is a prototype web app to display maps and record (GPS) tracks, and I found it works pretty well with Firefox OS, actually. It's one of the apps I keep installing on my test device for that system, of course from its Mozilla Marketplace listing.

The app is based on a canvas that displays a map (from OpenStreetMap, multiple styles can be selected) and on which the recorded GPS tracks are displayed. The start of the app is there and working, but it could need quite some improvement - like making zoom switches and probably map panning smoother by using some canvas magic, supporting pinch gestures, caching tiles not just during a session but also across sessions (using IndexedDB), and more.

As mentioned on the original Lantea idea wiki page, there's a quite nice app for the Nokia N900 called Mappero that is a good source for feature and UI ideas, for me it's one the the best apps in that space and I'd love to have something similar to it as a web app - which is basically why I started Lantea at all.

That said, I'm open for all kinds of ideas for it - and even more, to patches and pull requests! :)

Entry written by KaiRo and posted on September 21st, 2012 01:17 | Tags: B2G, Lantea, Mozilla, OSM, Web Apps | 2 comments | TrackBack




OHallo KaiRo,

das sieht doch gut aus. Zwei Dinge:

1) Die OSM-Daten stehen jetzt unter Odbl-Lizenz, ich habe nicht überprüft, ob sie von vor dem Lizenzwechsel sind.

2) Wie oft wird eine Position mittels GPS aufgenommen?
2012-09-21 09:50




1) Ja, das mit der Lizenz weiß ich, muss mich erst umsehen, wie ich die Copyright-Mitteilung am besten daran anpasse, ohne dass sie zu lang wird, denn die Daten sind ODbL, aber die Tiles nach wie vor CC-BY-SA.

2) Es wird Geolocation.watchPosition() verwendet, und das ist dem Browser überlassen, wie oft ein Callback gesendet wird. Laut DougT sendet der Mozilla-Code das "wenn sich die Position signifikant ändert", so weit ich sehe, ist das maximal jede Sekunde.
2012-09-21 14:30

Add comment