I am trying to draw a boundary around points and remove what lies outside of it, but am unsure how to extract the polygon that is drawn using addDrawToolbar() from leaflet. Here are some images of what I have:
Thanks!
I'm unsure of how to proceed. I see posts on R Shiny but none in the normal console.