R/leaflet.R
fitBBox.Rd
Helper function to set the bounds of a leaflet map widget.
fitBBox(map, bbox)
a map widget object created from leaflet()
leaflet()
A vector c(lng1, lat1, lng2, lat2) specifying the bounding box coordinates
c(lng1, lat1, lng2, lat2)
The modified map widget.
Andrzej Oleś andrzej.oles@gmail.com