Skip to main content

An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps

According to its home page:

Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps.

Weighing just about 33 KB of JS, it has all the mapping features most developers ever need.

Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms, can be extended with lots of plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.


Browser Support

Desktop

  • Chrome
  • Firefox
  • Safari 5+
  • Opera 12+
  • IE 9–11
  • Edge

Mobile

  • Safari for iOS 7+
  • Chrome for mobile
  • Firefox for mobile
  • IE10+ for Win8 devices

There are now two packages for using leaflet from within the language for data analysis and visualization. You can also use from within using the package at https://rstudio.github.io/leaflet/ . Additionally, You can read the documentation on another package at http://cran.r-project.org/web/packages/leafletR/leafletR.pdf


You can find more information on its:

Code Language (used for syntax highlighting): lang-js