NEWS.md
README.md
add_legend
add_legend_pal
deck.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
v7.1.7sf
objects as data
parametersf
on how to pass sf
objects to the layers)<- list(
properties getPosition = JS("d => [d.lng, d.lat]")
getRadius = JS("d => d.radius")
)
# equals
<- list(
properties 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-uk
deck.gl.js
v6.2.3add_*_layer
functions
deckgl:::browse_api_examples()[1] %>%
deckgl:::run_api_example()
deck
deck.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: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.# Tooltip example for a grid layer
<- list(
properties pickable = TRUE
getTooltip = JS("object => `${object.position.join(', ')}\nCount: ${object.count}`")
fixedTooltip = TRUE # show tooltip always on upper left corner,
... )