Zoom the canvas to a bounding box
Usage
at_canvas_fit(proxy, bbox = NULL, call = rlang::caller_env())
Arguments
- proxy
An atcanvas_proxy.
- bbox
Optional c(xmin, ymin, xmax, ymax) in level-0 pixels; fits the
whole image when NULL.
- call
The calling environment, for error reporting.
Value
The proxy, invisibly.
See also
Other shiny:
atCanvasOutput(),
at_annotate(),
at_app(),
at_canvas(),
at_canvas_proxy(),
at_canvas_set_annotations(),
at_canvas_set_band(),
at_canvas_set_overlay(),
at_canvas_set_selection(),
at_canvas_set_tool(),
at_tile_source(),
renderAtCanvas()