leaflet v1.0.0


Monthly downloads



by Joe Cheng

Create Interactive Web Maps with the JavaScript 'Leaflet' Library

Create and customize interactive maps using the 'Leaflet' JavaScript library and the 'htmlwidgets' package. These maps can be used directly from the R console, from 'RStudio', in Shiny apps and R Markdown documents.

Functions in leaflet

Name Description
dispatch Extension points for plugins
leafletProxy Send commands to a Leaflet instance in a Shiny app
makeIcon Define icon sets
iconList Make icon set
colorNumeric Color mapping
mapOptions Set options on a leaflet map object
tileOptions Extra options for map elements and layers
leafletOutput Wrapper functions for using leaflet in shiny
previewColors Color previewing utility
leaflet Create a Leaflet map widget
showGroup Show or hide layer groups
icons Create a list of icon data
addLayersControl Add UI controls to switch layers on and off
addControl Graphics elements and layers
removeControl Remove elements from a map
addProviderTiles Add a tile layer from a known map provider
addRasterImage Add a raster image as a layer
setView Methods to manipulate the map widget
addLegend Add a color legend to a map
createLeafletMap Legacy functions
leaflet-imports Objects imported from other packages
No Results!

Last month downloads


Include our badge in your README