Package: leaflet 2.2.2.9000
leaflet: Create Interactive Web Maps with the JavaScript 'Leaflet' Library
Create and customize interactive maps using the 'Leaflet' JavaScript library and the 'htmlwidgets' package. These maps can be used directly from the R console, from 'RStudio', in Shiny applications and R Markdown documents.
Authors:
leaflet_2.2.2.9000.tar.gz
leaflet_2.2.2.9000.zip(r-4.5)leaflet_2.2.2.9000.zip(r-4.4)leaflet_2.2.2.9000.zip(r-4.3)
leaflet_2.2.2.9000.tgz(r-4.4-any)leaflet_2.2.2.9000.tgz(r-4.3-any)
leaflet_2.2.2.9000.tar.gz(r-4.5-noble)leaflet_2.2.2.9000.tar.gz(r-4.4-noble)
leaflet_2.2.2.9000.tgz(r-4.4-emscripten)leaflet_2.2.2.9000.tgz(r-4.3-emscripten)
leaflet.pdf |leaflet.html✨
leaflet/json (API)
NEWS
# Install 'leaflet' in R: |
install.packages('leaflet', repos = c('https://posit-dev-shinycoreci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rstudio/leaflet/issues
- atlStorms2005 - Atlantic Ocean storms 2005
- breweries91 - Selected breweries in Franconia
- gadmCHE - Administrative borders of Switzerland
Last updated 4 months agofrom:9bf137b8f5. Checks:OK: 5 NOTE: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | NOTE | Nov 05 2024 |
R-4.5-linux | NOTE | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 05 2024 |
Exports:%>%addAwesomeMarkersaddCircleMarkersaddCirclesaddControladdEasyButtonaddEasyButtonBaraddGeoJSONaddGraticuleaddLabelOnlyMarkersaddLayersControladdLegendaddMapPaneaddMarkersaddMeasureaddMiniMapaddPolygonsaddPolylinesaddPopupsaddProviderTilesaddRasterImageaddRasterLegendaddRectanglesaddScaleBaraddSimpleGraticuleaddTerminatoraddTilesaddTopoJSONaddWMSTilesawesomeIconListawesomeIconsclearBoundsclearControlsclearGeoJSONclearGroupclearImagesclearMarkerClustersclearMarkersclearPopupsclearShapesclearTilesclearTopoJSONcolorBincolorFactorcolorNumericcolorQuantilecreateLeafletMapderivePointsderivePolygonsdispatcheasyButtoneasyButtonStateevalFormulaexpandLimitsexpandLimitsBboxfilterNULLfitBoundsflyToflyToBoundsgetMapDatagridOptionsgroupOptionshideGrouphighlightOptionsiconListiconsinvokeMethodJSlabelFormatlabelOptionslayersControlOptionsleafletleafletCRSleafletDependenciesleafletMapleafletOptionsleafletOutputleafletProxyleafletSizingPolicymakeAwesomeIconmakeIconmapOptionsmarkerClusterOptionsmarkerOptionspathOptionspopupOptionspreviewColorsprojectRasterForLeafletprovidersproviders.detailsproviderTileOptionsremoveControlremoveGeoJSONremoveImageremoveLayersControlremoveMarkerremoveMarkerClusterremoveMarkerFromClusterremoveMeasureremovePopupremoveScaleBarremoveShaperemoveTilesremoveTopoJSONrenderLeafletsafeLabelscaleBarOptionssetMaxBoundssetViewshowGrouptileOptionsvalidateCoordsWMSTileOptions
Dependencies:base64encbslibcachemclicolorspacecrosstalkdigestevaluatefarverfastmapfontawesomefsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlabelinglatticelazyevalleaflet.providerslifecyclemagrittrmemoisemimemunsellpngR6rappdirsrasterRColorBrewerRcpprlangrmarkdownsassscalesspterratinytexviridisLitexfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add Awesome Markers | addAwesomeMarkers |
Graphics elements and layers | addCircleMarkers addCircles addControl addGeoJSON addLabelOnlyMarkers addMarkers addPolygons addPolylines addPopups addRectangles addTiles addTopoJSON addWMSTiles highlightOptions |
Add a Graticule on the map | addGraticule |
Add UI controls to switch layers on and off | addLayersControl layersControlOptions removeLayersControl |
Add a color legend to a map | addLegend labelFormat |
Add additional panes to leaflet map to control layer order | addMapPane |
Add a measure control to the map. | addMeasure |
Add a minimap to the map | addMiniMap |
Add a tile layer from a known map provider | addProviderTiles providerTileOptions |
Add a raster image as a layer | addRasterImage projectRasterForLeaflet |
Add a color legend for a SpatRaster to a map | addRasterLegend |
Add or remove a scale bar | addScaleBar removeScaleBar scaleBarOptions |
Add a simple Graticule on the map | addSimpleGraticule |
Add a daylight layer on top of the map | addTerminator |
Atlantic Ocean storms 2005 | atlStorms2005 |
Make awesome-icon set | awesomeIconList |
Create a list of awesome icon data | awesomeIcons |
Selected breweries in Franconia | breweries91 |
Color mapping | colorBin colorFactor colorNumeric colorQuantile |
Extension points for plugins | dispatch invokeMethod |
Create an easyButton statestate | addEasyButton addEasyButtonBar easyButton easyButtonState |
Notifies the map of new latitude/longitude of items of interest on the map | expandLimits |
Notifies the map of polygons of interest on the map | expandLimitsBbox |
Administrative borders of Switzerland (level 1) | gadmCHE |
Extract the map's data | getMapData |
Set options on layer groups | groupOptions |
Make icon set | iconList |
Create a list of icon data | icons |
Create a Leaflet map widget | leaflet leafletCRS leafletOptions |
Various leaflet dependency functions for use in downstream packages | leafletDependencies |
Wrapper functions for using 'leaflet' in 'shiny' | leafletOutput renderLeaflet |
Send commands to a Leaflet instance in a Shiny app | leafletProxy |
Leaflet sizing policy | leafletSizingPolicy |
Make Awesome Icon | makeAwesomeIcon |
Define icon sets | makeIcon |
Set options on a leaflet map object | mapOptions |
Color previewing utility | previewColors |
Providers | providers providers.details |
Remove elements from a map | clearControls clearGeoJSON clearGroup clearImages clearMarkerClusters clearMarkers clearPopups clearShapes clearTiles clearTopoJSON remove removeControl removeGeoJSON removeImage removeMarker removeMarkerCluster removeMarkerFromCluster removeMeasure removePopup removeShape removeTiles removeTopoJSON |
Methods to manipulate the map widget | clearBounds fitBounds flyTo flyToBounds setMaxBounds setView |
Show or hide layer groups | hideGroup showGroup |
Extra options for map elements and layers | gridOptions labelOptions markerClusterOptions markerOptions pathOptions popupOptions tileOptions WMSTileOptions |
Utility function to check if a coordinates is valid | validateCoords |