Re: [Leaflet] New to this

Skip to first unread message

Bodo Minea

Jun 13, 2022, 5:38:26 AMJun 13
You can take a look at this quick example that I put together for you -

Please note that once you host this on your server, you'll need to have it accessible via HTTPS, not regular HTTP or File in order for the geolocation functions to work.

În sâm., 11 iun. 2022 la 01:46, Stephan Gerlach <> a scris:

I am new to leaflet js. Not a great programmer in general really.

Just building a little project to learn more and was wondering about the followin.

I want to center the map on the current user location at a certain zoom level. I am using jquery if that makes any difference.

How can I do this? I want this to work in the browser btw.

Thanks for any help


You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages