Learn R Programming

leaflet.extras (version 2.1.0)

Extra Functionality for 'leaflet' Package

Description

The 'leaflet' JavaScript library provides many plugins some of which are available in the core 'leaflet' package, but there are many more. It is not possible to support them all in the core 'leaflet' package. This package serves as an add-on to the 'leaflet' package by providing extra functionality via 'leaflet' plugins.

Copy Link

Version

Install

install.packages('leaflet.extras')

Monthly Downloads

8,764

Version

2.1.0

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Gatscha

Last Published

September 16th, 2026

Functions in leaflet.extras (2.1.0)

addBingTiles

Adds Bing Tiles Layer
searchOptions

Options for search control.
suspendScroll

Prevents accidental map scrolling when scrolling in a document.
addHash

Add dynamic URL Hash
enableMeasurePath

Enables measuring of length of polylines and areas of polygons
pulseMarkers

Create a list of pulse icon data see
addGeoJSONv2

Adds a GeoJSON/TopoJSON to the leaflet map.
addSearchFeatures

Add a feature search control to the map.
addSearchOSM

Add a OSM search control to the map.
weatherMarkers

Create a list of weather icon data see
toolbarOptions

Options for editing the toolbar
propsToHTML

Converts GeoJSON Feature properties to HTML
addStyleEditor

Add style editor
leafletExtrasDependencies

Various leaflet dependency functions for use in downstream packages
addWMSLegend

Add WMS Legend
addWebGLHeatmap

Add a webgl heatmap
addGroupedOverlay

Methods of GroupedLayersControl
addAwesomeMarkersDependencies

Add AwesomeMarkers and related lib dependencies to a map
addBootstrapDependency

Add Bootstrap dependency to a map
debugMap

For debugging a leaflet map
enableTileCaching

Enables caching of Tiles
addBounceMarkers

Add Bounce Markers to map
addGroupedLayersControl

Leaflet layer control with support for grouping overlays together.
addResetMapButton

Reset map's view to original view
gpsOptions

Options for the GPS Control
handlersOptions

Options for editing handlers
geodesics

Add Geodesic Lines & Circles
groupedLayersControlOptions

Options for the GroupedLayersControl
addDrawToolbar

Adds a Toolbar to draw shapes/points on the map.
edithandlersOptions

Options for editing edit handlers
drawShapeOptions

Options for drawn shapes
addHeatmapLegend

Add a color legend for a heatmap
edittoolbarOptions

Options for editing the toolbar
addFullscreenControl

Add fullscreen control
leaflet.extras-package

leaflet.extras: Extra Functionality for 'leaflet' Package.
addHeatmap

Add a heatmap