View source: R/tm_misc_elements.R
tm_minimap | R Documentation |
Creates a minimap in view mode. See addMiniMap
.
tm_minimap(server = NA, position = c("left", "bottom"), toggle = TRUE, ...)
server |
name of the provider or an URL (see |
position |
position of the scale bar Vector of two values, specifying the x and y coordinates. The first is either "left" or "right", the second either "top" or "bottom". |
toggle |
should the minimap have a button to minimise it? By default |
... |
arguments passed on to |
addMiniMap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.