Extra Functionality for 'leaflet' Package

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.


leaflet.extras 1.0.0



  • Leaflet.label has updated to v1.x of leaflet.js changing default behavior. Mainly... "bindLabel, openLabel and so should be replaced by bindTooltip, openTooltip, etc".

New Features


  • Major Changes to search

leaflet.extras 0.2

Bug Fixes

  • Fixed #86
  • Made CRAN Ready #87 (Thanks @timelyportfolio!)

leaflet.extras 0.1.9009

Bug Fixes

  • Fixed #61 by merging #62 (Thanks @RCura!)
  • Upgraded Draw Plugin now supports clearing all features. Fixes #55.

leaflet.extras 0.1.9008

New Features

  • Another option for heatmaps via Leaflet.heat
  • Also fixed gradientTexture option of WebGLHeatmap.

leaflet.extras 0.1.9007

New Features

leaflet.extras 0.1.9006


  • Major performance boost to addWebGLHeatmap function. Closes #42.

leaflet.extras 0.1.9004

New Features

leaflet.extras 0.1.9003

New Features

leaflet.extras 0.1.9002

New Features

leaflet.extras 0.1.9001

New Features

  • Switched to x.y.zzzz naming for the package version.
  • Added support for editing existing shapes with the draw toobar.

leaflet.extras 0.1.9

New Features

leaflet.extras 0.1.8

New Features

  • Added support for GPX Files


  • Streamlined entire GeoJSON handling code
  • Now you can add GeoJSON/TopoJSON/GPX/KML/CSV point and polygon data.

leaflet.extras 0.1.7

New Features

  • Added support for automatic legend with bi-directional highlighting to Choropleths.

leaflet.extras 0.1.6

New Features

  • Added KML/CSV support and more examples of handling geojson/topojson/kml data.

leaflet.extras 0.1.5

New Features

  • Added addGeoJSONv2 for better GeoJSON support.


  • Refactored GeoJSON/TopoJSON Chropleths.

leaflet.extras 0.1.4

New Features

  • Added addTopoJSONChoropleth (Thanks TrantorM).


  • GeoJSON/TopoJSON Choropleth now accepts popupOptions, labelOptions, and highlightOptions.

leaflet.extras 0.1.3

New Features

leaflet.extras 0.1.2

New Features

leaflet.extras 0.1.1

New Features

leaflet.extras 0.1.0

New Features

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.0 by Bhaskar Karambelkar, 2 years ago

https://github.com/bhaskarvk/leaflet.extras, https://bhaskarvk.github.io/leaflet.extras/

Report a bug at https://github.com/bhaskarvk/leaflet.extras/issues

Browse source code at https://github.com/cran/leaflet.extras

Authors: Bhaskar Karambelkar [aut, cre] , Barret Schloerke [aut] , Bangyou Zheng [ctb] (Leaflet-search and Leaflet-GPS plugin integration) , Robin Cura [ctb] (Fixes for Draw Options) , Markus Voge [ctb] (Enhancements for Draw Options) , Markus Dumke [ctb] (Bounce Marker addition) , Mapbox [ctb, cph] (leaflet-omnivore , csv2geojson , and togeojson libraries) , Henry Thasler [ctb, cph] (Leaflet.Geodesic library) , Dennis Wilhelm [ctb, cph] (Leaflet.StyleEditor library) , Kirollos Risk [ctb, cph] (fuse.js library) , Tim Wisniewski [ctb, cph] (leaflet-choropleth library) , Leaflet [ctb, cph] (leaflet-draw library) , Alexander Milevski [ctb, cph] (leaflet-draw-drag library) , John Firebaugh [ctb, cph] (leaflet-fullscreen library) , Stefano Cudini [ctb, cph] (leaflet-gps library) , Johannes Rudolph [ctb, cph] (leaflet-hash library) , Per Liedman [ctb, cph] (leaflet-measure-path library) , Pavel Shramov [ctb, cph] (leaflet-plugins library) , Filip Zavadil [ctb, cph] (leaflet-pulse-icon library) , Stefano Cudini [ctb, cph] (leaflet-search library) , CliffCloud [ctb, cph] (leaflet-sleep library) , Ursudio [ctb, cph] (leaflet-webgl-heatmap library) , Maxime Hadjinlian [ctb, cph] (leaflet.BounceMarker library) , Vladimir Agafonkin [ctb, cph] (leaflet.heat library) , Iván Sánchez Ortega [ctb, cph] (leaflet.tilelayer.pouchdbcached library) , Dale Harvey [ctb, cph] (pouchdb-browser library) , Mike Bostock [ctb, cph] (topojson library)

Documentation:   PDF Manual  

GPL-3 | file LICENSE license

Imports htmlwidgets, htmltools, stringr, magrittr

Depends on leaflet

Suggests jsonlite, readr

Imported by bcdata, mapedit, oceanis, sen2r, wallace.

Depended on by leaflet.esri.

See at CRAN