Learn R Programming

⚠️There's a newer version (2.2.2) of this package.Take me there.

leaflet (version 1.0.0)

Create Interactive Web Maps with the JavaScript 'Leaflet' Library

Description

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.

Copy Link

Version

Install

install.packages('leaflet')

Monthly Downloads

94,640

Version

1.0.0

License

GPL-3 | file LICENSE

Maintainer

Joe Cheng

Last Published

June 23rd, 2015

Functions in leaflet (1.0.0)

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