Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaflet

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet - npm Package Versions

1235

1.0.0-rc.1

Diff

mourner
published 0.7.7 •

Changelog

Source

0.7.7 (2015-10-26)

  • Fixed a regression that could sometimes cause tiles to disappear when pinch-zooming on iOS devices.
  • Fixed a regression related to msPointer detection in IE10 (affecting Leaflet.draw and some other plugins) (by @danzel) #3842 #3839 #3804
  • Fixed a bug where a mouseout could fire after a vector element was removed (by @sambernet). #3849 #3829
  • Fixed touch interactions in Edge browser (by @mitchless & @Neorth). #3853 #3379
  • Fixed a bug where removing a layer group from a feature group would throw an error (by @Lambdac0re). #3869

Note tha we skipped 0.7.6 version for which we accidentally published a broken build to NPM.

mourner
published 1.0.0-beta.2 •

mourner
published 0.7.5 •

Changelog

Source

0.7.5 (2015-09-02)

  • Fixed a regression that broke animation in Leaflet.markercluster. #3796
mourner
published 0.7.4 •

Changelog

Source

0.7.4 (2015-09-01)

  • Fixed a bug introduced by a recent Chrome update that caused the map not to react to interactions until all tiles are loaded. #3689
  • Fixed a bug where tile layers were not respecting their minZoom or maxZoom options (by @ivansanchez) #3778
  • Improved detection of touch-capable web browsers, in particular fixing touch interactions in device emulation mode in Chrome and Firefox (by @ivansanchez) #3520 #3710
  • Fixed a bug where tile layers with maxNativeZoom were not checking bounds properly (by @jlaxon) #3415
  • Fixed a bug where popups were not remembering which layer originated them after calling bindPopup(popup) (by @Eschon) #3675
  • Fixed a race condition between markers and zoom animation (by @perliedman) #3152
  • Fixed a bug with Map.fitBounds padding (by @bsstoner). #2489
  • Allow canvas paths to fire dblclick and contextmenu events (by @ivansanchez) #3482
  • Allow canvas filled polygons to use the fillRule option (by @w8r) #3477
  • Allow canvas lines to use lineCap and lineJoin options (by @northerneyes) #3156
  • Updated bower definitions to comply with best practices (by @guptaso2) #2726 #3448
mourner
published 1.0.0-beta.1 •

mourner
published 0.7.3 •

Changelog

Source

