Learn R Programming

toro (version 0.1.0)

remove_speed_control: Remove the speed control from the map

Description

Remove the speed control from the map

Usage

remove_speed_control(proxy, panel_id = NULL)

Value

The map proxy object for chaining.

Arguments

proxy

The map proxy object created by mapProxy().

panel_id

Optional. If provided, removes the speed control from the specified control panel. If NULL, removes the standalone speed control.

Examples

Run this code
# Add to a map
map() |>
 add_speed_control()

# Add to a control panel
map() |>
 add_control_panel(panel_id = "my_panel", title = "Map Settings") |>
 add_speed_control(panel_id = "my_panel")

Run the code above in your browser using DataLab