Course lesson

Use the Browser's Location to Add a React Leaflet Marker to the Map

While we were able to find our location, Leaflet's geolocation features don't set a marker by default. What they do provide is event handlers that allow us to know when the location is found.

Duration
1 min
Access
Pro
Transcript
Available

While we were able to find our location, Leaflet's geolocation features don't set a marker by default. What they do provide is event handlers that allow us to know when the location is found.

Click here for exercise instructions