0.7.3 (2014-05-23)

  • Added proper bower and component support (by @calvinmetcalf). #2561 #1903
  • Fixed a bug where dragging the map outside the window caused an error on FF. #2610
  • Fixed a bug where some taps on Android where not working, often falsely perceived as drags (by @axefrog). #2503
  • Fixed a bug where clicks on Android were skipped when happened too fast. #2303
  • Fixed a bug where calling setView (or similar methods) several times in succession could freeze the map. #2521 #2236 #2485
  • Fixed a bug where Control.Layers wasn't properly removed (by @jack-kerouac). #2569
  • Fixed a bug that caused TileLayer load event not to fire properly. #2510
  • Fixed Canvas-based paths not triggering remove event when removed (by @adimitrov). #2486
  • Fixed a bug where you could end up with fractional zoom after pinch-zooming in some cases (by @danzel. #2400 #1943
mourner
published 0.7.2 •

Changelog

Source

0.7.2 (2014-01-17)

  • Fixed a bug that appeared with Chrome 32 update that made all mouse events shifted on scrolled pages. #2352
  • Fixed a bug that could break tile loading when using non-standard tile sizes. #2288
  • Fixed a bug where maxNativeZoom option didn't work with TMS tile layers (by @perliedman). #2321 #2314
mourner
published 0.7.1 •

Changelog

Source

0.7.1 (2013-12-06)

  • Fixed a bug where pinch-zooming quickly could occasionally leave the map at a fractional zoom thus breaking tile loading (by @danzel). #2269 #2255 #1934
  • Fixed tile flickering issues on some old Android 2/3 devices by disabling buggy hardware accelerated CSS there (by @danzel). #2216 #2198
  • Fixed a regression that sometimes led to an error when you started pinch-zoom as the first action on the map (by @danzel). #2259 #2256
  • Reverted L.Util.template optimizations to allow Leaflet to be used in eval-banning environments like browser extensions (performance gain was insignificant anyway) (by @calvinmetcalf). #2217 #2209 #1968
  • Fixed a regression where Map invalidateSize could lead to unexpected results when called before map initialization (by @Zverik). #2250 #2249
  • Fixed a regression where FeatureGroup containing other group overwrote original e.layer value in mouse events (by @gumballhead). #2253 #2252
  • Fixed a regression where CircleMarker setLatLngs didn't return this (by @radicalbiscuit). #2206

0.7 (2013-11-18)

Improvements

Usability improvements
  • Added support for IE11 touch devices (by @danzel, @DanielX2 and @fnicollet). #2039 #2066 #2037 #2102
  • Added shift-double-click to zoom out shortcut. #2185
  • Significantly improved controls design on mobile devices. #1868 #2012
  • Fixed and improved IE7-8 control and popup styles.
  • Made subtle improvements to control styles on desktop browsers.
  • Improved keyboard nav support so that map doesn't loose focus when you click on a control (by @jacobtoye). #2150 #2148
  • Improved maxBounds behavior: now it doesn't force higher minimal zoom, and anchors to max bounds edges properly when zooming (by @kapouer and @mourner). #2187 #1946 #2081 #2168 #1908
Map API improvements
  • Made Map setView zoom argument optional. #2056
  • Added maxZoom option to Map fitBounds. #2101
  • Added Map bounceAtZoomLimits option that makes the map bounce when you pinch-zoom past limits (it worked like this before, but now you can disable this) (by @trevorpowell). #1864 #2072
  • Added distance property to Map and Marker dragend events. #2158 #872
  • Added optional support for center-oriented scroll and double-click zoom (by @jfirebaugh). #1939
  • Added timestamp to Map locationfound event. #584
  • Improved Map invalidateSize to call moveend immediately unless given debounceMoveend: true option (by @jfirebaugh). #2181
TileLayer API improvements
  • Added TileLayer maxNativeZoom option that allows displaying tile layers on zoom levels above their maximum by upscaling tiles. #1802 #1798
  • Added TileLayer tileloadstart event (by @tmcw). #2142 #2140
  • Improved TileLayer world size (used for wrapping and limiting tiles) to be derived from CRS instead of hardcoded, making it easier to use with custom projections (by @perliedman). #2160
Marker API improvements
Vector layers API improvements
  • Added Path className option for adding custom class names to vector layers.
  • Added Path lineCap and lineJoin options (by @palewire). #1843 #1863 #1881
  • Added ability to pass vector options to GeoJSON (by @kapouer). #2075
  • Improved Polygon setLatLngs to also accept holes (by @aparshin). #2095 #1518
  • Added GeoJSON 3D format support and optional altitude argument to LatLng constructor (by @Starefossen). #1822
  • Added MultiPolygon and MultiPolyline openPopup method. #2046
Popup API improvements
Misc API improvements
  • Added ImageOverlay setUrl and getAttribution methods and attribution option (by @stsydow). #1957 #1958
  • Added localization support for the zoom control (by @Danielku15). #1953 #1643 #1953
  • Significantly improved L.Util.template performance (affects L.TileLayer) by introducing cached template compilation (by @calvinmetcalf). #1969 #1968 #1554
  • Added CRS getSize for getting the world size in pixels (by @perliedman). #2160
  • Added leaflet-drag-target CSS class to an element under cursor when dragging for more flexible customization. #2164 #1902
  • Improved L.DomUtil addClass, removeClass, hasClass methods performance and fixed it to work with SVG elements. #2164
Dev workflow improvements
  • Added an official FAQ.
  • Cleaned up and moved old IE styles to leaflet.css and removed leaflet.ie.css, so no need for IE conditional comment when including Leaflet now. #2159
  • Added leaflet-oldie CSS class to map container in IE7-8 for easier styling. #2159
  • Officially dropped support for IE6. Nobody cares anyway, and Leaflet should still be accessible on it. #2159
  • Improved the build system to check JS errors in spec files. #2151
  • Fixed jake command to run tests before building the source. #2151
  • Switched the main file in package.json to unminified version for NPM/Browserify (by @icetan). #2109

Bugfixes

0.6 regression fixes
  • Fixed a memory leak in iOS7 that could crash Safari when handling lots of objects (e.g. 1000 markers) (by @danzel). #2149 #2122
  • Fixed a bug that caused lag at the beginning of panning in Chrome (by @jfirebaugh). #2163
  • Fixed a regression that made the layers control unscrollable in Firefox. #2029
  • Fixed a regression that broke worldCopyJump: true option (by @fastrde). #1904 #1831 #1982
  • Fixed a regression where a first map click after popup close button click was ignored (by @fastrde). #1537 #1963 #1925
  • Fixed a regression where L.DomUtil.getMousePosition would throw an error if container argument not provided (by @scooterw). #1826 #1928 #1926
  • Fixed a regression with vector layers positioning when zooming on IE10+ touch devices (by @danzel). #2002 #2000
  • Fixed a regression with maxBounds behaving weirdly on panning inertia out of bounds. #2168
General bugfixes
  • Fixed a bug where the map could freeze if centered and immediately recentered on initialization. #2071
  • Fixed a bug where all maps except the first one on a page didn't track window resize. #1980
  • Fixed a bug where tiles in EPSG:3395 projection were shifted (by @aparshin). #2020
  • Fixed a bug where scale control displayed wrong scale when on pages with box-sizing: border-box.
  • Fixed a bug where zoom control button didn't appear as disabled if map was initialized at the zoom limit. #2083
  • Fixed a bug where box zoom also triggered a map click event (by @fastrde). #1951 #1884
  • Fixed a bug where shift-clicking on a map immediately after a drag didn't trigger a click event (by @fastrde). #1952 #1950
  • Fixed a bug where content was updated twice when opening a popup. #2137
  • Fixed a bug that could sometimes cause infinite panning loop when using maxBounds (by @kapouer and @mourner). #2187 #1946 #2081 #2168 #1908
Browser bugfixes
  • Fixed a bug where keyboard + no longer zoomed the map on FF 22+ (by @fastrde). #1943 #1981
  • Fixed a bug where calling Map remove throwed an error in IE6-8. #2015
  • Fixed a bug where isArray didn't work in rare cases in IE9. #2077
  • Fixed a bug where FF sometimes produced console warnings when animating markers. #2090
  • Fixed a bug where mouse wasn't handled correctly on RTL pages in some cases (by @danzel). #1986 #2136
Mobile bugfixes
  • Fixed a bug where tiles could disappear after zooming on Chrome 30+ for Android (by @danzel). #2152 #2078
  • Fixed a bug on IE10+ touch where pinch-zoom also caused click (by @danzel). #2117 #2094
  • Fixed a bug on IE10+ touch where controls didn't loose the pressed state after tapping (by @danzel). #2111 #2103
  • Fixed a bug where clicking on layers control labels on iOS throwed an error (by @olemarkus and @dagjomar). #1984 #1989
Map API bugfixes
  • Fixed a bug where Map getCenter returned old result after map container size changed (by @jfirebaugh). #1940 #1919
  • Fixed Map invalidateSize rounding issues when changing map size by an odd pixel amount (by @russelldavis). #1931
  • Fixed a bug where Map removeLayer didn't return this in a corner case (by @jfirebaugh).
  • Fixed a bug where calling Map setZoom before setView would throw an error. #1449
Layers API bugfixes
  • Fixed a bug where Popup setLatLng unnecessarily reset content and updated layout; works much faster now. #2167
  • Fixed a bug where toGeoJSON of layers originated from GeoJSON GeometryCollection and MultiPoint didn't work properly (wasn't round-tripped). #1956
  • Fixed GeoJSON dependencies in build configuration that could lead to a broken custom build in some situations (by @alubchuk). #1909
  • Fixed a bug where CircleMarker popup placement wasn't updated after calling setLatLng (by @snkashis). #1921 #1927
  • Fixed a bug where popup anchor wasn't updated on Marker setIcon (by @snkashis). #1874 #1891
  • Fixed a bug with GeoJSON not throwing a descriptive error if a polygon has zero length inner ring (by @snkashis). #1917 #1918
  • Fixed a bug where FeatureGroup would break when using non-evented children layers (by @tmcw). #2032 #1962
  • Fixed a bug where CircleMarker getRadius would always return null. #2016 #2017
  • Fixed a bug where TileLayer.WMS didn't work with WMS 1.3 & EPSG4326 projection (by @Bobboya). #1897
  • Fixed a bug where FeatureGroup events e.layer was sometimes empty in old IE. #1938
Misc API bugfixes
  • Fixed a bug where L.latLngBounds didn't accept simple object LatLng form (by @Gnurfos). #2025 #1915
  • Fixed a bug where L.Util.tempalate wouldn't work with double quotes in the string (by @jieter). #1968 #2121 #2120
  • Fixed a bug where attribution control that was added to a map after attributed layers didn't have the corresponding attributions (by @snkashis). #2177 #2178
mourner
published 0.7.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc