"plot" (see tmap_mode), the map is plot in the current graphics device. If the mode is set to "view", the map is shown interactively as an htmlwidget.# S3 method for tmap
print(x, vp = NULL, return.asp = FALSE,
mode = getOption("tmap.mode"), show = TRUE, knit = FALSE,
options = NULL, ...)knit_print.tmap(x, ..., options = NULL)
qtm or by stacking tmap-elements.viewport to draw the plot in. This is particularly useful for insets.grid.newpage() will be called, but without plotting of the map. This is used by save_tmap to determine the aspect ratio of the map."plot" (static) or "view" (interactive). See tmap_mode for details.TRUE by default, but show=FALSE can be useful for just obtaining the returned objects.knit_print be enabled, or the normal print function?mode=="plot", then a list is returned with the processed shapes and the metadata. If mode=="view", a leaflet object is returned (see also tmap_leaflet)