leaflet-locatecontrol

A useful control to geolocate the user with many options. Used by osm.org and mapbox among many others.

MIT Licensed – View on GitHub or read the Leaflet documentation.

leaflet-locatecontrol example map screenshot

Demos