1. 57
    Add a React Leaflet Marker to a Location when Clicking a Button
    43s

Add a React Leaflet Marker to a Location when Clicking a Button

Share this video with your friends

Send Tweet

Most of us are able to identify where we're located on the map, but it can be hard to visualize that in context to other locations. To help, we can add a marker to the map to show our location.

To get started, we'll add a marker to a specific location to see how it relates to the restaurants that are on our map.

Click here for exercise instructions