Geo is a geolocation web application. It let users choose among OpenStreetMap, Google Maps, and a hybrid map that is a Google Map with OpenStreetMap tiles placed on it.
Try it live.
The web app uses the Geolocation API to get the current position with the possibility for the user to choose the options (enableHighAccuracy, timeout, maximumAge) by user interface. The demo also provides a search tool that uses the Google Searchbox in the case of Google and Hybrid maps and pure XmlHttpRequests to Nominatim in the case of OpenStreetMap.
This demo is part of this MDN page that explains how to use interactive maps in a Open Web App.
- navigator (watchPosition)
- route
- FxOS installer
- better look&feel
- add tests
- open github issues