geoshaper builds on the features of the R packages shiny, leaflet, and leaflet.extras.
library(devtools)
install_github("RedOakStrategic/geoshaper")
Code for findLocations function based on StackOverflow solution to question "Plot brushing or accessing drawn shape geometry for spatial subsets in Shiny Leaflet", posted March 1, 2017.