I am using Openstreetmaps with R/Shiny. I am trying to restrict map display to a given range of coordinates, i.e.
xmin, ymin, xmax, ymax so that the users of the map won't be able to look other parts of the world other than the ones that are within the range.
I've made some research about it, but it hasn't been possible to find an answer. How can I do that?