am.control {amapro}R Documentation

Add Control

Description

Add a Control to a map.

Usage

am.control(id, ctype = NULL, ...)

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.

Value

A map widget to plot, or to save and expand with more features.

See Also

am.init code example

Examples

if (interactive()) {
  am.init() |> am.control("Scale")
}

[Package amapro version 0.1.3 Index]