Learn R Programming

amapro (version 0.1.4)

am.control: Add Control

Description

Add a Control to a map.

Usage

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

Value

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

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

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

Run the code above in your browser using DataLab