Interactive & Customisable Maps using the 'MapLibre GL JS' Library


[Up] [Top]

Documentation for package ‘toro’ version 0.1.0

Help Pages

add_animation_controls Add animation controls to a toro map
add_circle_layer Add a circle layer to a map or map proxy
add_cluster_toggle Add a cluster toggle control to the map or control panel
add_control_group Add a control group to a control panel
add_control_panel Add a control panel to the map
add_cursor_coords_control Add a cursor coordinates control to the map
add_custom_control Add a custom HTML control to the map
add_draw_control Add a draw control to the map
add_feature_server_source Add a FeatureService source to the map
add_fill_layer Add a fill layer to a map or map proxy
add_image Add an image source to the map
add_lat_lng_grid Add a grid of latitude and longitude lines to the map
add_layer Add a layer to a map or map proxy
add_layer_selector_control Add a layer selector control to the map or control panel
add_line_layer Add a line layer to a map or map proxy
add_route Add a route to a toro map which can be animated
add_source Add a source to the map
add_speed_control Add a speed control to the map or control panel
add_symbol_layer Add a symbol layer to a map or map proxy
add_text_layer Add a text layer to a map or map proxy
add_tile_selector_control Add a tile selector control to the map or control panel
add_timeline_control Add a timeline control to the map or control panel
add_visibility_toggle Add a visibility toggle control to the map or control panel
add_zoom_control Add a zoom control to the map
delete_drawn_shape Delete a drawn shape from the map
export_map_image Export map as an image (non-Shiny context)
get_clicked_feature Get the sf data frame of a clicked feature from the map widget
get_column Get a column from a dataset to use as a paint or layout option in a map layer
get_column_boolean Get the value for a paint or layout option in a map layer based on a column boolean value
get_column_group Get the values for a paint or layout option in a map layer based on a column value
get_column_steps Get the properties for a column in a map layer based on step breaks
get_drawn_shape Get the drawn shape from the map widget
get_layer_filter Get a filter for a layer
get_layout_options Get layout options for a specific layer type
get_paint_options Get paint options for a specific layer type
get_tile_options Get available tile layer options
hide_layer Hide a layer from the map
map Create a MapLibre map widget
mapOutput Create a MapLibre GL output for use in Shiny
mapProxy Create a proxy object for updating the map
pause_route Pause a route animation on a toro map
play_route Play a route animation on a toro map
remove_cluster_toggle Remove a cluster toggle control from the map
remove_control Remove a control from the map
remove_control_group Remove a control group from a control panel
remove_cursor_coords_control Remove the cursor coordinates control from the map
remove_custom_control Remove a custom control from the map
remove_draw_control Remove the draw control from the map
remove_layer_selector_control Remove the layer selector control from the map
remove_route Remove an animation route from a toro map
remove_speed_control Remove the speed control from the map
remove_tile_selector_control Remove the tile selector control from the map
remove_timeline_control Remove the timeline control from the map
remove_visibility_toggle Remove a visibility toggle control from the map
remove_zoom_control Remove the zoom control from the map
renderMap Render a MapLibre GL map in Shiny
save_map_html Save map as standalone HTML file
set_bounds Set the map bounds
set_layout_property Set a layout property for a layer on the map
set_paint_property Set a paint property for a layer on the map
set_source_data Set data for a source on the map
set_tile_layer Set the tile layer for the map
set_zoom Set the map zoom level
show_layer Show a previously hidden layer on the map
toggle_clustering Toggle clustering for a layer on the map
toggle_control Toggle the visibility of a control on the map
toggle_lat_lng_grid Show/hide the latitude and longitude grid on the map