Changelog
1.3.0 (2018-01-15)
tolerance
option to L.Renderer
instead of hardcoded tolerance for touch devices (#5922 by Muscot).autoPan
option to L.Marker
(#5651 by alenaksu)closeOnEscapeKey
option to L.Popup
(#5730 by Mickyfen17)tileerror
tests to L.GridLayer
spec (#5805 by msiadak)eachLayer
method for iterations over layers in L.LayerGroup
(#5809 by cherniavskii)Util.formatNum
default to 6 decimals (#5492 by fminuti)zoomlevelschange
event when calling setMinZoom
& setMaxZoom
(#5230 by mynameisstephen)L.TileLayer
's getTileUrl
method (#5822 by broncha)L.LayerGroup
accept options (#5792 by iH8)typeof
check to checkDeprecatedMixinEvents
(#5901 by murb)addTo
static function to L.Handler
class (#5930 by cherniavskii)L.ImageOverlay
accepts ImageElement
(#5948 by ronikar)L.VideoOverlay
, which caused map crash in IE8 (#5731 by Dzwiedzminator and #5785 by cherniavskii)_tiles
cache when they're aborted (#5634 by oliverheilig)L.TileLayer
infinite error loop (#5783 by cherniavskii)this._map
in L.Marker
's update
method (#5736 by dnepromell)L.ImageOverlay
className
option (#5830 by cherniavskii)L.TileLayer.WMS
when using Polar stereographic (#5618 by scaddenp)GridLayer
's _tileZoom
to undefined
instead of null
(#5888 by iH8)L.Map
's map.flyTo
method to respect noMoveStart
option (#5923 by iPrytz)touchZoom
is disabled (#5952 by cherniavskii)L.SVG
to reset size on remove from map (#5966 by ghybs)L.Marker
to set alt
attribute for img-based Icons only (#5979 by msiadak)PolyLine.closestLayerPoint
(#5701 by perliedman)DomEvent.stop
event type to docs (#5733 by theashyster)L.LatLngBounds
pad
method (#5748 by CalvinWilliams1012)L.FeatureGroup
bringToBack
method docs (#5788 by fpopa)L.LatLng
distanceTo
method description (#5791 by loisgh)L.DomEvent.off()
(#5855 by 77ganesh and #5976 by kring)L.SVG
factory docs to appropriate place (#5864 by cherniavskii)mouseup
event for interactive L.Layer
(#5941 by germansokolov13)L.Icon
's tooltipAnchor
option, update tooltipAnchor
and popupAnchor
default values docs (#5989 by cherniavskii)legacy
option in rollup config - now Leaflet works in IE again (#5929 by IvanSanchez)Changelog
1.2.0 (2017-08-08)
L.LineUtil._flat
public as L.LineUtil.isFlat
(#5667 by yohanboniface)L.ImageOverlay
's setBounds
method accepts an array of points, not only a L.LatLngBounds
instance (#5687 by ronikarVideoOverlay
accepts VideoElement
(#5661 by eavidan-0)addLayer
with something that is not a Layer
(#5689 by perliedman)leaflet.js
(#5682 by jgravois)Control.Layers
properly handles adding the same layer multiple times, as well as cleanup (#5672, #5684 and #5673 by jjimenezshaw)L.Draggable._dragging
public again (#5659 by yohanboniface)DomEvent.off
returns this
(#5601 by jelhan)L
internally (#5596 by atd-schubert)this
instead of addOne
in DomEvent.disableScrollPropagation
(#5595 by Eschon)Changelog
1.1.0 (2017-06-27)
L.Mixin.Events
, fixes #5358 (#5365) (by perliedman)nonBubblingEvents
into a documented boolean option (#4883 by IvanSanchez)L.transformation
factory, allow creation from array (#5282 by anetz89)toGeoJSON
methods now default to a precision of six decimals (as recommended in the GeoJSON spec), precision is settable through a method parameter (#5544 by mattgrande)reference.html
now always points to latest stable docs (#5490 by IvanSanchez, #5493 by alyhegazy)L.VideoOverlay
(#4988 by IvanSanchez)ImageOverlay
layer and added tests for the new (#5416 by Saulzi)className
option for ImageOverlay
(#5555 by perliedman)_getBoundsCenterZoom
(#5157 by IvanSanchez)L.Bounds
for 2 missing corners, fixes #5475 (#5488 by ghybs)Polyline
s with empty array of LatLng
s, #5497 (#5498, by perliedman)devicePixelRatio
into account for scrollwheel zoom in win10+chrome (#5480) (by IvanSanchez)Infinity
(#5478, #5479 by IvanSanchez)L.Mixin.Events
a simple object instead of a prototype so it doesn't have a 'constructor' property, fixes #5451 (#5453 by luiscamachopt)ctx.setLineDash
in _fillStroke
#5182 (#5454 by TeXitoi)toFront
/toBack
if needed, fixes #4050 (#5465 by perliedman)L.Popup
's close button (#5461 by Mirodil)DomUtil.preventOutline
(#5435 by qjas)ImageOverlay
for 404 links (#5307) by APwhitehat)collapsed: false
, fixes #5328 (#5348 by ghybs)LayerGroups
(#5359 by Resonance1584)lastId
in Util
(#5349 by DenisCarriere)iframe
borders on examples (#5327) (by tariqksoliman)min
/maxNativeZoom
from TileLayer
into GridLayer
, as per #5316. (#5319 by jkuebart)-webkit-tap-highlight-color
, fixes #5302 (#5303 by IvanSanchez)LatLngBounds.equals
method (#5071 by miguelcobain)L.Draggable
options and fix docstring (#5301 by IvanSanchez)getBoundsZoom
, fixes #5136 (#5137 by IvanSanchez)marker.dragging
when not on the map, fixes #5293 (#5295 by danzel)L.Layers.Control
in chrome>55 (#5280 by IvanSanchez)Changelog
1.0.3 (2017-01-23)
L.Canvas
redraws on several scenarios (by @perliedman, #5250, also thanks to @manubb for investigation and PR).dblclick
events in Chrome 55 due to PointerEvent
s (by @IvanSanchez, #5185, #5248, #5268).L.SVG.VML
for IE8 (by @IvanSanchez, #5215).popupopen
event (by @hagai26, #5202).getBoundsZoom
return value on CRSs with a flipped axis (by @computerlove, #5204).errorTileUrl
of a L.TileLayer
returns 404 (by @IvanSanchez, #5177).L.Canvas
redraw areas to avoid artifacts during partial updates (by @Ernie23, #5148).isPopupOpen()
behaviour of L.Layer
when no popup is bound to a layer (by @gvangool, #5106).LatLngBounds.contains()
to allow for non-instantiated LatLng
objects (by @IvanSanchez, #5135).L.Control.Layers
when the collapse
option is false
(by @perliedman, #5131).WrapLatLngBounds
method to L.CRS
, to fix an issue with maxBounds
of GridLayer
s (by @IvanSanchez, #5185, also thanks to @DiogoMCampos for investigation).L.Map.getSize()
will now return 0
instead of NaN
in non-graphical environments (by @ughitsaaron, #5209).alt
attribute to the <img>
s of marker shadows (by @topicus, #5259).Changelog
1.0.2 (2016-11-21)
max-width
is already set (by @brunob, #5046).mouseover
events for same layer (by @perliedman, #5033).L.Canvas
vectors during a zoom animation (by @ghybs) #5011.FeatureCollection
s (by @IvanSanchez), #5045.minZoom
/maxZoom
late inizialization (by @IvanSanchez), #4916.mouseover
/mouseout
events on overlapping L.Canvas
layers (by @perliedman), #5090.L.Control.Layers.collapse()
on initially uncollapsed layer controls (by @perliedman), #5131.L.Tooltip
by rounding up pixel coordinates (by @ashmigelski), #5089.L.Canvas
(by @perliedman), #5100.sortLayers
option to L.Control.Layers
(by @IvanSanchez, #4711.bringToFront
and bringToBack
when using L.Canvas
, plus preventing other canvas glitches (by @perliedman), #5115.minNativeZoom
option to L.TileLayer
s. (by @bb-juliogarcia), #5088.L.Path
s by refactoring away event logic (by @IvanSanchez) #5054)].L.Marker
and L.Map
no longer have a separate file (by @mourner).Changelog
1.0.1 (2016-09-30)
Changelog
1.0.0 (2016-09-26)
zoomanimated
option for L.Popup
s (by @fnicollet) #4699bower.json
(by @anotherredward) #4865L.Icon
default path using CSS (by @IvanSanchez) #4605getScaleZoom
in some custom CRSs (by @theashyster) #4919L.Path
event handlers against race conditions (by @perliedman and @IvanSanchez) #4855 #4929 #4838L.GridLayer
s, wrap tileBounds
when noWrap
is false (by @fyeah) #4908L.Path
's bringToFront()
behaviour in the Edge browser (by @nikolai-b) #4848getCenter()
when a L.Polygon
has no map and thus no CRS (by @snkashis) #4820_leaflet_id
to map containers to prevent error when removing a map twice (by @IvanSanchez) #4810