datadiversitylab / BarrioMap

https://viz.datascience.arizona.edu/barriomap/
MIT License
0 stars 1 forks source link

Disable zoom options in the map #2

Closed cromanpa94 closed 1 year ago

cromanpa94 commented 1 year ago

I'd also disable the zoom option in the map itself as the zoom levels are going to be set directly from the drop down menu

cromanpa94 commented 1 year ago

@rog-SARTHAK, please comment on the issue with a link to the commit used to solve it and then, close it.

rog-SARTHAK commented 1 year ago

output$map <- renderLeaflet({ leaflet(options = leafletOptions(zoomControl = FALSE))

cromanpa94 commented 1 year ago

The zoom control option was disabled in commit https://github.com/cromanpa94/OSM.sf.shiny/commit/457222809343724dd046353e0eb41063159c1196. For this, we set zoomControl = FALSE) in the leafletOptions() within the server.