setZoomBound: Zoom functions :

Description Usage Arguments Value References

Description

Set the optimal zoom for your raster using the boundaries of the raster.

Usage

1
setZoomBound(xdist, ydist)

Arguments

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

Value

a vector composed by the optimal zoom level and its dependencies

References

The raster package: https://cran.r-project.org/web/packages/raster/raster.pdf


KillianDudduss/LeafletGoogle documentation built on May 23, 2019, 10:33 p.m.