umap-project / umap

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
https://umap-project.org
Other
1.19k stars 226 forks source link

Add centering on user location #4

Closed yohanboniface closed 9 years ago

yohanboniface commented 11 years ago

Originally reported by: BitBucket: sabas, GitHub: sabas


I thought that the button on top-left corner with an house centered on my home location, but sent me to the homepage, so here's a request. Under the zoom buttons add a button to center the map on user location using the geolocation html5 api.


yohanboniface commented 11 years ago

Original comment by Yohan Boniface (BitBucket: yohanboniface, GitHub: yohanboniface):


This times, this belongs to the client :) Here it is: https://github.com/yohanboniface/Leaflet.Storage/issues/19 Thanks again!

yohanboniface commented 11 years ago

Original comment by Yohan Boniface (BitBucket: yohanboniface, GitHub: yohanboniface):


This one was quite easy, so it's done.

Feel free to reopen if needed ;)