View source: R/02-leafletSettings.R
drawFittedBounds | R Documentation |
Draw Fitted Bounds
drawFittedBounds(map, showBounds, bounds)
map |
leaflet map |
showBounds |
logical show/hide fitted bounds |
bounds |
list of (west, east, south, north) boundaries to be drawn |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.