Add a Control to a map.
Arguments
- id
amapro
id or widget from am.init- ctype
A string for name of control, like 'Scale','ControlBar','ToolBar'.
- ...
A named list of parameters for the chosen control
Details
controls are ControlBar, ToolBar and Scale.
Parameters could be position or offset.
See also
am.init code example
Examples
if (interactive()) {
am.init() |> am.control("Scale")
}