Add an item to a map
Arguments
- id
A valid widget from am.init
- itype
A string for item type name, like 'Marker'
- ...
attributes of item
See also
am.init code example
Examples
if (interactive()) {
am.init() |> am.item('Marker', position=c(116.6, 40))
}