- deck.gl v8.1.9
- Fix warnings
- Get Started vignette
- Group API Reference
- deck.gl v8.1.4
- Data Sources as deps
- Update README
- deck.gl v8.1.3
- Use Ace only as JSON Editor
- deck.gl v8.1.2
- JSON Editor
- Data Sources
- Get Started Docs:
README.md
- Custom legend control:
add_legend
- Automatic legend control creating elements from a palette function:
add_legend_pal
- Support snake case properties
- Hex color specifiers for all color data accessors and for the
colorRange
property are automatically converted to rgba values as required by deckgl
- Tooltip templates and styles:
use_tooltip
- Switched to
deck.gl.js
v8.1.0 - Added func
add_control
to add controls to the widget
- Switched to
deck.gl.js
v8.0.17 - Fixed bug in vignettes when building docs with
pkgdown
Renamed
icon_definition
touse_icon_definition
contour_definition
touse_contour_definition
default_icon_properties
touse_default_icon_properties
- Switched to
deck.gl.js
v8.0.16 - Switched to
mapbox-gl.js
v1.8.0 - Refactored dependencies (uses
deps.yaml
now) - Added
use_carto_style
andadd_basemap
using a basemap from carto as default - Added sample data for column and grid cell layer
- Changed parameter order in
add_mapbox_basemap
, so thatstyle
is the first parameter now
- Switched to
deck.gl.js
v8.0.15 add_heatmap_layer
add_grid_cell_layer
- Added
deckgl_proxy
andupdate_deckgl
to update layers in shiny mode
- Switched to
deck.gl.js
v7.1.7 - Added support for
sf
objects asdata
parameter - Added formula syntax for data accessors
- Added more examples (see folder
sf
on how to passsf
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
)
- Switched to
deck.gl.js
v7.1.6 add_column_layer
add_great_circle_layer
add_bitmap_layer
add_h3_cluster_layer
add_h3_hexagon_layer
add_raster_tile_layer
- Switched to
deck.gl.js
v6.3.0 - Switched to
mapbox-gl.js
v0.51.0 - Updated api example of
ScreenGridLayer
- Added
HexagonLayer
example of road-safety-in-uk
- Switched to
deck.gl.js
v6.2.4 - cran release
- Switched to
deck.gl.js
v6.2.3 - Added examples to r-docs for all
add_*_layer
functions - Added helper functions to run api-examples, not exported yet:
deckgl:::browse_api_examples()[1] %>%
deckgl:::run_api_example()
deck
- Switched to
deck.gl.js
v6.2.2 - Added more examples
- Added
...
parameter todeckgl
to pass optional parameters to thedeck
instance:
deckgl(
zoom = 5,
pickingRadius = 5,
style = list(background = "black")
)
- Added functions
add_data
andget_data
to pass data objects as separate files:
deckgl() %>%
add_data(bart_stations) %>%
add_scatterplot(data = get_data(), properties = properties)
- Switched to
deck.gl.js
6.1.1 - Added helper functions
get_property
andget_color_to_rgb_array
:
properties <- list(
getText = JS("data => data.text")
)
# equals
properties <- list(
getText = get_property("text")
)
- Refactored
deckgl-api-reference
examples for all core layers - Updated and added vignettes for core layers
- Added
LICENSE.note
file
- Switched to
deck.gl.js
v6.1.0 - Added missing
add_*_layer
functions for all core layers includingadd_contour_layer
(new in version 6.1.0) - Added helper functions
encode_icon_atlas
,icon_definition
anddefault_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'"),
...
)
- Added on click event in
shinyMode
passinginfo.object
andlatLng
back to R - Added arguments
inititialViewState
andviews
todeckgl
widget. Ifviews
is not supplied, a singleMapView
is created. - Added more examples (see
point-cloud-laz-indoor-scan.R
example for how to use anOrbitView
)
- Added a
NEWS.md
file to track changes to the package. - Added support for tooltips:
# Tooltip example for a grid layer
properties <- list(
pickable = TRUE
getTooltip = JS("object => `${object.position.join(', ')}\nCount: ${object.count}`")
fixedTooltip = TRUE # show tooltip always on upper left corner,
...
)