add_json_editor {deckgl}R Documentation

Add a JSON-editor to the deckgl widget

Description

Adds a Ace-editor in JSON mode to the map to interact with the layers of your deck instance.

Usage

add_json_editor(deckgl, ..., style = "width: 40%;",
  theme = "idle_fingers")

Arguments

deckgl

A deckgl widget object.

...

Optional args that are passed to the editor. See https://github.com/ajaxorg/ace/wiki/Configuring-Ace for a list of available options.

style

A cssText string that will modefiy the default style of the container that holds the editor.

theme

The name of the theme used by the editor.


[Package deckgl version 0.2.7 Index]