All functions

addAwesomeMarkers()

Add Awesome Markers

addGraticule()

Add a Graticule on the map see https://github.com/turban/Leaflet.Graticule

addLayersControl() layersControlOptions() removeLayersControl()

Add UI controls to switch layers on and off

addLegend() labelFormat()

Add a color legend to a map

addMapPane()

Add additional panes to leaflet map to control layer order

addMeasure()

Add a measure control to the map.

addMiniMap()

Add a minimap to the Map https://github.com/Norkart/Leaflet-MiniMap

addProviderTiles() providerTileOptions()

Add a tile layer from a known map provider

addRasterImage() projectRasterForLeaflet()

Add a raster image as a layer

addScaleBar() scaleBarOptions() removeScaleBar()

Add or remove a scale bar

addSimpleGraticule()

Add a simple Graticule on the map see https://github.com/ablakey/Leaflet.SimpleGraticule

addTerminator()

Add a daylight layer on top of the map

atlStorms2005

Atlantic Ocean storms 2005

awesomeIconList()

Make awesome-icon set

awesomeIcons()

Create a list of awesome icon data see https://github.com/lennardv2/Leaflet.awesome-markers

breweries91

Selected breweries in Franconia

colorNumeric() colorBin() colorQuantile() colorFactor()

Color mapping

createLeafletMap() leafletMap()

Legacy functions

derivePoints()

Given a data object and lng/lat arguments (which may be NULL [meaning infer from data], formula [which should be evaluated with respect to the data], or vector data [which should be used as-is]) return a lng/lat data frame.

derivePolygons()

Given a data object and lng/lat arguments (which may be NULL [meaning infer from data], formula [which should be evaluated with respect to the data], or vector data [which should be used as-is]) return a spatial object

dispatch() invokeMethod()

Extension points for plugins

easyButtonState() easyButton() addEasyButton() addEasyButtonBar()

Create an easyButton statestate

evalFormula()

Evaluate list members that are formulae, using the map data as the environment (if provided, otherwise the formula environment)

expandLimits()

Notifies the map of new latitude/longitude of items of interest on the map

expandLimitsBbox()

Same as expandLimits, but takes a polygon (that presumably has a bbox attr) rather than lat/lng.

filterNULL()

remove NULL elements from a list

gadmCHE

Administrative borders of Switzerland (level 1)

getMapData()

returns the map's data

groupOptions()

Set options on layer groups

iconList()

Make icon set

icons()

Create a list of icon data

leaflet-imports

Objects imported from other packages

leaflet() leafletOptions() leafletCRS()

Create a Leaflet map widget

leafletDependencies

Various leaflet dependency functions for use in downstream packages

leafletProxy()

Send commands to a Leaflet instance in a Shiny app

leafletSizingPolicy()

Leaflet sizing policy

makeAwesomeIcon()

Make Awesome Icon

makeIcon()

Define icon sets

addControl() addTiles() addWMSTiles() addPopups() addMarkers() addLabelOnlyMarkers() addCircleMarkers() highlightOptions() addCircles() addPolylines() addRectangles() addPolygons() addGeoJSON() addTopoJSON()

Graphics elements and layers

setView() flyTo() fitBounds() flyToBounds() setMaxBounds() clearBounds()

Methods to manipulate the map widget

tileOptions() WMSTileOptions() popupOptions() labelOptions() markerOptions() markerClusterOptions() pathOptions()

Extra options for map elements and layers

leafletOutput() renderLeaflet()

Wrapper functions for using leaflet in shiny

mapOptions()

Set options on a leaflet map object

previewColors()

Color previewing utility

providers

Providers

removeControl() clearControls() clearGroup() removeImage() clearImages() removeTiles() clearTiles() removePopup() clearPopups() removeMarker() clearMarkers() removeMarkerCluster() clearMarkerClusters() removeMarkerFromCluster() removeShape() clearShapes() removeGeoJSON() clearGeoJSON() removeMeasure() removeTopoJSON() clearTopoJSON()

Remove elements from a map

showGroup() hideGroup()

Show or hide layer groups

validateCoords()

Utility function to check if a coordinates is valid