Package: leafem 0.2.3.9006

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.9006.tar.gz
leafem_0.2.3.9006.zip(r-4.5)leafem_0.2.3.9006.zip(r-4.4)leafem_0.2.3.9006.zip(r-4.3)
leafem_0.2.3.9006.tgz(r-4.4-any)leafem_0.2.3.9006.tgz(r-4.3-any)
leafem_0.2.3.9006.tar.gz(r-4.5-noble)leafem_0.2.3.9006.tar.gz(r-4.4-noble)
leafem_0.2.3.9006.tgz(r-4.4-emscripten)leafem_0.2.3.9006.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

On CRAN:

33 exports 107 stars 6.09 score 61 dependencies 49 dependents 662 scripts 19.1k downloads

Last updated 3 months agofrom:541e2a6fa4. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winNOTESep 02 2024
R-4.5-linuxNOTESep 02 2024
R-4.4-winOKSep 02 2024
R-4.4-macOKSep 02 2024
R-4.3-winOKSep 02 2024
R-4.3-macOKSep 02 2024

Exports:addCOGaddCopyExtentaddExtentaddFeaturesaddFgbaddGeoRasteraddGeotiffaddHomeButtonaddImageQueryaddLocalFileaddLogoaddMouseCoordinatesaddPMPointsaddPMPolygonsaddPMPolylinesaddRasterRGBaddReactiveFeaturesaddStarsImageaddStarsRGBaddStaticLabelsaddTileFolderclip2sfccolorOptionsgarnishMaphideLogoimagequeryOptionspaintRulesremoveHomeButtonremoveLogoremoveMouseCoordinatesshowLogoupdateLayersControlupdateLogo

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
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