zoom | R Documentation |
Zoom in on a map (plot) by providing a new extent, by default this is done by clicking twice on the map.
## S4 method for signature 'SpatRaster'
zoom(x, e=draw(), maxcell=100000, layer=1, new=FALSE, ...)
## S4 method for signature 'SpatVector'
zoom(x, e=draw(), new=FALSE, ...)
x |
SpatRaster |
e |
SpatExtent |
maxcell |
positive integer. Maximum number of cells used for the map |
layer |
positive integer to select the layer to be used |
new |
logical. If |
... |
additional arguments passed to |
SpatExtent (invisibly)
draw
, plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.