'leaflet' Extensions for 'mapview'
Overview
Provides extensions for packages 'leaflet' & 'mapdeck', many of which are used by package 'mapview'. Focus is on functionality readily available in Geographic Information Systems such as 'Quantum GIS'. Includes functions to display coordinates of mouse pointer position, query image values via mouse pointer and zoom-to-layer buttons. Additionally, provides a feature type agnostic function to add points, lines, polygons to a map.
🐛 bug fixes
- use layerId instead of group for fgb files. Adresses https://github.com/r-spatial/mapview/issues/505
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 24
- Examples that run
- 85%17 run in a plain check (6 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 83%
- Documented parameters
- 98%
- Return-value docs
- 33%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/r-spatial/leafem on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-11-04 · The repository has a site deploy workflow
pkgdown site last built 2025-11-04
Dependencies
Installing leafem adds 55 packages (34 with compiled code, 49 MB of source tarballs). Heaviest: sf 9.3 MB, bslib 5.6 MB, sp 4.3 MB.
Code & Tests
People & History
Show 5 more contributorsHide 5 contributors
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.5Latest
- 0.2.42025-05-01 · diff ↗ ·
added 6 exports
customizeLayersControl, hideLogo, imagequeryOptions, removeLogo, showLogo, updateLogo - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.3
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.02022-04-16 · diff ↗
- 0.1.6
- RR 4.1.0 released · 2021-05-18
- 0.1.3
- RR 4.0.0 released · 2020-04-24
- 0.1.12020-04-05 · diff ↗
- 0.1.02020-03-29 · diff ↗ ·
added 11 exports
addCopyExtent, addExtent, addFgb, addLocalFile, addRasterRGB, addStarsImage, addStarsRGB, addStaticLabels, addTileFolder, clip2sfc, updateLayersControl - 0.0.12019-04-30
Show 1 earlier eventHide 1 earlier event
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-04-30
- Total releases
- 9 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 941 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("leafem")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.