2

Is there any way to create a zoom limit function because despite the use of minZoom and maxZoomdoesn't work in:

      leaflet() %>%
        setView(lng = lng, lat = lat, zoom=17) %>%
             addProviderTiles(providers$Esri.WorldImagery, options = m 
                 providerTileOptions(minZoom = 15, maxZoom = 100)) %>%
                 addLayersControl(options = layersControlOptions(collapsed = TRUE))
 

for not permit or the setView block the exhibition of satellite images in a zoom that Map data not yet available?

Leprechault
  • 1,531
  • 12
  • 28

1 Answers1

2

minZoom and maxZoom work fine for me, but in leafet(options = leafletOptions(minZoom = x, maxZoom = y).

Under Initializing Options: https://rstudio.github.io/leaflet/map_widget.html

rbasa
  • 452
  • 3
  • 5