1. 59
    Use the Browser's Location to Add a React Leaflet Marker to the Map
    54s

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

Share this video with your friends

Send Tweet

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