clear_animated_arc {mapdeck}R Documentation

Clear Animated Arc

Description

Clears elements from a map

Clears elements from a map

Usage

clear_animated_arc(map, layer_id = NULL, update_view = TRUE)

clear_line(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_arc(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_bitmap(map, layer_id = NULL, update_view = TRUE)

clear_column(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_geojson(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_greatcircle(
  map,
  layer_id = NULL,
  update_view = TRUE,
  clear_legend = TRUE
)

clear_grid(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_h3_hexagon(map, layer_id = NULL)

clear_heatmap(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_hexagon(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_line(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_mesh(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_path(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_pointcloud(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_polygon(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_scatterplot(
  map,
  layer_id = NULL,
  update_view = TRUE,
  clear_legend = TRUE
)

clear_screengrid(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_terrain(map, layer_id = NULL, update_view = TRUE)

clear_text(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

clear_title(map, layer_id = NULL)

clear_trips(map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE)

Arguments

map

a mapdeck map object

layer_id

the layer_id of the layer you want to clear

update_view

logical indicating if the map should update the bounds after removing the layer

clear_legend

logical indicating if the legend should be removed


[Package mapdeck version 0.3.5 Index]