powered by
Convert map elements to JSON string
am.inspect(wt, json = TRUE, ...)
A JSON string if json is TRUE and a list otherwise.
json
TRUE
list
An amapro widget as returned by am.init
amapro
Boolean whether to return a JSON, or a list, default TRUE
Additional arguments to pass to toJSON
Must be invoked or chained as last command.
if (interactive()) { am.init(viewMode= '3D', zoom= 10, pitch= 60) |> am.control(ctype= 'ControlBar', position= 'RT') |> am.inspect() }
Run the code above in your browser using DataLab