add_json_editor: Add a JSON-editor to the deckgl widget

View source: R/json-editor.R

add_json_editorR 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.


deckgl documentation built on March 7, 2023, 5:37 p.m.