View source: R/tm_components.R
tm_minimap | R Documentation |
Map component that adds a minimap in view mode.
tm_minimap(server, toggle, stack, position, group_id, z, ...)
server |
name of the provider or an URL (see |
toggle |
should the minimap have a button to minimise it? By default |
stack |
stack with other map components, either |
position |
The position specification of the component: an object created with |
group_id |
Component group id name. All components (e.g. legends, titles, etc) with the same |
z |
z index, e.g. the place of the component relative to the other componets |
... |
Arguments passed on to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.