deckgl Instance

deckglOutput() renderDeckgl()

Shiny bindings for deckgl

deckgl()

Create a deckgl widget

deckgl_proxy()

Create a deckgl proxy object

update_deckgl()

Send commands to a deckgl instance in a Shiny app

set_view_state()

Set the view state of the map

does_it_work()

Check if everything works fine

Layers

add_arc_layer()

Add an arc layer to the deckgl widget

add_bitmap_layer()

Add a bitmap layer to the deckgl widget

add_column_layer()

Add a column layer to the deckgl widget

add_contour_layer()

Add a contour layer to the deckgl widget

add_geojson_layer()

Add a geojson layer to the deckgl widget

add_great_circle_layer()

Add a great circle layer to the deckgl widget

add_grid_cell_layer()

Add a grid cell layer to the deckgl widget

add_grid_layer()

Add a grid layer to the deckgl widget

add_h3_cluster_layer()

Add a h3 cluster layer to the deckgl widget

add_h3_hexagon_layer()

Add a h3 hexagon layer to the deckgl widget

add_heatmap_layer()

Add a heatmap layer to the deckgl widget

add_hexagon_layer()

Add a hexagon layer to the deckgl widget

add_icon_layer()

Add an icon layer to the deckgl widget

add_layer()

Add any kind of layer to the deckgl widget

add_line_layer()

Add a line layer to the deckgl widget

add_path_layer()

Add a path layer to the deckgl widget

add_point_cloud_layer()

Add a point cloud layer to the deckgl widget

add_polygon_layer()

Add a polygon layer to the deckgl widget

add_raster_tile_layer()

Add a raster tile layer to the deckgl widget

add_scatterplot_layer()

Add a scatterplot layer to the deckgl widget

add_screen_grid_layer()

Add a screen grid layer to the deckgl widget

add_text_layer()

Add a text layer to the deckgl widget

Props

use_carto_style()

Use a Carto style

use_contour_definition()

Create a contour definition

use_default_icon_properties()

Use default icon properties

use_icon_definition()

Create an icon definition on an atlas image

use_tooltip()

Create a tooltip property

encode_icon_atlas()

Encode atlas image to base64

Basemaps

add_basemap()

Add a basemap to the deckgl widget

add_mapbox_basemap()

Add a basemap from mapbox to the deckgl widget

Controls

add_legend()

Add a legend to the deckgl widget

add_legend_pal()

Add a legend to the deckgl widget using a palette func

add_control()

Add a control to the widget

add_json_editor()

Add a JSON-editor to the deckgl widget

Data

add_source()

Add a data source to the deckgl widget

add_source_as_dep()

Add source as JavaScript dep

bart_segments

bart segments

bart_stations

bart stations

sf_bike_parking

sf bike parking

Deprecated

get_color_to_rgb_array()

Create a getColor data accessor

get_data()

Get data

get_first_element()

Create a data accessor retrieving the first element of an array

get_last_element()

Create a data accessor retrieving the last element of an array

get_position()

Create a getPosition data accessor

get_property()

Create a data accessor

add_data()

Add JavaScript data file