Closed smcalilly closed 2 years ago
This ^ toggle example comes out of the box with the Leaflet.draw plugin. The react-leaflet-draw library is the react version of that, and those layer controls are also included. So, I'll introduce that library so that we can have the toggling. Using this library will also give us the ability to draw more dynamic polygons (based on notes from our meeting with Garret, written down here)
cc @fgregg
sweeeet!
Here's an example that lets you toggle different types of interactions: https://geojson.io/#map=3/38.89/-81.21