Leaflet Versions Save

πŸƒ JavaScript library for mobile-friendly interactive maps πŸ‡ΊπŸ‡¦

v1.6.0

4 years ago

API changes

  • GeoJSON.resetStyle - allow invocation without an argument (#6663 by joukewitteveen)
  • Add new markersInheritOptions option to L.GeoJSON (#6866 by ghybs)

Improvements

Bug fixes

  • Fix performance issue with L.Util.formatNum (#6668 by cherniavskii)
  • Respect className option in SVGOverlay and VideoOverlay (#6679 by IvanSanchez)
  • Cancel the canvas mousehover throttle on mouseout (#6749 by IvanSanchez)
  • Check for style being passed in L.Path.setStyle (#6728 by TheRealTorreySmith)
  • Fix dblclick event when both Pointer Events and Touch Events are available (#6855 by filcab)
  • Properly unbind animation proxy events when removing map (#6867 by ghybs)
  • Fix race condition in Marker when icon is not present (#6794 by BenTalagan)

Docs & Web Site

v1.5.1

4 years ago

v1.5.0

4 years ago

API changes

Improvements

Bug fixes

Docs & Web Site

Development workflow

  • Update dev dependencies & remove coverage scripts (#6635 by mourner)

v1.4.0

5 years ago

API changes

Improvements

  • Remove unused _drawnLayers object (#6324 by ud09)
  • Avoid unnecessary redrawing in TileLayer.setUrl() when URL does not change (#6313 by JackNeus)
  • Use section instead of form in layers control (#6380 by hundekoerper)
  • Add IE11 linked SVG elements support to DomUtil.getClass function (#6366 by Schleuse)

Bug fixes

  • Set internal flags at beginning of map initialization (#6362 by ghybs)
  • Guard against layers no longer attached to a map in bringToFront/Back() (#6389 by perliedman)
  • Fix autoPan option when popup content gets updated while a panning animation is running (#6365 by Schleuse)
  • Ignore dash arrays with non-numeric entries in canvas (#6387 by perliedman)

Docs & Web Site

v1.3.4

5 years ago

Improvements

  • Reset max-width and max-height styles for tiles in custom panes (#6255 by jerekshoe)
  • Add unprefixed cursor: grab style (#6281 by Malvoz)
  • Remove legacy prefixed styles, add unprefixed styles (#6282 by Malvoz)

Bug fixes

  • Move set/getAttribute('src') calls from GridLayer into TileLayer (#6264 by IvanSanchez)
  • Support comma- or space-separated strings in Canvas dashArray option (#6277 by IvanSanchez)
  • Remove trailing commas to avoid crashes in some IE browsers (#6279 by helbling)
  • Fixed capitalization of webkitTransform property, which broke transformations on certain Webkit browsers (#6290 by tuckergordon)

Docs & Web Site

v1.3.3

5 years ago

Bug fixes

  • Remove module field from package.json to fix plugin compatibility issues (#6239)

v1.3.2

5 years ago

Improvements

  • Add use-credentials CORS option to ImageOverlay and TileLayer (#6016 by caleblogan) + unit tests (#6022 and #6027 by ghybs)
  • Clean up references to global L in source code (#6047 and #6048 by ghybs)
  • Allow reset of Canvas dashArray option + support array type (#6200 by McBen)

Bug fixes

  • Respect the preferCanvas option in all panes (#6019 by mjumbewu)
  • Do not fire tileload event if tile has empty src (#6025 by cherniavskii)
  • Fix race condition when removing canvas before it has rendered (#6033 by louMoxy)
  • Fix memory leak in canvas renderer (#6117 by aj8k)
  • Fix dragging for CSS scaled map (#6055 by ghybs)
  • Handle Polygons with empty array of LatLngs (#6119 by BakuCity)
  • Fix view bounds calculation in geolocation event handler (#6140 by wladich)
  • Fix error removing map and resizing window at the same time (#6160 by danzel)
  • Stop pan key event when pan animation is in progress (#6231 by cherniavskii)

Docs & Web Site

ES6 / Rollup

Development workflow

v1.3.1

6 years ago

Bug fixes

  • Fix L.TileLayerregression, which caused incorrect tile URLs (#6006 by ghybs)

v1.3.0

6 years ago

API changes

  • Add tolerance option to L.Renderer instead of hardcoded tolerance for touch devices (#5922 by Muscot).

Improvements

Bug fixes

Docs & Web Site

ES6 / Rollup

  • Tweak legacy option in rollup config - now Leaflet works in IE again (#5929 by IvanSanchez)
  • Remove warning alert in watch bundle (#5714 by perliedman)
  • New rollup config signature (#5812 by iH8)

v1.2.0

6 years ago

Fixes non-extendable objects regression of 1.1.0 (#5658 by mourner)

For a detailed changes, see the full changelog