am.control | R Documentation |
Add a Control to a map.
am.control(id, ctype = NULL, ...)
id |
|
ctype |
A string for name of control, like 'Scale','ControlBar','ToolBar'. |
... |
A named list of parameters for the chosen control |
controls are ControlBar, ToolBar and Scale.
Parameters could be position or offset.
A map widget to plot, or to save and expand with more features.
am.init code example
if (interactive()) {
am.init() |> am.control("Scale")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.