| hexagon_layer | R Documentation | 
Hexagon Layer
add_hexagon_layer(
  rdeck,
  ...,
  id = uuid::UUIDgenerate(),
  name = "HexagonLayer",
  group_name = NULL,
  data = NULL,
  visible = TRUE,
  pickable = FALSE,
  opacity = 1,
  wrap_longitude = FALSE,
  position_format = "XY",
  color_format = "RGBA",
  auto_highlight = FALSE,
  highlight_color = "#00008080",
  color_domain = NULL,
  color_range = c("#ffffb2", "#fed976", "#feb24c", "#fd8d3c", "#f03b20", "#bd0026"),
  get_color_value = NULL,
  get_color_weight = 1,
  color_aggregation = "SUM",
  lower_percentile = 0,
  upper_percentile = 100,
  color_scale_type = "quantize",
  elevation_domain = NULL,
  elevation_range = c(0, 1000),
  get_elevation_value = NULL,
  get_elevation_weight = 1,
  elevation_aggregation = "SUM",
  elevation_lower_percentile = 0,
  elevation_upper_percentile = 100,
  elevation_scale = 1,
  elevation_scale_type = "linear",
  radius = 1000,
  coverage = 1,
  extruded = FALSE,
  get_position = position,
  material = TRUE,
  blending_mode = "normal",
  visibility_toggle = TRUE
)
update_hexagon_layer(
  rdeck,
  ...,
  id,
  name = cur_value(),
  group_name = cur_value(),
  data = cur_value(),
  visible = cur_value(),
  pickable = cur_value(),
  opacity = cur_value(),
  wrap_longitude = cur_value(),
  position_format = cur_value(),
  color_format = cur_value(),
  auto_highlight = cur_value(),
  highlight_color = cur_value(),
  color_domain = cur_value(),
  color_range = cur_value(),
  get_color_value = cur_value(),
  get_color_weight = cur_value(),
  color_aggregation = cur_value(),
  lower_percentile = cur_value(),
  upper_percentile = cur_value(),
  color_scale_type = cur_value(),
  elevation_domain = cur_value(),
  elevation_range = cur_value(),
  get_elevation_value = cur_value(),
  get_elevation_weight = cur_value(),
  elevation_aggregation = cur_value(),
  elevation_lower_percentile = cur_value(),
  elevation_upper_percentile = cur_value(),
  elevation_scale = cur_value(),
  elevation_scale_type = cur_value(),
  radius = cur_value(),
  coverage = cur_value(),
  extruded = cur_value(),
  get_position = cur_value(),
  material = cur_value(),
  blending_mode = cur_value(),
  visibility_toggle = cur_value()
)
| rdeck | < | 
| ... | Additional parameters that will be forwarded to deck.gl javascript without
validation nor processing. All dots must be named and will be  | 
| id | < | 
| name | < | 
| group_name | < | 
| data | < | 
| visible | < | 
| pickable | < | 
| opacity | < | 
| wrap_longitude | < | 
| position_format | < | 
| color_format | < | 
| auto_highlight | < | 
| highlight_color | < | 
| color_domain | < | 
| color_range | < | 
| get_color_value | < | 
| get_color_weight | < | 
| color_aggregation | < | 
| lower_percentile | < | 
| upper_percentile | < | 
| color_scale_type | < | 
| elevation_domain | < | 
| elevation_range | < | 
| get_elevation_value | < | 
| get_elevation_weight | < | 
| elevation_aggregation | < | 
| elevation_lower_percentile | < | 
| elevation_upper_percentile | < | 
| elevation_scale | < | 
| elevation_scale_type | < | 
| radius | < | 
| coverage | < | 
| extruded | < | 
| get_position | < | 
| material | < | 
| blending_mode | < 
 | 
| visibility_toggle | < | 
Other aggregation-layers: 
contour_layer,
cpu_grid_layer,
gpu_grid_layer,
grid_layer,
heatmap_layer,
screen_grid_layer
Other layers: 
arc_layer,
bitmap_layer,
column_layer,
contour_layer,
cpu_grid_layer,
geojson_layer,
gpu_grid_layer,
great_circle_layer,
grid_cell_layer,
grid_layer,
h3_cluster_layer,
h3_hexagon_layer,
heatmap_layer,
icon_layer,
line_layer,
mvt_layer,
path_layer,
point_cloud_layer,
polygon_layer,
quadkey_layer,
s2_layer,
scatterplot_layer,
scenegraph_layer,
screen_grid_layer,
simple_mesh_layer,
solid_polygon_layer,
terrain_layer,
text_layer,
tile_3d_layer,
tile_layer,
trips_layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.