README.mdadd_legendadd_legend_palcolorRange property are automatically converted to rgba values as required by deckgluse_tooltipdeck.gl.js v8.1.0add_control to add controls to the widgetdeck.gl.js v8.0.17pkgdownRenamed
icon_definition to use_icon_definitioncontour_definition to use_contour_definitiondefault_icon_properties to use_default_icon_propertiesdeck.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_layeradd_grid_cell_layerdeckgl_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_layeradd_great_circle_layeradd_bitmap_layeradd_h3_cluster_layeradd_h3_hexagon_layeradd_raster_tile_layerdeck.gl.js v6.3.0mapbox-gl.js v0.51.0ScreenGridLayerHexagonLayer 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.