Clears elements from a map

Clears elements from a map

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)

Arguments

map

a mapdeck map object

layer_id

the layer_id of the layer you want to clear