Skip to content

All functions

addAwesomeMarkers()
Add Awesome Markers
addGraticule()
Add a Graticule on the map
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
addProviderTiles() providerTileOptions()
Add a tile layer from a known map provider
addRasterImage() projectRasterForLeaflet()
Add a raster image as a layer
addRasterLegend()
Add a color legend for a SpatRaster to a map
addScaleBar() scaleBarOptions() removeScaleBar()
Add or remove a scale bar
addSimpleGraticule()
Add a simple Graticule on the map
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
breweries91
Selected breweries in Franconia
colorNumeric() colorBin() colorQuantile() colorFactor()
Color mapping
createLeafletMap() leafletMap()
Legacy functions
dispatch() invokeMethod()
Extension points for plugins
easyButtonState() easyButton() addEasyButton() addEasyButtonBar()
Create an easyButton statestate
expandLimits()
Notifies the map of new latitude/longitude of items of interest on the map
expandLimitsBbox()
Notifies the map of polygons of interest on the map
gadmCHE
Administrative borders of Switzerland (level 1)
getMapData()
Extract the map's data
groupOptions()
Set options on layer groups
iconList()
Make icon set
icons()
Create a list of icon data
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() gridOptions() 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.details
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