Learn R Programming

quickmapr (version 0.3.0)

ze: Zooms in on extent

Description

Select a bounding box interactively and zoom to that extent. Works on an existing qmap object. Simply pass that object to ze(). A single zoom in to the selected extent results and the extent of the qmap object is changed.

Usage

ze(qmap_obj = NULL, extent = NULL)

Arguments

qmap_obj

A qmap object. Optional, but performs better with larger data sets.

extent

A Spatial* object to specify extent to zoom into.

Examples

Run this code
# NOT RUN {
data(lake)
qmap(list(lake,buffer,elev))
ze()
# }

Run the code above in your browser using DataLab