Leaflet v1.0-beta2 Release Notes

Release Date: 2015-10-14 // over 8 years ago
  • โ†ช Beta 2 fixes over 50 bugs that were reported by users trying out beta 1. The vast majority of changes are small fixes to problems that are triggered in very specific situations or conditions, a few API consolidation changes, and a few browser workarounds.

    API changes

    • L.circle now accepts radius as an option (like L.circleMarker) rather than a second argument (by @IvanSanchez)

    ๐Ÿ‘Œ Improvements

    • Implemented canvas optimizations on mousehover interactions (by @philippelatulippe) #3076
    • ๐Ÿ‘Œ Improved drag behaviour by preventing a preclick event during drag (by @yohanboniface) #3632
    • ๐Ÿ›  Implemented L.ImageOverlay.setBounds() and fixed image overlay initialization (by @fminuti) #3680
    • Implemented draggable items to fire mousedown events (by @yohanboniface) #3682
    • ๐Ÿ”„ Changed detection of browsers capable of msPointer events (by @IvanSanchez) #3684
    • Implemented latitude truncation for spherical mercator projection (by @perliedman) #3700
    • ๐Ÿ’ป Armored against browsers not implementing Geolocation.clearWatch() #3707
    • ๐Ÿ— Implemented generation of sourcemaps when building and minifying source files (by @IvanSanchez) #3723
    • โž• Added bringToFront and bringToBack to popups (by @danzel). #3908 #3307
    • Multiply offset by 3 on keyboard pan when shift key is pressed (by @yohanboniface) #3921

    ๐Ÿ› Bug fixes