Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Future of Leaflet

Future of Leaflet

What's in store for Leaflet in future? What's new in the next release? A talk by the creator of the library.

Avatar for Vladimir Agafonkin

Vladimir Agafonkin

September 09, 2014
Tweet

More Decks by Vladimir Agafonkin

Other Decks in Technology

Transcript

  1. 1.0

  2. var tiles = L.tileLayer.canvas(); ! tiles.drawTile = function(canvas, tile, zoom)

    { var ctx = canvas.getContext('2d'); … // draw something }; old way
  3. var tiles = L.gridLayer(); ! tiles.createTile = function(coords) { var

    tile = document.createElement('canvas'), ctx = canvas.getContext('2d'); … // do anything }; new way
  4. Uncompressed: 208.75 KB (-6798 bytes) Compressed: 116.91 KB (-5696 bytes)

    Gzipped: 31.71 KB (-1062 bytes) stable vs master
  5. Leaflet will remain the go-to mapping library: dead simple, easy

    to use, works on all platforms, 
 tons of plugins, huge community, everyone knows it