Package: leafem 0.2.3.9015

Tim Appelhans

leafem: 'leaflet' Extensions for 'mapview'

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.

Authors:Tim Appelhans [cre, aut], Christoph Reudenbach [ctb], Kenton Russell [ctb], Jochen Darley [ctb], Daniel Montague [ctb, cph], Lorenzo Busetto [ctb], Luigi Ranghetti [ctb], Miles McBain [ctb], Sebastian Gatscha [ctb], Björn Harrtell [ctb, cph], Daniel Dufour [ctb, cph], Yeedle Neuwirth [ctb], Derek Friend [ctb], Kevin Cazelles [ctb]

leafem_0.2.3.9015.tar.gz
leafem_0.2.3.9015.zip(r-4.5)leafem_0.2.3.9015.zip(r-4.4)leafem_0.2.3.9015.zip(r-4.3)
leafem_0.2.3.9015.tgz(r-4.4-any)leafem_0.2.3.9015.tgz(r-4.3-any)
leafem_0.2.3.9015.tar.gz(r-4.5-noble)leafem_0.2.3.9015.tar.gz(r-4.4-noble)
leafem_0.2.3.9015.tgz(r-4.4-emscripten)leafem_0.2.3.9015.tgz(r-4.3-emscripten)
leafem.pdf |leafem.html
leafem/json (API)
NEWS

# Install 'leafem' in R:
install.packages('leafem', repos = c('https://r-spatial.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-spatial/leafem/issues

Pkgdown:https://r-spatial.github.io

On CRAN:

12.20 score 108 stars 49 packages 740 scripts 27k downloads 34 exports 61 dependencies

Last updated 12 hours agofrom:2d1e3535aa. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 14 2024
R-4.5-winNOTEDec 14 2024
R-4.5-linuxNOTEDec 14 2024
R-4.4-winOKDec 14 2024
R-4.4-macOKDec 14 2024
R-4.3-winOKDec 14 2024
R-4.3-macOKDec 14 2024

Exports:addCOGaddCopyExtentaddExtentaddFeaturesaddFgbaddGeoRasteraddGeotiffaddHomeButtonaddImageQueryaddLocalFileaddLogoaddMouseCoordinatesaddPMPointsaddPMPolygonsaddPMPolylinesaddRasterRGBaddReactiveFeaturesaddStarsImageaddStarsRGBaddStaticLabelsaddTileFolderclip2sfccolorOptionsextendLayersControlgarnishMaphideLogoimagequeryOptionspaintRulesremoveHomeButtonremoveLogoremoveMouseCoordinatesshowLogoupdateLayersControlupdateLogo

Dependencies:base64encbslibcachemclassclassIntclicolorspacecrosstalkDBIdigeste1071evaluatefarverfastmapfontawesomefsgeojsonsfgeometriesgluehighrhtmltoolshtmlwidgetsjquerylibjsonifyjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclemagrittrMASSmemoisemimemunsellpngproxyR6rapidjsonrrappdirsrasterRColorBrewerRcpprlangrmarkdowns2sassscalessfsfheadersspterratinytexunitsviridisLitewkxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Add Cloud Optimised Geotiff (COG) to a leaflet map.addCOG
Copy current view extent to the clipboardaddCopyExtent
Add extent/bbox of spatial objects to a leaflet mapaddExtent
Type agnositc version of 'leaflet::add*' functions.addFeatures
Add a flatgeobuf file to leaflet mapaddFgb
Add stars/raster image to a leaflet map using optimised rendering.addGeoRaster
Add a GeoTIFF file to a leaflet map using optimised rendering.addGeotiff
Add a home button / zoom-to-layer button to a map.addHomeButton removeHomeButton
Add image query functionality to leaflet/mapview map.addImageQuery
Add vector data to leaflet map directly from the file systemaddLocalFile
add a local or remote image (png, jpg, gif, bmp, ...) to a leaflet mapaddLogo hideLogo removeLogo showLogo updateLogo
Add mouse coordinate information at top of map.addMouseCoordinates clip2sfc removeMouseCoordinates
Add vector tiles stored as PMTiles in an AWS S3 bucket to a leaflet map.addPMPoints addPMPolygons addPMPolylines
Add an RGB image as a layeraddRasterRGB addStarsRGB
Add a reactive layer to map.addReactiveFeatures
Add stars layer to a leaflet mapaddStarsImage
Add static labels to 'leaflet' or 'mapview' objectsaddStaticLabels
Add raster tiles from a local folderaddTileFolder
Color options for addGeoRaster and addGeotiffcolorOptions
Extend Layers Control in Leaflet MapextendLayersControl
Garnish/decorate leaflet or mapview maps.garnishMap
Imagequery options for addGeoRaster, addGeotiff and addCOGimagequeryOptions
Styling options for PMTilespaintRules
Update the layer controls when adding layers to an existing map.updateLayersControl