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