View mode options. These options are specific to the view mode.
Usage
tm_view(
use_WebGL,
control.position,
control.bases,
control.overlays,
set_bounds,
set_view,
set_zoom_limits,
leaflet.options,
...
)
Arguments
- use_WebGL
use webGL for points, lines, and polygons. This is much faster than the standard leaflet layer functions, but the number of visual variables are limited; only fill, size, and color (for lines) are supported. By default
TRUE
if no other visual variables are used.- control.position
position of the control attribute
- control.bases
base layers
- control.overlays
overlay layers
- set_bounds
logical that determines whether maximum bounds are set, or a bounding box. Not applicable in plot mode. In view mode, this is passed on to setMaxBounds()
- set_view
numeric vector that determines the view. Either a vector of three:
lng
,lat
, andzoom
, or a single value:zoom
. See setView(). Only applicable ifbbox
is not specified- set_zoom_limits
numeric vector of two that set the minimum and maximum zoom levels (see tileOptions()).
- leaflet.options
options passed on to leafletOptions()
- ...
to catch deprecated arguments