powered by
Add a Control to a map.
am.control(id, ctype = NULL, ...)
A map widget to plot, or to save and expand with more features.
amapro id or widget from am.init
amapro
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.
am.init code example
if (interactive()) { am.init() |> am.control("Scale") }
Run the code above in your browser using DataLab