The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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)<- 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-ukdeck.gl.js
v6.2.4deck.gl.js
v6.2.3add_*_layer
functions:::browse_api_examples()[1] %>%
deckgl:::run_api_example()
deckgl deck
deck.gl.js
v6.2.2...
parameter to deckgl
to pass
optional parameters to the deck
instance:deckgl(
zoom = 5,
pickingRadius = 5,
style = list(background = "black")
)
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
:<- list(
properties getText = JS("data => data.text")
)
# equals
<- list(
properties 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:<- list(
icon_properties 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,
... )
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.