Leaflet

from Wikipedia, the free encyclopedia
Leaflet

Leaflet logo.svg
Leaflet beige screenshot.png
JavaScript library for displaying dynamic online maps
Basic data

developer Vladimir Agafonkin
Publishing year 2011
Current  version 1.6.0
( November 17, 2019 )
operating system Web browser
programming language JavaScript
category Geographic information system
License BSD license
German speaking No
leafletjs.com

Leaflet is a free JavaScript - library , with the WebGIS - applications can be created. The library uses HTML5 , CSS3 and thus supports most desktop and mobile browsers. In addition to OpenLayers and Google Maps API , Leaflet is one of the most popular libraries and is used by websites such as GitHub , FourSquare , Pinterest and Flickr .

With Leaflet, Web Map Tile Services can easily be presented on a website together with your own geospatial data . The geodata can be loaded from GeoJSON files , for example , and provided with interactive functions such as pop-ups .

history

Vladimir Agafonkin developed Leaflet in 2010 at CloudMade under the name Web Maps API . The first version was published in 2011.

He has been working for Mapbox since 2013 , where he is responsible for the further development of Leaflet.

Functionalities

Leaflet supports Web Map Service (WMS), Web Map Tile Service (WMTS), GeoJSON , image overlays. Other types of levels or geodata formats can be integrated via plug-ins ( KML , CSV , WKT , GPX , ...).

Browser support

Leaflet supports Chrome , Firefox , Safari 5+, Opera 12+, Internet Explorer 7-11 and Microsoft Edge .

Comparison with other libraries

Compared to OpenLayers, Leaflet provides fewer features directly. Coordinate system conversions can only be carried out to a limited extent and Web Feature Services (WFS) are not supported. In return, Leaflet is much smaller in terms of lines of code (7,000 vs. 230,000; as of 2015) and the amount of data in the library (≈123 KB vs. ≈423 KB).

Libraries such as the Google Maps API or Bing Maps API outsource some functionalities such as geocoding and routing to servers and require an API key to be used.

Web links

Individual evidence

  1. ^ Contributors graph
  2. Release 1.6.0 . November 17, 2019 (accessed November 18, 2019).
  3. There's a map for that. GitHub, June 13, 2013, accessed September 27, 2016 .
  4. Jon Gold: Foursquare drops Google Maps API for OpenStreetMap. May 3, 2012, accessed September 27, 2016 .
  5. Eric Gelinas: The great map update of 2012. In: code.flickr.com. June 29, 2012, accessed September 27, 2016 .
  6. See also his Github profile. Retrieved January 30, 2017 (English).
  7. Leaflet story in 13 minutes on YouTube
  8. Leaflet - a new open source JavaScript library for maps by CloudMade , May 13, 2011
  9. Leaflet Creator Vladimir Agafonkin Joins MapBox , October 28, 2013
  10. Mapbox.js and Leaflet
  11. Features . Leafletjs.com.
  12. in function reference . Leafletjs.com.IProjection
  13. cf. Plugins for WFS support on plugins . Leafletjs.com.
  14. Comparison between OpenLayers and Leaflet . Open hub . Archived from the original on August 8, 2014. Retrieved April 18, 2015.
  15. Leaflet . Accessed on April 18, 2015: "33 kB gzipped, that is 123 kB minified and 218 kB in the source code, plus 10 kB CSS (2 kB gzipped) and 11 kB icons."
  16. OpenLayers 3.4.0 compressed source code . OpenLayers.org. Archived from the original on November 29, 2016. Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. Retrieved April 18, 2015. @1@ 2Template: Webachiv / IABot / openlayers.org