README.md
add_legend
add_legend_pal
colorRange
property are automatically converted to rgba values as required by deckgluse_tooltip
deck.gl.js
v8.1.0add_control
to add controls to the widgetdeck.gl.js
v8.0.17pkgdown
Renamed
icon_definition
to use_icon_definition
contour_definition
to use_contour_definition
default_icon_properties
to use_default_icon_properties
deck.gl.js
v8.0.16mapbox-gl.js
v1.8.0deps.yaml
now)use_carto_style
and add_basemap
using a basemap from carto as defaultadd_mapbox_basemap
, so that style
is the first parameter nowdeck.gl.js
v8.0.15add_heatmap_layer
add_grid_cell_layer
deckgl_proxy
and update_deckgl
to update layers in shiny modedeck.gl.js
v7.1.7sf
objects as data
parametersf
on how to pass sf
objects to the layers)properties <- list(
getPosition = JS("d => [d.lng, d.lat]")
getRadius = JS("d => d.radius")
)
# equals
properties <- list(
getPosition = ~lng + lat,
getRadius = ~radius
)
deck.gl.js
v7.1.6add_column_layer
add_great_circle_layer
add_bitmap_layer
add_h3_cluster_layer
add_h3_hexagon_layer
add_raster_tile_layer
deck.gl.js
v6.3.0mapbox-gl.js
v0.51.0ScreenGridLayer
HexagonLayer
example of road-safety-in-ukdeck.gl.js
v6.2.4deck.gl.js
v6.2.3add_*_layer
functionsdeck.gl.js
v6.2.2...
parameter to deckgl
to pass optional parameters to the deck
instance:add_data
and get_data
to pass data objects as separate files:deckgl() %>%
add_data(bart_stations) %>%
add_scatterplot(data = get_data(), properties = properties)
deck.gl.js
6.1.1get_property
and get_color_to_rgb_array
:properties <- list(
getText = JS("data => data.text")
)
# equals
properties <- list(
getText = get_property("text")
)
deckgl-api-reference
examples for all core layersLICENSE.note
filedeck.gl.js
v6.1.0add_*_layer
functions for all core layers including add_contour_layer
(new in version 6.1.0)encode_icon_atlas
, icon_definition
and default_icon_properties
to set icons for the icon layer:icon_properties <- list(
iconAtlas = encode_icon_atlas(),
iconMapping = list(marker = icon_definition()),
getIcon = JS("d => 'marker'"),
...
)
shinyMode
passing info.object
and latLng
back to RinititialViewState
and views
to deckgl
widget. If views
is not supplied, a single MapView
is created.point-cloud-laz-indoor-scan.R
example for how to use an OrbitView
)NEWS.md
file to track changes to the package.