I've created a map using the Leaflet package in R and added an inset locator map using
addMiniMap(). I would like to add polygons features to said inset map.
I've already added the polygons to the main map. Currently, my code looks something like this (simplified), where
myPolys is a
map <- leaflet(myPolys) %>% addPolygons(params...) %>% addMiniMap(params...)
Looking at the documentation for the R package here I'm not 100% sure that this is even possible. Am I right?