clear: Remove drawing

clear_circlesR Documentation

Remove drawing

Description

clears elements from a map

Usage

clear_circles(map, layer_id = NULL)

clear_drawing(map)

remove_drawing(map)

clear_fusion(map, layer_id = NULL)

clear_geojson(map, layer_id = NULL)

clear_heatmap(map, layer_id = NULL)

clear_kml(map, layer_id = NULL)

clear_markers(map, layer_id = NULL)

clear_overlay(map, layer_id = NULL)

clear_polygons(map, layer_id = NULL)

clear_polylines(map, layer_id = NULL)

clear_rectangles(map, layer_id = NULL)

clear_traffic(map)

clear_transit(map)

clear_bicycling(map)

Arguments

map

a googleway map object created from google_map()

layer_id

id value of the layer to be removed from the map

Functions

  • remove_drawing: removes drawing controls from a map

Note

These operations are intended for use in conjunction with google_map_update in an interactive shiny environment


googleway documentation built on Aug. 22, 2023, 9:13 a.m.