-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
Currently the map is hardcoded to default to Paris as this is where I first gave a demo of AirplaneJS. But this results in a weird "blinking" effect where sometimes first Paris is loaded, but then your current position is loaded.
It would be nicer if the map was either zoomed all the way out until it could determine your location, or if there was a better way to choose a default location, or maybe even wait drawing the map until your location had been found.
Gotchas
- It have to be taken into account that the first time someone starts the map, they have not yet approved the browser to know their current location.
- Some browsers (e.g. Safari) will not allow the user to share their current location when running on
localhost.