Clears elements from a map
Clears elements from a map
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | clear_animated_arc(map, layer_id = NULL)
clear_line(map, layer_id = NULL)
clear_arc(map, layer_id = NULL)
clear_bitmap(map, layer_id = NULL)
clear_column(map, layer_id = NULL)
clear_geojson(map, layer_id = NULL)
clear_greatcircle(map, layer_id = NULL)
clear_grid(map, layer_id = NULL)
clear_heatmap(map, layer_id = NULL)
clear_hexagon(map, layer_id = NULL)
clear_line(map, layer_id = NULL)
clear_mesh(map, layer_id = NULL)
clear_path(map, layer_id = NULL)
clear_pointcloud(map, layer_id = NULL)
clear_polygon(map, layer_id = NULL)
clear_scatterplot(map, layer_id = NULL)
clear_screengrid(map, layer_id = NULL)
clear_terrain(map, layer_id = NULL)
clear_text(map, layer_id = NULL)
clear_title(map, layer_id = NULL)
clear_trips(map, layer_id = NULL)
|
map |
a mapdeck map object |
layer_id |
the layer_id of the layer you want to clear |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.