Changes
Jump to navigation
Jump to search
→Interactive Maps:
== Interactive Maps: ==
'''Mapping with Leaflet''
Leaflet is one of the most popular open-source JavaScript libraries for interactive maps.
This R package makes it easy to integrate and control Leaflet maps in R.
Introduction: https://rstudio.github.io/leaflet/
Markers: https://rstudio.github.io/leaflet/markers.html
Github: https://github.com/rstudio/leaflet
Features
*Interactive panning/zooming
*Compose maps using arbitrary combinations of:
*Map tiles
*Markers
*Polygons
*Lines
*Popups
*GeoJSON
*Create maps right from the R console or RStudio
*Embed maps in knitr/R Markdown documents and Shiny apps
*Easily render Spatial objects from the sp package, or data frames with latitude/longitude columns
*Use map bounds and mouse events to drive Shiny logic
Helpful links: http://www.r-bloggers.com/interactive-maps-for-the-web-in-r/
To find HEX codes for RGB colors: http://www.javascripter.net/faq/rgbtohex.htm