Function for create a zoom limit for don't show Map data not yet available

Viewed 73

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?

1 Answers
Related