Leaflet.Locate logo Leaflet.Locate

A geolocation control for Leaflet that helps users find their current position on the map.

Shows the user's location with a single click, tracks position updates, and can pan the map to follow along. Offers many options for customizing behavior and appearance.

leaflet-locatecontrol example map screenshot

Implementation Examples

Feature Showcase