View source: R/tm_components.R
tm_mouse_coordinates | R Documentation |
Map component that adds mouse coordinates
tm_mouse_coordinates(stack, position, group_id, z)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.