Description Usage Arguments Value References
Set the optimal zoom for your raster using the boundaries of the raster.
1 | setZoomBound(xdist, ydist)
|
xdist |
the horizontal distance of the map displayed in the widget, it's in degree |
ydist |
the vertical distance of the map displayed in the widget, it's in degree |
a vector composed by the optimal zoom level and its dependencies
The raster package: https://cran.r-project.org/web/packages/raster/raster.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.