Package: toro 0.1.0

Poppy Pakinui

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

Create interactive maps that can keep up with complex visualisations and large datasets, with this useful interface to the 'MapLibre GL JS' (<https://maplibre.org/maplibre-gl-js/docs/>) library. Users can create maps directly in the console, or as an HTML widget within 'Shiny' web applications, and render spatial data quickly with many customisable options (clusters, custom icons, map layers, and backgrounds). The goal of the package is to make it easier to interpret and explore large spatial datasets within the context of a 'Shiny' dashboard, without having long loading times waiting for a map to update with new data.

Authors:Poppy Pakinui [aut, cre], Jocelyn Qian [ctb], Nick Snellgrove [ctb], MapLibre contributors [cph], Turf contributors [cph], Mapbox contributors [cph], epi [cph, fnd]

toro_0.1.0.tar.gz
toro_0.1.0.tar.gz(r-4.7-any)toro_0.1.0.tar.gz(r-4.6-any)
toro_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
toro/json (API)
NEWS

# Install 'toro' in R:
install.packages('toro', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/epi-interactive-ltd/toro/issues

Pkgdown/docs site:https://epi-interactive-ltd.github.io

On CRAN:

Conda:

1.70 score 67 exports 54 dependencies

Last updated from:06b8375bea. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK154
source / vignettesOK200
linux-release-x86_64OK139
wasm-releaseOK180

Exports:add_animation_controlsadd_circle_layeradd_cluster_toggleadd_control_groupadd_control_paneladd_cursor_coords_controladd_custom_controladd_draw_controladd_feature_server_sourceadd_fill_layeradd_imageadd_lat_lng_gridadd_layeradd_layer_selector_controladd_line_layeradd_routeadd_sourceadd_speed_controladd_symbol_layeradd_text_layeradd_tile_selector_controladd_timeline_controladd_visibility_toggleadd_zoom_controldelete_drawn_shapeexport_map_imageget_clicked_featureget_columnget_column_booleanget_column_groupget_column_stepsget_drawn_shapeget_layer_filterget_layout_optionsget_paint_optionsget_tile_optionshide_layermapmapOutputmapProxypause_routeplay_routeremove_cluster_toggleremove_controlremove_control_groupremove_cursor_coords_controlremove_custom_controlremove_draw_controlremove_layer_selector_controlremove_routeremove_speed_controlremove_tile_selector_controlremove_timeline_controlremove_visibility_toggleremove_zoom_controlrenderMapsave_map_htmlset_boundsset_layout_propertyset_paint_propertyset_source_dataset_tile_layerset_zoomshow_layertoggle_clusteringtoggle_controltoggle_lat_lng_grid

Dependencies:base64encbslibcachemclassclassIntclicommonmarkDBIdigeste1071evaluatefastmapfontawesomefsgeojsonsfgeometriesgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonifyjsonliteKernSmoothknitrlaterlifecyclemagrittrMASSmemoisemimeotelpromisesproxyR6rapidjsonrrappdirsRcpprlangrmarkdowns2sasssfsfheadersshinysourcetoolstinytexunitswithrwkxfunxtableyaml

Readme and manuals

Help Manual

Help pageTopics
Add animation controls to a toro mapadd_animation_controls
Add a circle layer to a map or map proxyadd_circle_layer
Add a cluster toggle control to the map or control paneladd_cluster_toggle
Add a control group to a control paneladd_control_group
Add a control panel to the mapadd_control_panel
Add a cursor coordinates control to the mapadd_cursor_coords_control
Add a custom HTML control to the mapadd_custom_control
Add a draw control to the mapadd_draw_control
Add a FeatureService source to the mapadd_feature_server_source
Add a fill layer to a map or map proxyadd_fill_layer
Add an image source to the mapadd_image
Add a grid of latitude and longitude lines to the mapadd_lat_lng_grid
Add a layer to a map or map proxyadd_layer
Add a layer selector control to the map or control paneladd_layer_selector_control
Add a line layer to a map or map proxyadd_line_layer
Add a route to a toro map which can be animatedadd_route
Add a source to the mapadd_source
Add a speed control to the map or control paneladd_speed_control
Add a symbol layer to a map or map proxyadd_symbol_layer
Add a text layer to a map or map proxyadd_text_layer
Add a tile selector control to the map or control paneladd_tile_selector_control
Add a timeline control to the map or control paneladd_timeline_control
Add a visibility toggle control to the map or control paneladd_visibility_toggle
Add a zoom control to the mapadd_zoom_control
Delete a drawn shape from the mapdelete_drawn_shape
Export map as an image (non-Shiny context)export_map_image
Get the sf data frame of a clicked feature from the map widgetget_clicked_feature
Get a column from a dataset to use as a paint or layout option in a map layerget_column
Get the value for a paint or layout option in a map layer based on a column boolean valueget_column_boolean
Get the values for a paint or layout option in a map layer based on a column valueget_column_group
Get the properties for a column in a map layer based on step breaksget_column_steps
Get the drawn shape from the map widgetget_drawn_shape
Get a filter for a layerget_layer_filter
Get layout options for a specific layer typeget_layout_options
Get paint options for a specific layer typeget_paint_options
Get available tile layer optionsget_tile_options
Hide a layer from the maphide_layer
Create a MapLibre map widgetmap
Create a MapLibre GL output for use in ShinymapOutput
Create a proxy object for updating the mapmapProxy
Pause a route animation on a toro mappause_route
Play a route animation on a toro mapplay_route
Remove a cluster toggle control from the mapremove_cluster_toggle
Remove a control from the mapremove_control
Remove a control group from a control panelremove_control_group
Remove the cursor coordinates control from the mapremove_cursor_coords_control
Remove a custom control from the mapremove_custom_control
Remove the draw control from the mapremove_draw_control
Remove the layer selector control from the mapremove_layer_selector_control
Remove an animation route from a toro mapremove_route
Remove the speed control from the mapremove_speed_control
Remove the tile selector control from the mapremove_tile_selector_control
Remove the timeline control from the mapremove_timeline_control
Remove a visibility toggle control from the mapremove_visibility_toggle
Remove the zoom control from the mapremove_zoom_control
Render a MapLibre GL map in ShinyrenderMap
Save map as standalone HTML filesave_map_html
Set the map boundsset_bounds
Set a layout property for a layer on the mapset_layout_property
Set a paint property for a layer on the mapset_paint_property
Set data for a source on the mapset_source_data
Set the tile layer for the mapset_tile_layer
Set the map zoom levelset_zoom
Show a previously hidden layer on the mapshow_layer
Toggle clustering for a layer on the maptoggle_clustering
Toggle the visibility of a control on the maptoggle_control
Show/hide the latitude and longitude grid on the maptoggle_lat_lng_grid