Title: | Deck.gl Widget |
---|---|
Description: | Deck.gl widget for R. |
Authors: | Anthony North [aut, cre] |
Maintainer: | Anthony North <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.5.2.9000 |
Built: | 2024-11-12 05:58:03 UTC |
Source: | https://github.com/qfes/rdeck |
Arc Layer
add_arc_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ArcLayer", 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", get_source_position = source_position, get_target_position = target_position, get_source_color = "#000000ff", get_target_color = "#000000ff", get_width = 1, get_height = 1, get_tilt = 0, great_circle = FALSE, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_arc_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_source_color = cur_value(), get_target_color = cur_value(), get_width = cur_value(), get_height = cur_value(), get_tilt = cur_value(), great_circle = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_arc_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ArcLayer", 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", get_source_position = source_position, get_target_position = target_position, get_source_color = "#000000ff", get_target_color = "#000000ff", get_width = 1, get_height = 1, get_tilt = 0, great_circle = FALSE, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_arc_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_source_color = cur_value(), get_target_color = cur_value(), get_width = cur_value(), get_height = cur_value(), get_tilt = cur_value(), great_circle = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_source_position |
< |
get_target_position |
< |
get_source_color |
< |
get_target_color |
< |
get_width |
< |
get_height |
< |
get_tilt |
< |
great_circle |
< |
width_units |
< |
width_scale |
< |
width_min_pixels |
< |
width_max_pixels |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/arc-layer.md
Other core-layers:
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_layer
Other layers:
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
,
hexagon_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
Bitmap Layer
add_bitmap_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "BitmapLayer", 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", image = NULL, bounds = c(1, 0, 0, 1), desaturate = 0, transparent_color = "#00000000", tint_color = "#ffffff", blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_bitmap_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(), image = cur_value(), bounds = cur_value(), desaturate = cur_value(), transparent_color = cur_value(), tint_color = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_bitmap_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "BitmapLayer", 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", image = NULL, bounds = c(1, 0, 0, 1), desaturate = 0, transparent_color = "#00000000", tint_color = "#ffffff", blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_bitmap_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(), image = cur_value(), bounds = cur_value(), desaturate = cur_value(), transparent_color = cur_value(), tint_color = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
image |
< |
bounds |
< |
desaturate |
< |
transparent_color |
< |
tint_color |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/bitmap-layer.md
Other core-layers:
arc_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_layer
Other layers:
arc_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
,
hexagon_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
Generate a breaks vector of size n
with linearly spaced breaks.
breaks_linear(n = 10)
breaks_linear(n = 10)
n |
< |
If input range is non-finite, an empty vector is returned.
Other breaks:
breaks_log()
,
breaks_manual()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()
breaks_linear(5)(-10:10) breaks_linear()(-1:1)
breaks_linear(5)(-10:10) breaks_linear()(-1:1)
Generate a breaks vector of size n
with log log_trans spaced breaks.
breaks_log(n = 10, base = exp(1))
breaks_log(n = 10, base = exp(1))
n |
< |
base |
< |
Input range must be finite and either be strictly negative or strictly positive; it must not cross, nor include 0.
If input range is non-finite, an empty vector is returned.
This function has a different goal to scales::breaks_log: it produces evenly spaced log-breaks for use with d3-scale, it doesn't produce breaks with pretty labels.
Other breaks:
breaks_linear()
,
breaks_manual()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()
breaks_log(5)(-10:-1) breaks_log(5)(1:10)
breaks_log(5)(-10:-1) breaks_log(5)(1:10)
Generate a breaks vector with pre-determined threshold values.
breaks_manual(thresholds = 0.5)
breaks_manual(thresholds = 0.5)
thresholds |
< |
Wraps thresholds
in the range of input data (which may be null or non-finite).
Thresholds that fall outside the range of input are omitted from the output.
Other breaks:
breaks_linear()
,
breaks_log()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()
breaks_manual(0)(-10:10) breaks_manual(c(-10, 0, 10))(-10:10) breaks_manual(-1:1 * 1e6)(NULL)
breaks_manual(0)(-10:10) breaks_manual(c(-10, 0, 10))(-10:10) breaks_manual(-1:1 * 1e6)(NULL)
Generate a breaks vector of size n
with exponentially power_trans spaced breaks.
breaks_power(n = 10, exponent = 0.5)
breaks_power(n = 10, exponent = 0.5)
n |
< |
exponent |
< |
If input range is non-finite, an empty vector is returned.
Other breaks:
breaks_linear()
,
breaks_log()
,
breaks_manual()
,
breaks_symlog()
,
breaks_trans()
breaks_power(5)(-10:10) breaks_power(5, exponent = 1 / 3)(-1:1)
breaks_power(5)(-10:10) breaks_power(5, exponent = 1 / 3)(-1:1)
Generate a breaks vector of size n
with log1p symlog_trans spaced breaks.
breaks_symlog(n = 10)
breaks_symlog(n = 10)
n |
< |
If input range is non-finite, an empty vector is returned.
Other breaks:
breaks_linear()
,
breaks_log()
,
breaks_manual()
,
breaks_power()
,
breaks_trans()
breaks_symlog(5)(-10:10) breaks_symlog(5)(0:10)
breaks_symlog(5)(-10:10) breaks_symlog(5)(0:10)
Generate a breaks vector of size n
with evenly spaced breaks in trans
domain.
breaks_trans(n = 10, trans)
breaks_trans(n = 10, trans)
n |
< |
trans |
< |
Breaks are generated by transforming the input range to trans
domain, generating
a regular sequence of size n
for the transformed range, then inverting the transform.
The input range must be finite for both the input domain and the trans
domain. If
input is not finite, an empty vector is returned.
Other breaks:
breaks_linear()
,
breaks_log()
,
breaks_manual()
,
breaks_power()
,
breaks_symlog()
breaks_trans(trans = scales::identity_trans())(-10:10) breaks_trans(trans = symlog_trans())(-10:10) breaks_trans(trans = power_trans())(-10:10) breaks_manual(c(-10, 0, 10))(-10:10) breaks_manual(-1:1 * 1e6)(NULL)
breaks_trans(trans = scales::identity_trans())(-10:10) breaks_trans(trans = symlog_trans())(-10:10) breaks_trans(trans = power_trans())(-10:10) breaks_manual(c(-10, 0, 10))(-10:10) breaks_manual(-1:1 * 1e6)(NULL)
Column Layer
add_column_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ColumnLayer", 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", disk_resolution = 20, vertices = NULL, radius = 1000, angle = 0, offset = c(0, 0), coverage = 1, elevation_scale = 1, radius_units = "meters", line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, extruded = FALSE, wireframe = FALSE, filled = TRUE, stroked = FALSE, get_position = position, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_column_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(), disk_resolution = cur_value(), vertices = cur_value(), radius = cur_value(), angle = cur_value(), offset = cur_value(), coverage = cur_value(), elevation_scale = cur_value(), radius_units = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), extruded = cur_value(), wireframe = cur_value(), filled = cur_value(), stroked = cur_value(), get_position = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_column_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ColumnLayer", 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", disk_resolution = 20, vertices = NULL, radius = 1000, angle = 0, offset = c(0, 0), coverage = 1, elevation_scale = 1, radius_units = "meters", line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, extruded = FALSE, wireframe = FALSE, filled = TRUE, stroked = FALSE, get_position = position, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_column_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(), disk_resolution = cur_value(), vertices = cur_value(), radius = cur_value(), angle = cur_value(), offset = cur_value(), coverage = cur_value(), elevation_scale = cur_value(), radius_units = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), extruded = cur_value(), wireframe = cur_value(), filled = cur_value(), stroked = cur_value(), get_position = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
disk_resolution |
< |
vertices |
|
radius |
< |
angle |
< |
offset |
< |
coverage |
< |
elevation_scale |
< |
radius_units |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
extruded |
< |
wireframe |
< |
filled |
< |
stroked |
< |
get_position |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/column-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_layer
Other layers:
arc_layer
,
bitmap_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
,
hexagon_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
Contour Layer
add_contour_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ContourLayer", 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", cell_size = 1000, get_position = position, get_weight = 1, gpu_aggregation = TRUE, aggregation = "SUM", contours = c(list(threshold = 1)), z_offset = 0.005, blending_mode = "normal", visibility_toggle = TRUE ) update_contour_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(), cell_size = cur_value(), get_position = cur_value(), get_weight = cur_value(), gpu_aggregation = cur_value(), aggregation = cur_value(), contours = cur_value(), z_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_contour_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ContourLayer", 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", cell_size = 1000, get_position = position, get_weight = 1, gpu_aggregation = TRUE, aggregation = "SUM", contours = c(list(threshold = 1)), z_offset = 0.005, blending_mode = "normal", visibility_toggle = TRUE ) update_contour_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(), cell_size = cur_value(), get_position = cur_value(), get_weight = cur_value(), gpu_aggregation = cur_value(), aggregation = cur_value(), contours = cur_value(), z_offset = 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 |
< |
cell_size |
< |
get_position |
< |
get_weight |
< |
gpu_aggregation |
< |
aggregation |
< |
contours |
array |
z_offset |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
cpu_grid_layer
,
gpu_grid_layer
,
grid_layer
,
heatmap_layer
,
hexagon_layer
,
screen_grid_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_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
,
hexagon_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
CPU Grid Layer
add_cpu_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "CPUGridLayer", 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", cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE ) update_cpu_grid_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(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_cpu_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "CPUGridLayer", 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", cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE ) update_cpu_grid_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(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = 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 |
< |
cell_size |
< |
coverage |
< |
get_position |
< |
extruded |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
contour_layer
,
gpu_grid_layer
,
grid_layer
,
heatmap_layer
,
hexagon_layer
,
screen_grid_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_layer
,
contour_layer
,
geojson_layer
,
gpu_grid_layer
,
great_circle_layer
,
grid_cell_layer
,
grid_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
Options for the polygon editor
editor_options(mode = cur_value(), features = cur_value())
editor_options(mode = cur_value(), features = cur_value())
mode |
<
|
features |
< |
Format numeric and integer values.
format_number(tick, digits = 2)
format_number(tick, digits = 2)
tick |
a vector of tick values |
digits |
the number of digits to output |
GeoJson Layer
add_geojson_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GeoJsonLayer", 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", filled = TRUE, stroked = TRUE, line_width_max_pixels = 9007199254740991, line_width_min_pixels = 0, line_width_scale = 1, line_width_units = "meters", point_radius_max_pixels = 9007199254740991, point_radius_min_pixels = 0, point_radius_scale = 1, point_radius_units = "meters", point_antialiasing = TRUE, point_billboard = FALSE, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_point_radius = 1, icon_atlas = NULL, icon_mapping = list(), icon_size_max_pixels = 9007199254740991, icon_size_min_pixels = 0, icon_size_scale = 1, icon_size_units = "pixels", icon_alpha_cutoff = 0.05, icon_billboard = TRUE, get_icon = icon, get_icon_angle = 0, get_icon_color = "#000000ff", get_icon_pixel_offset = c(0, 0), get_icon_size = 1, text_size_max_pixels = 9007199254740991, text_size_min_pixels = 0, text_size_scale = 1, text_size_units = "pixels", text_background = FALSE, text_background_padding = c(0, 0, 0, 0), text_font_family = "Roboto, Helvetica, Arial, san-serif", text_font_weight = "normal", text_line_height = 1, text_max_width = -1, text_outline_color = "#000000ff", text_outline_width = 0, text_word_break = "break-word", text_billboard = TRUE, text_font_settings = list(), get_text = text, get_text_angle = 0, get_text_color = "#000000ff", get_text_pixel_offset = c(0, 0), get_text_size = 32, get_text_anchor = "middle", get_text_alignment_baseline = "center", get_text_background_color = "#ffffffff", get_text_border_color = "#000000ff", get_text_border_width = 0, line_joint_rounded = FALSE, line_cap_rounded = FALSE, line_miter_limit = 4, line_billboard = FALSE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, material = TRUE, get_elevation = 1000, point_type = "circle", blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_geojson_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(), filled = cur_value(), stroked = cur_value(), line_width_max_pixels = cur_value(), line_width_min_pixels = cur_value(), line_width_scale = cur_value(), line_width_units = cur_value(), point_radius_max_pixels = cur_value(), point_radius_min_pixels = cur_value(), point_radius_scale = cur_value(), point_radius_units = cur_value(), point_antialiasing = cur_value(), point_billboard = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_point_radius = cur_value(), icon_atlas = cur_value(), icon_mapping = cur_value(), icon_size_max_pixels = cur_value(), icon_size_min_pixels = cur_value(), icon_size_scale = cur_value(), icon_size_units = cur_value(), icon_alpha_cutoff = cur_value(), icon_billboard = cur_value(), get_icon = cur_value(), get_icon_angle = cur_value(), get_icon_color = cur_value(), get_icon_pixel_offset = cur_value(), get_icon_size = cur_value(), text_size_max_pixels = cur_value(), text_size_min_pixels = cur_value(), text_size_scale = cur_value(), text_size_units = cur_value(), text_background = cur_value(), text_background_padding = cur_value(), text_font_family = cur_value(), text_font_weight = cur_value(), text_line_height = cur_value(), text_max_width = cur_value(), text_outline_color = cur_value(), text_outline_width = cur_value(), text_word_break = cur_value(), text_billboard = cur_value(), text_font_settings = cur_value(), get_text = cur_value(), get_text_angle = cur_value(), get_text_color = cur_value(), get_text_pixel_offset = cur_value(), get_text_size = cur_value(), get_text_anchor = cur_value(), get_text_alignment_baseline = cur_value(), get_text_background_color = cur_value(), get_text_border_color = cur_value(), get_text_border_width = cur_value(), line_joint_rounded = cur_value(), line_cap_rounded = cur_value(), line_miter_limit = cur_value(), line_billboard = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), material = cur_value(), get_elevation = cur_value(), point_type = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_geojson_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GeoJsonLayer", 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", filled = TRUE, stroked = TRUE, line_width_max_pixels = 9007199254740991, line_width_min_pixels = 0, line_width_scale = 1, line_width_units = "meters", point_radius_max_pixels = 9007199254740991, point_radius_min_pixels = 0, point_radius_scale = 1, point_radius_units = "meters", point_antialiasing = TRUE, point_billboard = FALSE, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_point_radius = 1, icon_atlas = NULL, icon_mapping = list(), icon_size_max_pixels = 9007199254740991, icon_size_min_pixels = 0, icon_size_scale = 1, icon_size_units = "pixels", icon_alpha_cutoff = 0.05, icon_billboard = TRUE, get_icon = icon, get_icon_angle = 0, get_icon_color = "#000000ff", get_icon_pixel_offset = c(0, 0), get_icon_size = 1, text_size_max_pixels = 9007199254740991, text_size_min_pixels = 0, text_size_scale = 1, text_size_units = "pixels", text_background = FALSE, text_background_padding = c(0, 0, 0, 0), text_font_family = "Roboto, Helvetica, Arial, san-serif", text_font_weight = "normal", text_line_height = 1, text_max_width = -1, text_outline_color = "#000000ff", text_outline_width = 0, text_word_break = "break-word", text_billboard = TRUE, text_font_settings = list(), get_text = text, get_text_angle = 0, get_text_color = "#000000ff", get_text_pixel_offset = c(0, 0), get_text_size = 32, get_text_anchor = "middle", get_text_alignment_baseline = "center", get_text_background_color = "#ffffffff", get_text_border_color = "#000000ff", get_text_border_width = 0, line_joint_rounded = FALSE, line_cap_rounded = FALSE, line_miter_limit = 4, line_billboard = FALSE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, material = TRUE, get_elevation = 1000, point_type = "circle", blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_geojson_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(), filled = cur_value(), stroked = cur_value(), line_width_max_pixels = cur_value(), line_width_min_pixels = cur_value(), line_width_scale = cur_value(), line_width_units = cur_value(), point_radius_max_pixels = cur_value(), point_radius_min_pixels = cur_value(), point_radius_scale = cur_value(), point_radius_units = cur_value(), point_antialiasing = cur_value(), point_billboard = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_point_radius = cur_value(), icon_atlas = cur_value(), icon_mapping = cur_value(), icon_size_max_pixels = cur_value(), icon_size_min_pixels = cur_value(), icon_size_scale = cur_value(), icon_size_units = cur_value(), icon_alpha_cutoff = cur_value(), icon_billboard = cur_value(), get_icon = cur_value(), get_icon_angle = cur_value(), get_icon_color = cur_value(), get_icon_pixel_offset = cur_value(), get_icon_size = cur_value(), text_size_max_pixels = cur_value(), text_size_min_pixels = cur_value(), text_size_scale = cur_value(), text_size_units = cur_value(), text_background = cur_value(), text_background_padding = cur_value(), text_font_family = cur_value(), text_font_weight = cur_value(), text_line_height = cur_value(), text_max_width = cur_value(), text_outline_color = cur_value(), text_outline_width = cur_value(), text_word_break = cur_value(), text_billboard = cur_value(), text_font_settings = cur_value(), get_text = cur_value(), get_text_angle = cur_value(), get_text_color = cur_value(), get_text_pixel_offset = cur_value(), get_text_size = cur_value(), get_text_anchor = cur_value(), get_text_alignment_baseline = cur_value(), get_text_background_color = cur_value(), get_text_border_color = cur_value(), get_text_border_width = cur_value(), line_joint_rounded = cur_value(), line_cap_rounded = cur_value(), line_miter_limit = cur_value(), line_billboard = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), material = cur_value(), get_elevation = cur_value(), point_type = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
filled |
< |
stroked |
< |
line_width_max_pixels |
< |
line_width_min_pixels |
< |
line_width_scale |
< |
line_width_units |
< |
point_radius_max_pixels |
< |
point_radius_min_pixels |
< |
point_radius_scale |
< |
point_radius_units |
< |
point_antialiasing |
< |
point_billboard |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_point_radius |
< |
icon_atlas |
< |
icon_mapping |
< |
icon_size_max_pixels |
< |
icon_size_min_pixels |
< |
icon_size_scale |
< |
icon_size_units |
< |
icon_alpha_cutoff |
< |
icon_billboard |
< |
get_icon |
< |
get_icon_angle |
< |
get_icon_color |
< |
get_icon_pixel_offset |
< |
get_icon_size |
< |
text_size_max_pixels |
< |
text_size_min_pixels |
< |
text_size_scale |
< |
text_size_units |
< |
text_background |
< |
text_background_padding |
< |
text_font_family |
< |
text_font_weight |
< |
text_line_height |
< |
text_max_width |
< |
text_outline_color |
< |
text_outline_width |
< |
text_word_break |
< |
text_billboard |
< |
text_font_settings |
< |
get_text |
< |
get_text_angle |
< |
get_text_color |
< |
get_text_pixel_offset |
< |
get_text_size |
< |
get_text_anchor |
< |
get_text_alignment_baseline |
< |
get_text_background_color |
< |
get_text_border_color |
< |
get_text_border_width |
< |
line_joint_rounded |
< |
line_cap_rounded |
< |
line_miter_limit |
number |
line_billboard |
< |
extruded |
< |
wireframe |
< |
elevation_scale |
< |
material |
< |
get_elevation |
< |
point_type |
<
Or a combination, separated by |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/geojson-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_layer
,
contour_layer
,
cpu_grid_layer
,
gpu_grid_layer
,
great_circle_layer
,
grid_cell_layer
,
grid_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
GPU Grid Layer
add_gpu_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GPUGridLayer", 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_weight = 1, color_aggregation = "SUM", elevation_domain = NULL, elevation_range = c(0, 1000), get_elevation_weight = 1, elevation_aggregation = "SUM", elevation_scale = 1, cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE ) update_gpu_grid_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_weight = cur_value(), color_aggregation = cur_value(), elevation_domain = cur_value(), elevation_range = cur_value(), get_elevation_weight = cur_value(), elevation_aggregation = cur_value(), elevation_scale = cur_value(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_gpu_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GPUGridLayer", 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_weight = 1, color_aggregation = "SUM", elevation_domain = NULL, elevation_range = c(0, 1000), get_elevation_weight = 1, elevation_aggregation = "SUM", elevation_scale = 1, cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE ) update_gpu_grid_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_weight = cur_value(), color_aggregation = cur_value(), elevation_domain = cur_value(), elevation_range = cur_value(), get_elevation_weight = cur_value(), elevation_aggregation = cur_value(), elevation_scale = cur_value(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = 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_weight |
< |
color_aggregation |
< |
elevation_domain |
< |
elevation_range |
< |
get_elevation_weight |
< |
elevation_aggregation |
< |
elevation_scale |
< |
cell_size |
< |
coverage |
< |
get_position |
< |
extruded |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
contour_layer
,
cpu_grid_layer
,
grid_layer
,
heatmap_layer
,
hexagon_layer
,
screen_grid_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_layer
,
contour_layer
,
cpu_grid_layer
,
geojson_layer
,
great_circle_layer
,
grid_cell_layer
,
grid_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
Great Circle Layer
add_great_circle_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GreatCircleLayer", 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", get_source_position = source_position, get_target_position = target_position, get_source_color = "#000000ff", get_target_color = "#000000ff", get_width = 1, get_height = 0, get_tilt = 0, great_circle = TRUE, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_great_circle_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_source_color = cur_value(), get_target_color = cur_value(), get_width = cur_value(), get_height = cur_value(), get_tilt = cur_value(), great_circle = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_great_circle_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GreatCircleLayer", 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", get_source_position = source_position, get_target_position = target_position, get_source_color = "#000000ff", get_target_color = "#000000ff", get_width = 1, get_height = 0, get_tilt = 0, great_circle = TRUE, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_great_circle_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_source_color = cur_value(), get_target_color = cur_value(), get_width = cur_value(), get_height = cur_value(), get_tilt = cur_value(), great_circle = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_source_position |
< |
get_target_position |
< |
get_source_color |
< |
get_target_color |
< |
get_width |
< |
get_height |
< |
get_tilt |
< |
great_circle |
< |
width_units |
< |
width_scale |
< |
width_min_pixels |
< |
width_max_pixels |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
Other geo-layers:
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_layer
,
contour_layer
,
cpu_grid_layer
,
geojson_layer
,
gpu_grid_layer
,
grid_cell_layer
,
grid_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
Grid Cell Layer
add_grid_cell_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GridCellLayer", 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", disk_resolution = 20, vertices = NULL, radius = 1000, angle = 0, offset = c(1, 1), coverage = 1, elevation_scale = 1, radius_units = "meters", line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, extruded = FALSE, wireframe = FALSE, filled = TRUE, stroked = FALSE, get_position = position, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, cell_size = 1000, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_grid_cell_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(), disk_resolution = cur_value(), vertices = cur_value(), radius = cur_value(), angle = cur_value(), offset = cur_value(), coverage = cur_value(), elevation_scale = cur_value(), radius_units = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), extruded = cur_value(), wireframe = cur_value(), filled = cur_value(), stroked = cur_value(), get_position = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), cell_size = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_grid_cell_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GridCellLayer", 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", disk_resolution = 20, vertices = NULL, radius = 1000, angle = 0, offset = c(1, 1), coverage = 1, elevation_scale = 1, radius_units = "meters", line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, extruded = FALSE, wireframe = FALSE, filled = TRUE, stroked = FALSE, get_position = position, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, cell_size = 1000, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_grid_cell_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(), disk_resolution = cur_value(), vertices = cur_value(), radius = cur_value(), angle = cur_value(), offset = cur_value(), coverage = cur_value(), elevation_scale = cur_value(), radius_units = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), extruded = cur_value(), wireframe = cur_value(), filled = cur_value(), stroked = cur_value(), get_position = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), cell_size = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
disk_resolution |
< |
vertices |
|
radius |
< |
angle |
< |
offset |
< |
coverage |
< |
elevation_scale |
< |
radius_units |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
extruded |
< |
wireframe |
< |
filled |
< |
stroked |
< |
get_position |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
cell_size |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/grid-cell-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_layer
Other layers:
arc_layer
,
bitmap_layer
,
column_layer
,
contour_layer
,
cpu_grid_layer
,
geojson_layer
,
gpu_grid_layer
,
great_circle_layer
,
grid_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
Grid Layer
add_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GridLayer", 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_weight = 1, color_aggregation = "SUM", elevation_domain = NULL, elevation_range = c(0, 1000), get_elevation_weight = 1, elevation_aggregation = "SUM", elevation_scale = 1, cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, get_color_value = NULL, lower_percentile = 0, upper_percentile = 100, color_scale_type = "quantize", get_elevation_value = NULL, elevation_lower_percentile = 0, elevation_upper_percentile = 100, elevation_scale_type = "linear", gpu_aggregation = FALSE, blending_mode = "normal", visibility_toggle = TRUE ) update_grid_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_weight = cur_value(), color_aggregation = cur_value(), elevation_domain = cur_value(), elevation_range = cur_value(), get_elevation_weight = cur_value(), elevation_aggregation = cur_value(), elevation_scale = cur_value(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = cur_value(), material = cur_value(), get_color_value = cur_value(), lower_percentile = cur_value(), upper_percentile = cur_value(), color_scale_type = cur_value(), get_elevation_value = cur_value(), elevation_lower_percentile = cur_value(), elevation_upper_percentile = cur_value(), elevation_scale_type = cur_value(), gpu_aggregation = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "GridLayer", 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_weight = 1, color_aggregation = "SUM", elevation_domain = NULL, elevation_range = c(0, 1000), get_elevation_weight = 1, elevation_aggregation = "SUM", elevation_scale = 1, cell_size = 1000, coverage = 1, get_position = position, extruded = FALSE, material = TRUE, get_color_value = NULL, lower_percentile = 0, upper_percentile = 100, color_scale_type = "quantize", get_elevation_value = NULL, elevation_lower_percentile = 0, elevation_upper_percentile = 100, elevation_scale_type = "linear", gpu_aggregation = FALSE, blending_mode = "normal", visibility_toggle = TRUE ) update_grid_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_weight = cur_value(), color_aggregation = cur_value(), elevation_domain = cur_value(), elevation_range = cur_value(), get_elevation_weight = cur_value(), elevation_aggregation = cur_value(), elevation_scale = cur_value(), cell_size = cur_value(), coverage = cur_value(), get_position = cur_value(), extruded = cur_value(), material = cur_value(), get_color_value = cur_value(), lower_percentile = cur_value(), upper_percentile = cur_value(), color_scale_type = cur_value(), get_elevation_value = cur_value(), elevation_lower_percentile = cur_value(), elevation_upper_percentile = cur_value(), elevation_scale_type = cur_value(), gpu_aggregation = 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_weight |
< |
color_aggregation |
< |
elevation_domain |
< |
elevation_range |
< |
get_elevation_weight |
< |
elevation_aggregation |
< |
elevation_scale |
< |
cell_size |
< |
coverage |
< |
get_position |
< |
extruded |
< |
material |
< |
get_color_value |
< |
lower_percentile |
< |
upper_percentile |
< |
color_scale_type |
< |
get_elevation_value |
< |
elevation_lower_percentile |
< |
elevation_upper_percentile |
< |
elevation_scale_type |
< |
gpu_aggregation |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
contour_layer
,
cpu_grid_layer
,
gpu_grid_layer
,
heatmap_layer
,
hexagon_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
,
h3_cluster_layer
,
h3_hexagon_layer
,
heatmap_layer
,
hexagon_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
H3 Cluster Layer
add_h3_cluster_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "H3ClusterLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_hexagons = hexagons, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_h3_cluster_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_hexagons = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_h3_cluster_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "H3ClusterLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_hexagons = hexagons, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_h3_cluster_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_hexagons = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
stroked |
< |
filled |
< |
extruded |
< |
elevation_scale |
< |
wireframe |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
line_joint_rounded |
< |
line_miter_limit |
number |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
get_hexagons |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/h3-cluster-layer.md
Other geo-layers:
great_circle_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_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_hexagon_layer
,
heatmap_layer
,
hexagon_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
H3 Hexagon Layer
add_h3_hexagon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "H3HexagonLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, high_precision = "auto", coverage = 1, center_hexagon = NULL, get_hexagon = hexagon, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_h3_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), high_precision = cur_value(), coverage = cur_value(), center_hexagon = cur_value(), get_hexagon = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_h3_hexagon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "H3HexagonLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, high_precision = "auto", coverage = 1, center_hexagon = NULL, get_hexagon = hexagon, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_h3_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), high_precision = cur_value(), coverage = cur_value(), center_hexagon = cur_value(), get_hexagon = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
stroked |
< |
filled |
< |
extruded |
< |
elevation_scale |
< |
wireframe |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
line_joint_rounded |
< |
line_miter_limit |
number |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
high_precision |
<
|
coverage |
< |
center_hexagon |
< |
get_hexagon |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/h3-hexagon-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_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
,
heatmap_layer
,
hexagon_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
Heatmap Layer
add_heatmap_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "HeatmapLayer", 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", get_position = position, get_weight = 1, intensity = 1, radius_pixels = 50, color_range = c("#ffffb2", "#fed976", "#feb24c", "#fd8d3c", "#f03b20", "#bd0026"), threshold = 0.05, color_domain = NULL, aggregation = "SUM", weights_texture_size = 2048, debounce_timeout = 500, blending_mode = "normal", visibility_toggle = TRUE ) update_heatmap_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(), get_position = cur_value(), get_weight = cur_value(), intensity = cur_value(), radius_pixels = cur_value(), color_range = cur_value(), threshold = cur_value(), color_domain = cur_value(), aggregation = cur_value(), weights_texture_size = cur_value(), debounce_timeout = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_heatmap_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "HeatmapLayer", 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", get_position = position, get_weight = 1, intensity = 1, radius_pixels = 50, color_range = c("#ffffb2", "#fed976", "#feb24c", "#fd8d3c", "#f03b20", "#bd0026"), threshold = 0.05, color_domain = NULL, aggregation = "SUM", weights_texture_size = 2048, debounce_timeout = 500, blending_mode = "normal", visibility_toggle = TRUE ) update_heatmap_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(), get_position = cur_value(), get_weight = cur_value(), intensity = cur_value(), radius_pixels = cur_value(), color_range = cur_value(), threshold = cur_value(), color_domain = cur_value(), aggregation = cur_value(), weights_texture_size = cur_value(), debounce_timeout = 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 |
< |
get_position |
< |
get_weight |
< |
intensity |
< |
radius_pixels |
< |
color_range |
< |
threshold |
< |
color_domain |
< |
aggregation |
< |
weights_texture_size |
< |
debounce_timeout |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
contour_layer
,
cpu_grid_layer
,
gpu_grid_layer
,
grid_layer
,
hexagon_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
,
hexagon_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
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() )
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
Icon Layer
add_icon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "IconLayer", 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", icon_atlas = NULL, icon_mapping = list(), size_scale = 1, billboard = TRUE, size_units = "pixels", size_min_pixels = 0, size_max_pixels = 9007199254740991, alpha_cutoff = 0.05, get_position = position, get_icon = icon, get_color = "#000000ff", get_size = 1, get_angle = 0, get_pixel_offset = c(0, 0), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_icon_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(), icon_atlas = cur_value(), icon_mapping = cur_value(), size_scale = cur_value(), billboard = cur_value(), size_units = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), alpha_cutoff = cur_value(), get_position = cur_value(), get_icon = cur_value(), get_color = cur_value(), get_size = cur_value(), get_angle = cur_value(), get_pixel_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_icon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "IconLayer", 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", icon_atlas = NULL, icon_mapping = list(), size_scale = 1, billboard = TRUE, size_units = "pixels", size_min_pixels = 0, size_max_pixels = 9007199254740991, alpha_cutoff = 0.05, get_position = position, get_icon = icon, get_color = "#000000ff", get_size = 1, get_angle = 0, get_pixel_offset = c(0, 0), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_icon_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(), icon_atlas = cur_value(), icon_mapping = cur_value(), size_scale = cur_value(), billboard = cur_value(), size_units = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), alpha_cutoff = cur_value(), get_position = cur_value(), get_icon = cur_value(), get_color = cur_value(), get_size = cur_value(), get_angle = cur_value(), get_pixel_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
icon_atlas |
< |
icon_mapping |
< |
size_scale |
< |
billboard |
< |
size_units |
< |
size_min_pixels |
< |
size_max_pixels |
< |
alpha_cutoff |
< |
get_position |
< |
get_icon |
< |
get_color |
< |
get_size |
< |
get_angle |
< |
get_pixel_offset |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/icon-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_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
,
hexagon_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
Get map layers
layers(rdeck)
layers(rdeck)
rdeck |
an rdeck instance |
Line Layer
add_line_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "LineLayer", 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", get_source_position = source_position, get_target_position = target_position, get_color = "#000000ff", get_width = 1, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_line_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_color = cur_value(), get_width = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_line_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "LineLayer", 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", get_source_position = source_position, get_target_position = target_position, get_color = "#000000ff", get_width = 1, width_units = "pixels", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_line_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(), get_source_position = cur_value(), get_target_position = cur_value(), get_color = cur_value(), get_width = cur_value(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_source_position |
< |
get_target_position |
< |
get_color |
< |
get_width |
< |
width_units |
< |
width_scale |
< |
width_min_pixels |
< |
width_max_pixels |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/line-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_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
,
hexagon_layer
,
icon_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
Applies a log transform on the input: y = log(abs(x), b)
, where:
x
is the input vector
b
is the log base
log_trans(base = exp(1))
log_trans(base = exp(1))
base |
< |
If x
is negative, the result is multiplied by -1.
This transform requires that the input range doesn't cross zero. Transforming an input that crosses 0 will succeed and give predictable output, but its inverse will not, due to unsigned 0 (i.e. -1 * log(1) == log(1)).
Other transform:
power_trans()
,
symlog_trans()
A mapbox access token is required for rendering the mapbox basemap (regardless of tiles used) and mapbox services (tiles). To use a basemap, you need to register for a mapbox account. Mapbox has a generous free tier.
Each rdeck map rendered equates to a map load for web.
mapbox_access_token()
mapbox_access_token()
The mapbox token is read from the following locations (in order):
getOption("rdeck.mapbox_access_token")
Sys.getenv("MAPBOX_ACCESS_TOKEN")
Sys.getenv("MAPBOX_TOKEN")
https://docs.mapbox.com/help/glossary/access-token
MVT Layer
add_mvt_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "MVTLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, filled = TRUE, stroked = TRUE, line_width_max_pixels = 9007199254740991, line_width_min_pixels = 0, line_width_scale = 1, line_width_units = "meters", point_radius_max_pixels = 9007199254740991, point_radius_min_pixels = 0, point_radius_scale = 1, point_radius_units = "meters", point_antialiasing = TRUE, point_billboard = FALSE, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_point_radius = 1, icon_atlas = NULL, icon_mapping = list(), icon_size_max_pixels = 9007199254740991, icon_size_min_pixels = 0, icon_size_scale = 1, icon_size_units = "pixels", icon_alpha_cutoff = 0.05, icon_billboard = TRUE, get_icon = icon, get_icon_angle = 0, get_icon_color = "#000000ff", get_icon_pixel_offset = c(0, 0), get_icon_size = 1, text_size_max_pixels = 9007199254740991, text_size_min_pixels = 0, text_size_scale = 1, text_size_units = "pixels", text_background = FALSE, text_background_padding = c(0, 0, 0, 0), text_font_family = "Roboto, Helvetica, Arial, san-serif", text_font_weight = "normal", text_line_height = 1, text_max_width = -1, text_outline_color = "#000000ff", text_outline_width = 0, text_word_break = "break-word", text_billboard = TRUE, text_font_settings = list(), get_text = text, get_text_angle = 0, get_text_color = "#000000ff", get_text_pixel_offset = c(0, 0), get_text_size = 32, get_text_anchor = "middle", get_text_alignment_baseline = "center", get_text_background_color = "#ffffffff", get_text_border_color = "#000000ff", get_text_border_width = 0, line_joint_rounded = FALSE, line_cap_rounded = FALSE, line_miter_limit = 4, line_billboard = FALSE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, material = TRUE, get_elevation = 1000, point_type = "circle", unique_id_property = "", highlighted_feature_id = NULL, binary = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_mvt_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), filled = cur_value(), stroked = cur_value(), line_width_max_pixels = cur_value(), line_width_min_pixels = cur_value(), line_width_scale = cur_value(), line_width_units = cur_value(), point_radius_max_pixels = cur_value(), point_radius_min_pixels = cur_value(), point_radius_scale = cur_value(), point_radius_units = cur_value(), point_antialiasing = cur_value(), point_billboard = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_point_radius = cur_value(), icon_atlas = cur_value(), icon_mapping = cur_value(), icon_size_max_pixels = cur_value(), icon_size_min_pixels = cur_value(), icon_size_scale = cur_value(), icon_size_units = cur_value(), icon_alpha_cutoff = cur_value(), icon_billboard = cur_value(), get_icon = cur_value(), get_icon_angle = cur_value(), get_icon_color = cur_value(), get_icon_pixel_offset = cur_value(), get_icon_size = cur_value(), text_size_max_pixels = cur_value(), text_size_min_pixels = cur_value(), text_size_scale = cur_value(), text_size_units = cur_value(), text_background = cur_value(), text_background_padding = cur_value(), text_font_family = cur_value(), text_font_weight = cur_value(), text_line_height = cur_value(), text_max_width = cur_value(), text_outline_color = cur_value(), text_outline_width = cur_value(), text_word_break = cur_value(), text_billboard = cur_value(), text_font_settings = cur_value(), get_text = cur_value(), get_text_angle = cur_value(), get_text_color = cur_value(), get_text_pixel_offset = cur_value(), get_text_size = cur_value(), get_text_anchor = cur_value(), get_text_alignment_baseline = cur_value(), get_text_background_color = cur_value(), get_text_border_color = cur_value(), get_text_border_width = cur_value(), line_joint_rounded = cur_value(), line_cap_rounded = cur_value(), line_miter_limit = cur_value(), line_billboard = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), material = cur_value(), get_elevation = cur_value(), point_type = cur_value(), unique_id_property = cur_value(), highlighted_feature_id = cur_value(), binary = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_mvt_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "MVTLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, filled = TRUE, stroked = TRUE, line_width_max_pixels = 9007199254740991, line_width_min_pixels = 0, line_width_scale = 1, line_width_units = "meters", point_radius_max_pixels = 9007199254740991, point_radius_min_pixels = 0, point_radius_scale = 1, point_radius_units = "meters", point_antialiasing = TRUE, point_billboard = FALSE, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_point_radius = 1, icon_atlas = NULL, icon_mapping = list(), icon_size_max_pixels = 9007199254740991, icon_size_min_pixels = 0, icon_size_scale = 1, icon_size_units = "pixels", icon_alpha_cutoff = 0.05, icon_billboard = TRUE, get_icon = icon, get_icon_angle = 0, get_icon_color = "#000000ff", get_icon_pixel_offset = c(0, 0), get_icon_size = 1, text_size_max_pixels = 9007199254740991, text_size_min_pixels = 0, text_size_scale = 1, text_size_units = "pixels", text_background = FALSE, text_background_padding = c(0, 0, 0, 0), text_font_family = "Roboto, Helvetica, Arial, san-serif", text_font_weight = "normal", text_line_height = 1, text_max_width = -1, text_outline_color = "#000000ff", text_outline_width = 0, text_word_break = "break-word", text_billboard = TRUE, text_font_settings = list(), get_text = text, get_text_angle = 0, get_text_color = "#000000ff", get_text_pixel_offset = c(0, 0), get_text_size = 32, get_text_anchor = "middle", get_text_alignment_baseline = "center", get_text_background_color = "#ffffffff", get_text_border_color = "#000000ff", get_text_border_width = 0, line_joint_rounded = FALSE, line_cap_rounded = FALSE, line_miter_limit = 4, line_billboard = FALSE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, material = TRUE, get_elevation = 1000, point_type = "circle", unique_id_property = "", highlighted_feature_id = NULL, binary = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_mvt_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), filled = cur_value(), stroked = cur_value(), line_width_max_pixels = cur_value(), line_width_min_pixels = cur_value(), line_width_scale = cur_value(), line_width_units = cur_value(), point_radius_max_pixels = cur_value(), point_radius_min_pixels = cur_value(), point_radius_scale = cur_value(), point_radius_units = cur_value(), point_antialiasing = cur_value(), point_billboard = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_point_radius = cur_value(), icon_atlas = cur_value(), icon_mapping = cur_value(), icon_size_max_pixels = cur_value(), icon_size_min_pixels = cur_value(), icon_size_scale = cur_value(), icon_size_units = cur_value(), icon_alpha_cutoff = cur_value(), icon_billboard = cur_value(), get_icon = cur_value(), get_icon_angle = cur_value(), get_icon_color = cur_value(), get_icon_pixel_offset = cur_value(), get_icon_size = cur_value(), text_size_max_pixels = cur_value(), text_size_min_pixels = cur_value(), text_size_scale = cur_value(), text_size_units = cur_value(), text_background = cur_value(), text_background_padding = cur_value(), text_font_family = cur_value(), text_font_weight = cur_value(), text_line_height = cur_value(), text_max_width = cur_value(), text_outline_color = cur_value(), text_outline_width = cur_value(), text_word_break = cur_value(), text_billboard = cur_value(), text_font_settings = cur_value(), get_text = cur_value(), get_text_angle = cur_value(), get_text_color = cur_value(), get_text_pixel_offset = cur_value(), get_text_size = cur_value(), get_text_anchor = cur_value(), get_text_alignment_baseline = cur_value(), get_text_background_color = cur_value(), get_text_border_color = cur_value(), get_text_border_width = cur_value(), line_joint_rounded = cur_value(), line_cap_rounded = cur_value(), line_miter_limit = cur_value(), line_billboard = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), material = cur_value(), get_elevation = cur_value(), point_type = cur_value(), unique_id_property = cur_value(), highlighted_feature_id = cur_value(), binary = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_tile_data |
< |
extent |
< |
tile_size |
< |
max_zoom |
< |
min_zoom |
< |
max_cache_size |
< |
max_cache_byte_size |
< |
refinement_strategy |
< |
z_range |
< |
max_requests |
< |
zoom_offset |
< |
filled |
< |
stroked |
< |
line_width_max_pixels |
< |
line_width_min_pixels |
< |
line_width_scale |
< |
line_width_units |
< |
point_radius_max_pixels |
< |
point_radius_min_pixels |
< |
point_radius_scale |
< |
point_radius_units |
< |
point_antialiasing |
< |
point_billboard |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_point_radius |
< |
icon_atlas |
< |
icon_mapping |
< |
icon_size_max_pixels |
< |
icon_size_min_pixels |
< |
icon_size_scale |
< |
icon_size_units |
< |
icon_alpha_cutoff |
< |
icon_billboard |
< |
get_icon |
< |
get_icon_angle |
< |
get_icon_color |
< |
get_icon_pixel_offset |
< |
get_icon_size |
< |
text_size_max_pixels |
< |
text_size_min_pixels |
< |
text_size_scale |
< |
text_size_units |
< |
text_background |
< |
text_background_padding |
< |
text_font_family |
< |
text_font_weight |
< |
text_line_height |
< |
text_max_width |
< |
text_outline_color |
< |
text_outline_width |
< |
text_word_break |
< |
text_billboard |
< |
text_font_settings |
< |
get_text |
< |
get_text_angle |
< |
get_text_color |
< |
get_text_pixel_offset |
< |
get_text_size |
< |
get_text_anchor |
< |
get_text_alignment_baseline |
< |
get_text_background_color |
< |
get_text_border_color |
< |
get_text_border_width |
< |
line_joint_rounded |
< |
line_cap_rounded |
< |
line_miter_limit |
number |
line_billboard |
< |
extruded |
< |
wireframe |
< |
elevation_scale |
< |
material |
< |
get_elevation |
< |
point_type |
<
Or a combination, separated by |
unique_id_property |
< |
highlighted_feature_id |
< |
binary |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/mvt-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_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
,
hexagon_layer
,
icon_layer
,
line_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
Path Layer
add_path_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PathLayer", 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", width_units = "meters", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, joint_rounded = FALSE, cap_rounded = FALSE, miter_limit = 4, billboard = FALSE, get_path = path, get_color = "#000000ff", get_width = 1, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_path_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(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), joint_rounded = cur_value(), cap_rounded = cur_value(), miter_limit = cur_value(), billboard = cur_value(), get_path = cur_value(), get_color = cur_value(), get_width = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_path_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PathLayer", 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", width_units = "meters", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, joint_rounded = FALSE, cap_rounded = FALSE, miter_limit = 4, billboard = FALSE, get_path = path, get_color = "#000000ff", get_width = 1, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_path_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(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), joint_rounded = cur_value(), cap_rounded = cur_value(), miter_limit = cur_value(), billboard = cur_value(), get_path = cur_value(), get_color = cur_value(), get_width = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
width_units |
< |
width_scale |
< |
width_min_pixels |
< |
width_max_pixels |
< |
joint_rounded |
< |
cap_rounded |
< |
miter_limit |
< |
billboard |
< |
get_path |
< |
get_color |
< |
get_width |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/path-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_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
Point Cloud Layer
add_point_cloud_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PointCloudLayer", 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", size_units = "pixels", point_size = 10, get_position = position, get_normal = c(0, 0, 1), get_color = "#000000ff", material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_point_cloud_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(), size_units = cur_value(), point_size = cur_value(), get_position = cur_value(), get_normal = cur_value(), get_color = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_point_cloud_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PointCloudLayer", 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", size_units = "pixels", point_size = 10, get_position = position, get_normal = c(0, 0, 1), get_color = "#000000ff", material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_point_cloud_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(), size_units = cur_value(), point_size = cur_value(), get_position = cur_value(), get_normal = cur_value(), get_color = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
size_units |
< |
point_size |
< |
get_position |
< |
get_normal |
< |
get_color |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/point-cloud-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_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
Polygon Layer
add_polygon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PolygonLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_polygon = polygon, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_polygon_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_polygon = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_polygon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "PolygonLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_polygon = polygon, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_polygon_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_polygon = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
stroked |
< |
filled |
< |
extruded |
< |
elevation_scale |
< |
wireframe |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
line_joint_rounded |
< |
line_miter_limit |
number |
get_polygon |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/polygon-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
scatterplot_layer
,
solid_polygon_layer
,
text_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_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
Applies an exponential transform of the input: y = abs(x)^k
, where:
x
is the input vector
k
is the exponent
power_trans(exponent = 0.5)
power_trans(exponent = 0.5)
exponent |
< |
If x
is negative, the result is multiplied by -1.
Other transform:
log_trans()
,
symlog_trans()
Quadkey Layer
add_quadkey_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "QuadkeyLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_polygon = polygon, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_quadkey = quadkey, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_quadkey_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_polygon = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_quadkey = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_quadkey_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "QuadkeyLayer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_polygon = polygon, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_quadkey = quadkey, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_quadkey_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_polygon = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_quadkey = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
stroked |
< |
filled |
< |
extruded |
< |
elevation_scale |
< |
wireframe |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
line_joint_rounded |
< |
line_miter_limit |
number |
get_polygon |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
get_quadkey |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/quadkey-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_layer
,
polygon_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
Create a Deck.GL map. Rendering the mapbox basemap requires a mapbox account and mapbox access token.
rdeck( map_style = mapbox_dark(), theme = "kepler", initial_bounds = NULL, initial_view_state = view_state(center = c(0, 0), zoom = 1), controller = TRUE, picking_radius = 0, use_device_pixels = TRUE, blending_mode = "normal", layer_selector = TRUE, editor = FALSE, lazy_load = deprecated(), width = NULL, height = NULL, id = NULL, ... )
rdeck( map_style = mapbox_dark(), theme = "kepler", initial_bounds = NULL, initial_view_state = view_state(center = c(0, 0), zoom = 1), controller = TRUE, picking_radius = 0, use_device_pixels = TRUE, blending_mode = "normal", layer_selector = TRUE, editor = FALSE, lazy_load = deprecated(), width = NULL, height = NULL, id = NULL, ... )
map_style |
< |
theme |
< |
initial_bounds |
< |
initial_view_state |
< |
controller |
< |
picking_radius |
< |
use_device_pixels |
<
|
blending_mode |
<
|
layer_selector |
< |
editor |
< |
lazy_load |
|
width |
< |
height |
< |
id |
< |
... |
Additional parameters that will be forwarded to deck.gl javascript without
validation nor processing. All dots must be named and will be |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/core/deck.md
Creates an rdeck()
interface for asynchronous updates of a pre-rendered rdeck map
in Shiny apps.
All rdeck props can be updated through the proxy (NULL
values will be discarded),
layers that are added to the proxy (e.g. rdeck_proxy %>% add_h3_hexagon_layer()
)
will be merged with pre-rendered rdeck layers.
Layers are merged by their id
. Matched layers will be updated in place, new layers
will be appended and hence drawn on top of all existing layers. For layer updates, you
may omit the data
prop to avoid re-serialising unchanged data. All other props will
assume their defaults if omitted.
rdeck_proxy( id, session = shiny::getDefaultReactiveDomain(), map_style = cur_value(), theme = cur_value(), initial_bounds = cur_value(), initial_view_state = cur_value(), controller = cur_value(), picking_radius = cur_value(), use_device_pixels = cur_value(), blending_mode = cur_value(), layer_selector = cur_value(), editor = cur_value(), lazy_load = deprecated(), ... )
rdeck_proxy( id, session = shiny::getDefaultReactiveDomain(), map_style = cur_value(), theme = cur_value(), initial_bounds = cur_value(), initial_view_state = cur_value(), controller = cur_value(), picking_radius = cur_value(), use_device_pixels = cur_value(), blending_mode = cur_value(), layer_selector = cur_value(), editor = cur_value(), lazy_load = deprecated(), ... )
id |
< |
session |
< |
map_style |
< |
theme |
< |
initial_bounds |
< |
initial_view_state |
< |
controller |
< |
picking_radius |
< |
use_device_pixels |
<
|
blending_mode |
<
|
layer_selector |
< |
editor |
< |
lazy_load |
|
... |
Additional parameters that will be forwarded to deck.gl javascript without
validation nor processing. All dots must be named and will be |
## Not run: library(shiny) library(dplyr) library(h3jsr) library(viridis) ui <- fillPage( rdeckOutput("map", height = "100%"), absolutePanel( top = 10, left = 10, sliderInput("range", "value", 0, 1, c(0, 1), step = 0.1) ) ) h3_data <- tibble( hexagon = get_res0() %>% get_children(res = 3) %>% unlist() %>% unique(), value = runif(length(hexagon)) ) map <- rdeck() %>% add_h3_hexagon_layer( id = "h3_hexagon", name = "hexagons", data = h3_data, get_fill_color = scale_color_quantize( col = value, palette = viridis(6, 0.3) ), pickable = TRUE, auto_highlight = TRUE, tooltip = c(hexagon, value) ) server <- function(input, output, session) { output$map <- renderRdeck(map) filtered_data <- reactive({ h3_data %>% filter(value >= input$range[1] & value <= input$range[2]) }) observe({ rdeck_proxy("map") %>% add_h3_hexagon_layer( id = "h3_hexagon", name = "hexagons", data = filtered_data(), get_fill_color = scale_color_quantize( col = value, palette = cividis(6, 0.3) ), pickable = TRUE, auto_highlight = TRUE, tooltip = c(hexagon, value) ) }) } app <- shinyApp(ui, server) ## End(Not run)
## Not run: library(shiny) library(dplyr) library(h3jsr) library(viridis) ui <- fillPage( rdeckOutput("map", height = "100%"), absolutePanel( top = 10, left = 10, sliderInput("range", "value", 0, 1, c(0, 1), step = 0.1) ) ) h3_data <- tibble( hexagon = get_res0() %>% get_children(res = 3) %>% unlist() %>% unique(), value = runif(length(hexagon)) ) map <- rdeck() %>% add_h3_hexagon_layer( id = "h3_hexagon", name = "hexagons", data = h3_data, get_fill_color = scale_color_quantize( col = value, palette = viridis(6, 0.3) ), pickable = TRUE, auto_highlight = TRUE, tooltip = c(hexagon, value) ) server <- function(input, output, session) { output$map <- renderRdeck(map) filtered_data <- reactive({ h3_data %>% filter(value >= input$range[1] & value <= input$range[2]) }) observe({ rdeck_proxy("map") %>% add_h3_hexagon_layer( id = "h3_hexagon", name = "hexagons", data = filtered_data(), get_fill_color = scale_color_quantize( col = value, palette = cividis(6, 0.3) ), pickable = TRUE, auto_highlight = TRUE, tooltip = c(hexagon, value) ) }) } app <- shinyApp(ui, server) ## End(Not run)
Output and render functions for using rdeck within Shiny applications and interactive Rmd documents.
rdeckOutput(outputId, width = "100%", height = "400px") renderRdeck(expr, env = parent.frame(), quoted = FALSE)
rdeckOutput(outputId, width = "100%", height = "400px") renderRdeck(expr, env = parent.frame(), quoted = FALSE)
outputId |
output variable to read from |
width , height
|
Must be a valid CSS unit (like |
expr |
An expression that generates a rdeck |
env |
The environment in which to evaluate |
quoted |
Is |
Re-centres a scale to have a defined centre / midpoint. This is the rdeck equivalent of
scales::rescale_mid()
.
centring an rdeck scale creates a new scale with the output palette or range centred at center
.
This is similar to creating a diverging scale; the key difference is that the output palette or range
remains linear (with respect to the breaks) and is truncated on the side that is closest to center
.
This is useful in creating difference layers, where the output palette or range represents distance
from the centre.
rescale_center(scale, center = 0)
rescale_center(scale, center = 0)
scale |
< |
center |
< |
The plot below shows how rescale_center()
and rescale_diverge()
distort the scale output. The input
scale in this case is power_scale(limits = -36:4)
; this scale is centred and diverged at 0.
The plot on the left shows the mapping between the input -36:4
(x axis) and output 0:1
(y axis). The
plot on the right is a linear representation of the left and is the space that rdeck works in. The input
-36:4
transformed with power_trans()
and rescaled to 0:1
. This plot has been included because it's
(hopefully) easier to understand.
In the unaltered scale, we see that 0 is mapped to 0.75 in the output, which would be the colour at 0.75
on a colour ramp (e.g. scales::colour_ramp(viridis::viridis(256))(0.75)
).
When applying rescale_center()
we see that gradient of function has become y = 2/3x in the linear
scale, which is 2/3 * scales::rescale(trans$transform(x))
for our data. For rescale_diverge()
we see a piecewise scale with the break at center
; both sides of center
have a different gradient
(y = 2/3x and y = 2x - 1) and the full range of y is used.
The colour ramp plot shows the effect rescaling has on a colour palette (in this case viridis).
Category and identity scales aren't supported.
Other scales:
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
# create a sqrt scale that is centered at 0 sqrt_centered <- rescale_center( scale_color_power(col, limits = -36:4), center = 0 ) # create a discrete symlog scale that is centered at 5 symlog_centered <- rescale_center( scale_color_threshold(col, limits = -100:100, breaks = breaks_symlog()), center = 5 )
# create a sqrt scale that is centered at 0 sqrt_centered <- rescale_center( scale_color_power(col, limits = -36:4), center = 0 ) # create a discrete symlog scale that is centered at 5 symlog_centered <- rescale_center( scale_color_threshold(col, limits = -100:100, breaks = breaks_symlog()), center = 5 )
Creates a diverging scale with defined centre / midpoint. Similar to rescale_center()
, key difference is
the output palette / range is piecewise linear (with respect to breaks) and the entire output range is
always used.
rescale_diverge(scale, center = 0)
rescale_diverge(scale, center = 0)
scale |
< |
center |
< |
The plot below shows how rescale_center()
and rescale_diverge()
distort the scale output. The input
scale in this case is power_scale(limits = -36:4)
; this scale is centred and diverged at 0.
The plot on the left shows the mapping between the input -36:4
(x axis) and output 0:1
(y axis). The
plot on the right is a linear representation of the left and is the space that rdeck works in. The input
-36:4
transformed with power_trans()
and rescaled to 0:1
. This plot has been included because it's
(hopefully) easier to understand.
In the unaltered scale, we see that 0 is mapped to 0.75 in the output, which would be the colour at 0.75
on a colour ramp (e.g. scales::colour_ramp(viridis::viridis(256))(0.75)
).
When applying rescale_center()
we see that gradient of function has become y = 2/3x in the linear
scale, which is 2/3 * scales::rescale(trans$transform(x))
for our data. For rescale_diverge()
we see a piecewise scale with the break at center
; both sides of center
have a different gradient
(y = 2/3x and y = 2x - 1) and the full range of y is used.
The colour ramp plot shows the effect rescaling has on a colour palette (in this case viridis).
Category and identity scales aren't supported.
Other scales:
rescale_center()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
# create a diverging linear scale at 0 linear_diverged <- rescale_diverge( scale_color_linear(col, limits = -5:10), center = 0 ) # create a diverging log scale at 10 log_diverged <- rescale_diverge( scale_log(col, limits = 1:1000), center = 10 )
# create a diverging linear scale at 0 linear_diverged <- rescale_diverge( scale_color_linear(col, limits = -5:10), center = 0 ) # create a diverging log scale at 10 log_diverged <- rescale_diverge( scale_log(col, limits = 1:1000), center = 10 )
S2 Layer
add_s2_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "S2Layer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_s2_token = token, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_s2_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_s2_token = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_s2_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "S2Layer", 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", stroked = TRUE, filled = TRUE, extruded = FALSE, elevation_scale = 1, wireframe = FALSE, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, line_joint_rounded = FALSE, line_miter_limit = 4, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, get_elevation = 1000, material = TRUE, get_s2_token = token, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_s2_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(), stroked = cur_value(), filled = cur_value(), extruded = cur_value(), elevation_scale = cur_value(), wireframe = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), line_joint_rounded = cur_value(), line_miter_limit = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), get_elevation = cur_value(), material = cur_value(), get_s2_token = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
stroked |
< |
filled |
< |
extruded |
< |
elevation_scale |
< |
wireframe |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
line_joint_rounded |
< |
line_miter_limit |
number |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
get_elevation |
< |
material |
< |
get_s2_token |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/s2-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
terrain_layer
,
tile_3d_layer
,
tile_layer
,
trips_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
quadkey_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
Creates a categorical scale. Categorical scales map input values defined in the set of
levels
to colours (or values). Input values not in the set of levels
are assigned
unmapped_color
(or unmapped_value
).
scale_color_category( col, palette = scales::brewer_pal("div"), unmapped_color = "#000000", levels = NULL, unmapped_tick = NULL, tick_format = NULL, col_label = "{.col}", legend = TRUE ) scale_category( col, range = 0:1, unmapped_value = 0, levels = NULL, col_label = "{.col}", legend = TRUE )
scale_color_category( col, palette = scales::brewer_pal("div"), unmapped_color = "#000000", levels = NULL, unmapped_tick = NULL, tick_format = NULL, col_label = "{.col}", legend = TRUE ) scale_category( col, range = 0:1, unmapped_value = 0, levels = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
unmapped_color |
< |
levels |
< If there are more levels than colours (or range values), the palette (or range) is interpolated. |
unmapped_tick |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
unmapped_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates an identity scale; a special case of a linear scale, where input is mapped to itself (input limits = output range). An identity scale is useful in cases where input data is already expressed in a visual representation (e.g. a line width) and should be used as-is.
scale_identity(col, na_value = 0, col_label = "{.col}", legend = TRUE)
scale_identity(col, na_value = 0, col_label = "{.col}", legend = TRUE)
col |
< |
na_value |
< |
col_label |
<
|
legend |
< |
Identity scales are almost equivalent to an accessor
to a numeric column;
differences are:
NA
is replaced with na_value
May render a numeric legend
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates a continuous linear scale. The colour palette (or range) is linearly interpolated
between limits
(or between limits
and between breaks
for piecewise scales).
scale_color_linear( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_linear( col, range = 0:1, na_value = 0, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
scale_color_linear( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_linear( col, range = 0:1, na_value = 0, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
limits |
< |
breaks |
< If not
Defaults to |
n_ticks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates a continuous log scale, where input values are transformed with log_trans(base) before calculating the output.
Log scales can be useful in transforming positively skewed data.
scale_color_log( col, palette = scales::viridis_pal(), na_color = "#000000", base = 10, limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_log( col, range = 0:1, na_value = 0, base = 10, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
scale_color_log( col, palette = scales::viridis_pal(), na_color = "#000000", base = 10, limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_log( col, range = 0:1, na_value = 0, base = 10, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
base |
< |
limits |
< |
breaks |
< If not
Defaults to |
n_ticks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
limits
, whether explicitly supplied, or computed from data, must not cross 0.
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates a continuous power scale, where input values are transformed with power_trans(exponent) before calculating the output.
Power scales can be useful in transforming positively skewed data. A square-root or cube-root scale can be helpful in dealing with right-skewed data.
A square-root scale can be defined with scale_power(exponent = 0.5, ...)
(the default). A
square-root scale is a good choice for scaling the radius of point data, as this would result
in a linear scale for the area
of each point.
scale_color_power( col, palette = scales::viridis_pal(), na_color = "#000000", exponent = 0.5, limits = NULL, breaks = NULL, n_ticks = 6, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_power( col, range = 0:1, na_value = 0, exponent = 0.5, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
scale_color_power( col, palette = scales::viridis_pal(), na_color = "#000000", exponent = 0.5, limits = NULL, breaks = NULL, n_ticks = 6, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_power( col, range = 0:1, na_value = 0, exponent = 0.5, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
exponent |
< |
limits |
< |
breaks |
< If not
Defaults to |
n_ticks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates a threshold scale, where threshold breaks are computed from the given quantile
probs
.
Quantile scale legend ticks will be quantile values at each quantile break (including
limits), not the quantile probabilities at each break. This can be overridden in
tick_format
.
Example:
tick_format = function(x) as.character(probs)
.
scale_color_quantile( col, palette = scales::viridis_pal(), na_color = "#000000", probs = seq.int(0, 1, 0.25), data = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_quantile( col, range = 0:1, na_value = 0, probs = seq.int(0, 1, 0.25), data = NULL, col_label = "{.col}", legend = TRUE )
scale_color_quantile( col, palette = scales::viridis_pal(), na_color = "#000000", probs = seq.int(0, 1, 0.25), data = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_quantile( col, range = 0:1, na_value = 0, probs = seq.int(0, 1, 0.25), data = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
probs |
< |
data |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
As the quantiles are computed from input data, quantile scales are incompatible with
layers that load data from a url (e.g mvt_layer
). If quantiles for remote data are
known, a quantile scale can be constructed manually with scale_threshold()
.
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantize()
,
scale_symlog()
,
scale_threshold()
Creates a discrete quantize scale, with n_breaks
linearly spaced threshold breaks between
limits
. This scale can be thought of as a restricted special case of scale_threshold()
,
or a discrete scale_linear()
.
scale_color_quantize( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, n_breaks = 6, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_quantize( col, range = 0:1, na_value = 0, limits = NULL, n_breaks = 6, col_label = "{.col}", legend = TRUE )
scale_color_quantize( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, n_breaks = 6, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_quantize( col, range = 0:1, na_value = 0, limits = NULL, n_breaks = 6, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
limits |
< |
n_breaks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_symlog()
,
scale_threshold()
Creates a continuous log1p scale, where input values are transformed with symlog_trans()
before calculating the output. Unlike scale_log()
, limits
may cross 0.
Symlog scales can be useful in transforming positively skewed data.
scale_color_symlog( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_symlog( col, range = 0:1, na_value = 0, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
scale_color_symlog( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = NULL, n_ticks = NULL, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_symlog( col, range = 0:1, na_value = 0, limits = NULL, breaks = NULL, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
limits |
< |
breaks |
< If not
Defaults to |
n_ticks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_threshold()
Creates a discrete threshold scale. Threshold scales slice palette
or range
into
length(breaks) + 1
bins, with each break defining the threshold between 2 bins.
Threshold scales can be used to create any discrete scale, using either manual breaks or generated breaks via a transform (e.g. breaks_power(n = 6, exponent = 0.5) for a discrete sqrt scale).
scale_color_threshold( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = 0.5, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_threshold( col, range = 0:1, na_value = 0, limits = NULL, breaks = 0.5, tick_format = format_number, col_label = "{.col}", legend = TRUE )
scale_color_threshold( col, palette = scales::viridis_pal(), na_color = "#000000", limits = NULL, breaks = 0.5, tick_format = format_number, col_label = "{.col}", legend = TRUE ) scale_threshold( col, range = 0:1, na_value = 0, limits = NULL, breaks = 0.5, tick_format = format_number, col_label = "{.col}", legend = TRUE )
col |
< |
palette |
<
A |
na_color |
< |
limits |
< |
breaks |
< If not
Breaks must be in increasing order. Each break will be present on the legend for colour scales. |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Threshold scales don't require limits, but breaks_trans()
does.
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_symlog()
Scatterplot Layer
add_scatterplot_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScatterplotLayer", 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", radius_units = "meters", radius_scale = 1, radius_min_pixels = 0, radius_max_pixels = 9007199254740991, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, stroked = FALSE, filled = TRUE, billboard = FALSE, antialiasing = TRUE, get_position = position, get_radius = 1, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_scatterplot_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(), radius_units = cur_value(), radius_scale = cur_value(), radius_min_pixels = cur_value(), radius_max_pixels = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), stroked = cur_value(), filled = cur_value(), billboard = cur_value(), antialiasing = cur_value(), get_position = cur_value(), get_radius = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_scatterplot_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScatterplotLayer", 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", radius_units = "meters", radius_scale = 1, radius_min_pixels = 0, radius_max_pixels = 9007199254740991, line_width_units = "meters", line_width_scale = 1, line_width_min_pixels = 0, line_width_max_pixels = 9007199254740991, stroked = FALSE, filled = TRUE, billboard = FALSE, antialiasing = TRUE, get_position = position, get_radius = 1, get_fill_color = "#000000ff", get_line_color = "#000000ff", get_line_width = 1, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_scatterplot_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(), radius_units = cur_value(), radius_scale = cur_value(), radius_min_pixels = cur_value(), radius_max_pixels = cur_value(), line_width_units = cur_value(), line_width_scale = cur_value(), line_width_min_pixels = cur_value(), line_width_max_pixels = cur_value(), stroked = cur_value(), filled = cur_value(), billboard = cur_value(), antialiasing = cur_value(), get_position = cur_value(), get_radius = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), get_line_width = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
radius_units |
< |
radius_scale |
< |
radius_min_pixels |
< |
radius_max_pixels |
< |
line_width_units |
< |
line_width_scale |
< |
line_width_min_pixels |
< |
line_width_max_pixels |
< |
stroked |
< |
filled |
< |
billboard |
< |
antialiasing |
< |
get_position |
< |
get_radius |
< |
get_fill_color |
< |
get_line_color |
< |
get_line_width |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/scatterplot-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
solid_polygon_layer
,
text_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
quadkey_layer
,
s2_layer
,
scenegraph_layer
,
screen_grid_layer
,
simple_mesh_layer
,
solid_polygon_layer
,
terrain_layer
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Scenegraph Layer
add_scenegraph_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScenegraphLayer", 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", scenegraph = NULL, get_scene = NULL, get_animator = NULL, size_scale = 1, size_min_pixels = 0, size_max_pixels = 9007199254740991, get_position = position, get_color = "#ffffffff", get_orientation = c(0, 0, 0), get_scale = c(1, 1, 1), get_translation = c(0, 0, 0), get_transform_matrix = NULL, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_scenegraph_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(), scenegraph = cur_value(), get_scene = cur_value(), get_animator = cur_value(), size_scale = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), get_position = cur_value(), get_color = cur_value(), get_orientation = cur_value(), get_scale = cur_value(), get_translation = cur_value(), get_transform_matrix = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_scenegraph_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScenegraphLayer", 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", scenegraph = NULL, get_scene = NULL, get_animator = NULL, size_scale = 1, size_min_pixels = 0, size_max_pixels = 9007199254740991, get_position = position, get_color = "#ffffffff", get_orientation = c(0, 0, 0), get_scale = c(1, 1, 1), get_translation = c(0, 0, 0), get_transform_matrix = NULL, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_scenegraph_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(), scenegraph = cur_value(), get_scene = cur_value(), get_animator = cur_value(), size_scale = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), get_position = cur_value(), get_color = cur_value(), get_orientation = cur_value(), get_scale = cur_value(), get_translation = cur_value(), get_transform_matrix = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
scenegraph |
object |
get_scene |
function |
get_animator |
function |
size_scale |
< |
size_min_pixels |
< |
size_max_pixels |
< |
get_position |
< |
get_color |
< |
get_orientation |
< |
get_scale |
< |
get_translation |
< |
get_transform_matrix |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/mesh-layers/scenegraph-layer.md
Other mesh-layers:
simple_mesh_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
quadkey_layer
,
s2_layer
,
scatterplot_layer
,
screen_grid_layer
,
simple_mesh_layer
,
solid_polygon_layer
,
terrain_layer
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Screen Grid Layer
add_screen_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScreenGridLayer", 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", cell_size_pixels = 100, cell_margin_pixels = 2, color_domain = NULL, color_range = c("#ffffb2", "#fed976", "#feb24c", "#fd8d3c", "#f03b20", "#bd0026"), get_position = position, get_weight = 1, gpu_aggregation = TRUE, aggregation = "SUM", blending_mode = "normal", visibility_toggle = TRUE ) update_screen_grid_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(), cell_size_pixels = cur_value(), cell_margin_pixels = cur_value(), color_domain = cur_value(), color_range = cur_value(), get_position = cur_value(), get_weight = cur_value(), gpu_aggregation = cur_value(), aggregation = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value() )
add_screen_grid_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "ScreenGridLayer", 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", cell_size_pixels = 100, cell_margin_pixels = 2, color_domain = NULL, color_range = c("#ffffb2", "#fed976", "#feb24c", "#fd8d3c", "#f03b20", "#bd0026"), get_position = position, get_weight = 1, gpu_aggregation = TRUE, aggregation = "SUM", blending_mode = "normal", visibility_toggle = TRUE ) update_screen_grid_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(), cell_size_pixels = cur_value(), cell_margin_pixels = cur_value(), color_domain = cur_value(), color_range = cur_value(), get_position = cur_value(), get_weight = cur_value(), gpu_aggregation = cur_value(), aggregation = 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 |
< |
cell_size_pixels |
< |
cell_margin_pixels |
< |
color_domain |
< |
color_range |
< |
get_position |
< |
get_weight |
< |
gpu_aggregation |
< |
aggregation |
< |
blending_mode |
<
|
visibility_toggle |
< |
Other aggregation-layers:
contour_layer
,
cpu_grid_layer
,
gpu_grid_layer
,
grid_layer
,
heatmap_layer
,
hexagon_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
,
hexagon_layer
,
icon_layer
,
line_layer
,
mvt_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
quadkey_layer
,
s2_layer
,
scatterplot_layer
,
scenegraph_layer
,
simple_mesh_layer
,
solid_polygon_layer
,
terrain_layer
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Sets a layer's visibility and whether it is selectable in the layer selector.
Setting either visible
or visibility_toggle
as cur_value()
will have no change
in the browser.
set_layer_visibility( rdeck, id, visible = cur_value(), visibility_toggle = cur_value() )
set_layer_visibility( rdeck, id, visible = cur_value(), visibility_toggle = cur_value() )
rdeck |
< |
id |
< |
visible |
< |
visibility_toggle |
< |
Defines a flag that indicates the active geometry column of an sf object
should be used in a layer's geometry accessor()
.
sf_column()
sf_column()
Utilities for retrieving map event data in a shiny application.
get_view_bounds(rdeck, session = shiny::getDefaultReactiveDomain()) get_view_state(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_coordinates(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_layer(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_object(rdeck, session = shiny::getDefaultReactiveDomain()) get_edited_features(rdeck, session = shiny::getDefaultReactiveDomain())
get_view_bounds(rdeck, session = shiny::getDefaultReactiveDomain()) get_view_state(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_coordinates(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_layer(rdeck, session = shiny::getDefaultReactiveDomain()) get_clicked_object(rdeck, session = shiny::getDefaultReactiveDomain()) get_edited_features(rdeck, session = shiny::getDefaultReactiveDomain())
rdeck |
< |
session |
< |
get_view_bounds()
: Get the current map bounding box
get_view_state()
: Get the map view state
get_clicked_coordinates()
: Get the last clicked coordinates
get_clicked_layer()
: Get the last clicked layer (or NULL)
get_clicked_object()
: Get the last clicked object (or NULL)
get_edited_features()
: Get the edited features
Simple Mesh Layer
add_simple_mesh_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "SimpleMeshLayer", 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", mesh = NULL, texture = NULL, size_scale = 1, wireframe = FALSE, material = TRUE, get_position = position, get_color = "#000000ff", get_orientation = c(0, 0, 0), get_scale = c(1, 1, 1), get_translation = c(0, 0, 0), get_transform_matrix = NULL, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_simple_mesh_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(), mesh = cur_value(), texture = cur_value(), size_scale = cur_value(), wireframe = cur_value(), material = cur_value(), get_position = cur_value(), get_color = cur_value(), get_orientation = cur_value(), get_scale = cur_value(), get_translation = cur_value(), get_transform_matrix = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_simple_mesh_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "SimpleMeshLayer", 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", mesh = NULL, texture = NULL, size_scale = 1, wireframe = FALSE, material = TRUE, get_position = position, get_color = "#000000ff", get_orientation = c(0, 0, 0), get_scale = c(1, 1, 1), get_translation = c(0, 0, 0), get_transform_matrix = NULL, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_simple_mesh_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(), mesh = cur_value(), texture = cur_value(), size_scale = cur_value(), wireframe = cur_value(), material = cur_value(), get_position = cur_value(), get_color = cur_value(), get_orientation = cur_value(), get_scale = cur_value(), get_translation = cur_value(), get_transform_matrix = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
mesh |
object |
texture |
not yet supported. |
size_scale |
< |
wireframe |
< |
material |
< |
get_position |
< |
get_color |
< |
get_orientation |
< |
get_scale |
< |
get_translation |
< |
get_transform_matrix |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
Other mesh-layers:
scenegraph_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
,
hexagon_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
,
solid_polygon_layer
,
terrain_layer
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Solid Polygon Layer
add_solid_polygon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "SolidPolygonLayer", 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", filled = TRUE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, get_polygon = polygon, get_elevation = 1000, get_fill_color = "#000000ff", get_line_color = "#000000ff", material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_solid_polygon_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(), filled = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), get_polygon = cur_value(), get_elevation = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_solid_polygon_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "SolidPolygonLayer", 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", filled = TRUE, extruded = FALSE, wireframe = FALSE, elevation_scale = 1, get_polygon = polygon, get_elevation = 1000, get_fill_color = "#000000ff", get_line_color = "#000000ff", material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_solid_polygon_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(), filled = cur_value(), extruded = cur_value(), wireframe = cur_value(), elevation_scale = cur_value(), get_polygon = cur_value(), get_elevation = cur_value(), get_fill_color = cur_value(), get_line_color = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
filled |
< |
extruded |
< |
wireframe |
< |
elevation_scale |
< |
get_polygon |
< |
get_elevation |
< |
get_fill_color |
< |
get_line_color |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/solid-polygon-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
text_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
,
hexagon_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
,
terrain_layer
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Applies a log1p transform: y = log1p(abs(x))
, where:
x
is the input vector
symlog_trans()
symlog_trans()
If x
is negative, the result is multiplied by -1.
Other transform:
log_trans()
,
power_trans()
Terrain Layer
add_terrain_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TerrainLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, elevation_data = NULL, texture = NULL, mesh_max_error = 4, bounds = NULL, color = "#ffffff", elevation_decoder = list(rScaler = 1, gScaler = 0, bScaler = 0, offset = 0), worker_url = NULL, wireframe = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_terrain_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), elevation_data = cur_value(), texture = cur_value(), mesh_max_error = cur_value(), bounds = cur_value(), color = cur_value(), elevation_decoder = cur_value(), worker_url = cur_value(), wireframe = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_terrain_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TerrainLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, elevation_data = NULL, texture = NULL, mesh_max_error = 4, bounds = NULL, color = "#ffffff", elevation_decoder = list(rScaler = 1, gScaler = 0, bScaler = 0, offset = 0), worker_url = NULL, wireframe = FALSE, material = TRUE, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_terrain_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), elevation_data = cur_value(), texture = cur_value(), mesh_max_error = cur_value(), bounds = cur_value(), color = cur_value(), elevation_decoder = cur_value(), worker_url = cur_value(), wireframe = cur_value(), material = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_tile_data |
< |
extent |
< |
tile_size |
< |
max_zoom |
< |
min_zoom |
< |
max_cache_size |
< |
max_cache_byte_size |
< |
refinement_strategy |
< |
z_range |
< |
max_requests |
< |
zoom_offset |
< |
elevation_data |
url |
texture |
not yet supported. |
mesh_max_error |
number |
bounds |
< |
color |
color |
elevation_decoder |
object |
worker_url |
string |
wireframe |
< |
material |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/terrain-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
tile_3d_layer
,
tile_layer
,
trips_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
,
hexagon_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
,
text_layer
,
tile_3d_layer
,
tile_layer
,
trips_layer
Text Layer
add_text_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TextLayer", 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", billboard = TRUE, size_scale = 1, size_units = "pixels", size_min_pixels = 0, size_max_pixels = 9007199254740991, background = FALSE, get_background_color = "#ffffffff", get_border_color = "#000000ff", get_border_width = 0, background_padding = c(0, 0, 0, 0), font_family = "Roboto, Helvetica, Arial, san-serif", font_weight = "normal", line_height = 1, outline_width = 0, outline_color = "#000000ff", font_settings = list(), word_break = "break-word", max_width = -1, get_text = text, get_position = position, get_color = "#000000ff", get_size = 32, get_angle = 0, get_text_anchor = "middle", get_alignment_baseline = "center", get_pixel_offset = c(0, 0), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_text_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(), billboard = cur_value(), size_scale = cur_value(), size_units = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), background = cur_value(), get_background_color = cur_value(), get_border_color = cur_value(), get_border_width = cur_value(), background_padding = cur_value(), font_family = cur_value(), font_weight = cur_value(), line_height = cur_value(), outline_width = cur_value(), outline_color = cur_value(), font_settings = cur_value(), word_break = cur_value(), max_width = cur_value(), get_text = cur_value(), get_position = cur_value(), get_color = cur_value(), get_size = cur_value(), get_angle = cur_value(), get_text_anchor = cur_value(), get_alignment_baseline = cur_value(), get_pixel_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_text_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TextLayer", 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", billboard = TRUE, size_scale = 1, size_units = "pixels", size_min_pixels = 0, size_max_pixels = 9007199254740991, background = FALSE, get_background_color = "#ffffffff", get_border_color = "#000000ff", get_border_width = 0, background_padding = c(0, 0, 0, 0), font_family = "Roboto, Helvetica, Arial, san-serif", font_weight = "normal", line_height = 1, outline_width = 0, outline_color = "#000000ff", font_settings = list(), word_break = "break-word", max_width = -1, get_text = text, get_position = position, get_color = "#000000ff", get_size = 32, get_angle = 0, get_text_anchor = "middle", get_alignment_baseline = "center", get_pixel_offset = c(0, 0), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_text_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(), billboard = cur_value(), size_scale = cur_value(), size_units = cur_value(), size_min_pixels = cur_value(), size_max_pixels = cur_value(), background = cur_value(), get_background_color = cur_value(), get_border_color = cur_value(), get_border_width = cur_value(), background_padding = cur_value(), font_family = cur_value(), font_weight = cur_value(), line_height = cur_value(), outline_width = cur_value(), outline_color = cur_value(), font_settings = cur_value(), word_break = cur_value(), max_width = cur_value(), get_text = cur_value(), get_position = cur_value(), get_color = cur_value(), get_size = cur_value(), get_angle = cur_value(), get_text_anchor = cur_value(), get_alignment_baseline = cur_value(), get_pixel_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
billboard |
< |
size_scale |
< |
size_units |
< |
size_min_pixels |
< |
size_max_pixels |
< |
background |
< |
get_background_color |
< |
get_border_color |
< |
get_border_width |
< |
background_padding |
< |
font_family |
< |
font_weight |
< |
line_height |
< |
outline_width |
< |
outline_color |
< |
font_settings |
< |
word_break |
< |
max_width |
< |
get_text |
< |
get_position |
< |
get_color |
< |
get_size |
< |
get_angle |
< |
get_text_anchor |
< |
get_alignment_baseline |
< |
get_pixel_offset |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/layers/text-layer.md
Other core-layers:
arc_layer
,
bitmap_layer
,
column_layer
,
geojson_layer
,
grid_cell_layer
,
icon_layer
,
line_layer
,
path_layer
,
point_cloud_layer
,
polygon_layer
,
scatterplot_layer
,
solid_polygon_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
,
hexagon_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
,
tile_3d_layer
,
tile_layer
,
trips_layer
Tile 3D Layer
add_tile_3d_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "Tile3DLayer", 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", get_point_color = "#000000ff", point_size = 1, loader = list(id = "3d-tiles", name = "3D Tiles", module = "3d-tiles", version = "3.2.13", extensions = c("cmpt", "pnts", "b3dm", "i3dm"), mimeTypes = c("application/octet-stream"), tests = c("cmpt", "pnts", "b3dm", "i3dm"), parse = NULL, options = list(`3d-tiles` = list(loadGLTF = TRUE, decodeQuantizedPositions = FALSE, isTileset = "auto", assetGltfUpAxis = NULL))), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_tile_3d_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(), get_point_color = cur_value(), point_size = cur_value(), loader = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value() )
add_tile_3d_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "Tile3DLayer", 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", get_point_color = "#000000ff", point_size = 1, loader = list(id = "3d-tiles", name = "3D Tiles", module = "3d-tiles", version = "3.2.13", extensions = c("cmpt", "pnts", "b3dm", "i3dm"), mimeTypes = c("application/octet-stream"), tests = c("cmpt", "pnts", "b3dm", "i3dm"), parse = NULL, options = list(`3d-tiles` = list(loadGLTF = TRUE, decodeQuantizedPositions = FALSE, isTileset = "auto", assetGltfUpAxis = NULL))), blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL ) update_tile_3d_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(), get_point_color = cur_value(), point_size = cur_value(), loader = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = 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 |
< |
get_point_color |
< |
point_size |
< |
loader |
object |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/tile3d-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_layer
,
trips_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
,
hexagon_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_layer
,
trips_layer
Intended for use as the data
parameter of mvt_layer()
. Creates a tile json url
from a tileset_id and tile_service. Tile service defaults to
getOption("rdeck.tile_service") %||% "mapbox"
.
The created url will be fetched and parsed with jsonlite::fromJSON()
.
tile_json(tileset_id, tile_service = NULL)
tile_json(tileset_id, tile_service = NULL)
tileset_id |
<
|
tile_service |
< |
Authentication via mapbox_access_token()
occurs when tile_service = "mapbox"
,
or tileset_id
uses the mapbox scheme (i.e. mapbox://).
## Not run: tile_json("mapbox.mapbox-streets-v8", "mapbox") tile_json("mapbox.mapbox-streets-v8.json", "mapbox") tile_json("mapbox://mapbox.mapbox-streets-v8") tile_json("mapbox://mapbox.mapbox-streets-v8.json") tile_json("https://mytileserver/tileset.json") tile_json("tileset.json", "https://mytileserver") ## End(Not run)
## Not run: tile_json("mapbox.mapbox-streets-v8", "mapbox") tile_json("mapbox.mapbox-streets-v8.json", "mapbox") tile_json("mapbox://mapbox.mapbox-streets-v8") tile_json("mapbox://mapbox.mapbox-streets-v8.json") tile_json("https://mytileserver/tileset.json") tile_json("tileset.json", "https://mytileserver") ## End(Not run)
Tile Layer
add_tile_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TileLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL, desaturate = 0, transparent_color = "#00000000", tint_color = "#ffffff" ) update_tile_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value(), desaturate = cur_value(), transparent_color = cur_value(), tint_color = cur_value() )
add_tile_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TileLayer", 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", get_tile_data = NULL, extent = NULL, tile_size = 512, max_zoom = NULL, min_zoom = 0, max_cache_size = NULL, max_cache_byte_size = NULL, refinement_strategy = "best-available", z_range = NULL, max_requests = 6, zoom_offset = 0, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL, desaturate = 0, transparent_color = "#00000000", tint_color = "#ffffff" ) update_tile_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(), get_tile_data = cur_value(), extent = cur_value(), tile_size = cur_value(), max_zoom = cur_value(), min_zoom = cur_value(), max_cache_size = cur_value(), max_cache_byte_size = cur_value(), refinement_strategy = cur_value(), z_range = cur_value(), max_requests = cur_value(), zoom_offset = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value(), desaturate = cur_value(), transparent_color = cur_value(), tint_color = 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 |
< If multiple url templates are supplied, each endpoint must return the same data for the same tile index. |
visible |
< |
pickable |
< |
opacity |
< |
wrap_longitude |
< |
position_format |
< |
color_format |
< |
auto_highlight |
< |
highlight_color |
< |
get_tile_data |
< |
extent |
< |
tile_size |
< |
max_zoom |
< |
min_zoom |
< |
max_cache_size |
< |
max_cache_byte_size |
< |
refinement_strategy |
< |
z_range |
< |
max_requests |
< |
zoom_offset |
< |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
desaturate |
< |
transparent_color |
< |
tint_color |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/tile-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
trips_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
,
hexagon_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
,
trips_layer
Trips Layer
add_trips_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TripsLayer", 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", width_units = "meters", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, joint_rounded = FALSE, cap_rounded = FALSE, miter_limit = 4, billboard = FALSE, get_path = path, get_color = "#000000ff", get_width = 1, fade_trail = TRUE, trail_length = 120, get_timestamps = timestamps, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL, loop_length = 1800, animation_speed = 30 ) update_trips_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(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), joint_rounded = cur_value(), cap_rounded = cur_value(), miter_limit = cur_value(), billboard = cur_value(), get_path = cur_value(), get_color = cur_value(), get_width = cur_value(), fade_trail = cur_value(), trail_length = cur_value(), get_timestamps = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value(), loop_length = cur_value(), animation_speed = cur_value() )
add_trips_layer( rdeck, ..., id = uuid::UUIDgenerate(), name = "TripsLayer", 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", width_units = "meters", width_scale = 1, width_min_pixels = 0, width_max_pixels = 9007199254740991, joint_rounded = FALSE, cap_rounded = FALSE, miter_limit = 4, billboard = FALSE, get_path = path, get_color = "#000000ff", get_width = 1, fade_trail = TRUE, trail_length = 120, get_timestamps = timestamps, blending_mode = "normal", visibility_toggle = TRUE, tooltip = NULL, loop_length = 1800, animation_speed = 30 ) update_trips_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(), width_units = cur_value(), width_scale = cur_value(), width_min_pixels = cur_value(), width_max_pixels = cur_value(), joint_rounded = cur_value(), cap_rounded = cur_value(), miter_limit = cur_value(), billboard = cur_value(), get_path = cur_value(), get_color = cur_value(), get_width = cur_value(), fade_trail = cur_value(), trail_length = cur_value(), get_timestamps = cur_value(), blending_mode = cur_value(), visibility_toggle = cur_value(), tooltip = cur_value(), loop_length = cur_value(), animation_speed = 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 |
< |
width_units |
< |
width_scale |
< |
width_min_pixels |
< |
width_max_pixels |
< |
joint_rounded |
< |
cap_rounded |
< |
miter_limit |
< |
billboard |
< |
get_path |
< |
get_color |
< |
get_width |
< |
fade_trail |
< |
trail_length |
< |
get_timestamps |
< Accepts a tidy-eval list column of numbers. |
blending_mode |
<
|
visibility_toggle |
< |
tooltip |
< |
loop_length |
< |
animation_speed |
< |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/geo-layers/trips-layer.md
Other geo-layers:
great_circle_layer
,
h3_cluster_layer
,
h3_hexagon_layer
,
mvt_layer
,
quadkey_layer
,
s2_layer
,
terrain_layer
,
tile_3d_layer
,
tile_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
,
hexagon_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
Create a view_state
view_state(center = c(0, 0), zoom = 0, pitch = 0, bearing = 0, ...)
view_state(center = c(0, 0), zoom = 0, pitch = 0, bearing = 0, ...)
center |
|
zoom |
|
pitch |
|
bearing |
|
... |
additional parameters to pass to |
Create point vectors
xy(x = double(), y = double(), crs = wk::wk_crs_longlat()) xyz(x = double(), y = double(), z = double(), crs = wk::wk_crs_longlat()) sfc_point(x = double(), y = double(), z = NULL, crs = wk::wk_crs_longlat())
xy(x = double(), y = double(), crs = wk::wk_crs_longlat()) xyz(x = double(), y = double(), z = double(), crs = wk::wk_crs_longlat()) sfc_point(x = double(), y = double(), z = NULL, crs = wk::wk_crs_longlat())
x |
< |
y |
< |
crs |
A value to be propagated as the CRS for this vector. |
z |
< |
A vector of coordinate values.
xy()
: Efficient 2-dimensional point vector
xyz()
: Efficient 3-dimensional point vector
sfc_point()
: Simple features point vector
xy(1:5, 1:5) xyz(1:5, 1:5, 1:5) sfc_point(1:5, 1:5) sfc_point(1:5, 1:5, 1:5)
xy(1:5, 1:5) xyz(1:5, 1:5, 1:5) sfc_point(1:5, 1:5) sfc_point(1:5, 1:5, 1:5)