polygon_layer | R Documentation |
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()
)
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.