Skip to content

bwcompton/leaflet.lagniappe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet.lagniappe

R-CMD-check

Additional Leaflet plugins for R that work under Shiny

Leaflet for R has support for several of the many available Leaflet plugins, but implementing others in R is non-trivial. Additional plugins in this package are tested under Shiny, both locally and on shinyapps.io, so you can use these in Shiny-based web pages. I'll continue to add plugins here as I develop them.

Installation

devtools::install_github('bwcompton/leaflet.lagniappe')

Example

library(leaflet)
library(leaflet.lagniappe)

leaflet() |>
addTiles() |>
osmGeocoder()
addFullscreen()

Included plugins

  1. osmGeocoder. Provides a field on a Leaflet map for a user to enter an address or place name. The map will zoom and center to the entered location.
  2. addFullscreen. Adds a full screen control to the map.

About

Additional Leaflet plugins for R that work under Shiny

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published