Zoom in on a map
Zoom in on a map (plot) by providing a new extent, by default this is done by clicking twice on the map. methods
## 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
: SpatRastere
: SpatExtentmaxcell
: positive integer. Maximum number of cells used for the maplayer
: positive integer to select the layer to be usednew
: logical. If TRUE
, the zoomed in map will appear on a new device (window)...
: additional arguments passed to plot
SpatExtent (invisibly)
draw
, plot
Useful links