Changelog
0.7.7 (2015-10-26)
Note tha we skipped 0.7.6 version for which we accidentally published a broken build to NPM.
Changelog
0.7.4 (2015-09-01)
minZoom
or maxZoom
options (by @ivansanchez) #3778maxNativeZoom
were not checking bounds properly (by @jlaxon) #3415bindPopup(popup)
(by @Eschon) #3675Map.fitBounds
padding (by @bsstoner). #2489dblclick
and contextmenu
events (by @ivansanchez) #3482fillRule
option (by @w8r) #3477lineCap
and lineJoin
options (by @northerneyes) #3156Changelog
0.7.3 (2014-05-23)
setView
(or similar methods) several times in succession could freeze the map. #2521 #2236 #2485Control.Layers
wasn't properly removed (by @jack-kerouac). #2569TileLayer
load
event not to fire properly. #2510remove
event when removed (by @adimitrov). #2486Changelog
0.7.2 (2014-01-17)
maxNativeZoom
option didn't work with TMS tile layers (by @perliedman). #2321 #2314Changelog
0.7.1 (2013-12-06)
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 #1968Map
invalidateSize
could lead to unexpected results when called before map initialization (by @Zverik). #2250 #2249FeatureGroup
containing other group overwrote original e.layer
value in mouse events (by @gumballhead). #2253 #2252CircleMarker
setLatLngs
didn't return this
(by @radicalbiscuit). #2206maxBounds
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 #1908Map
setView
zoom
argument optional. #2056maxZoom
option to Map
fitBounds
. #2101Map
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 #2072distance
property to Map
and Marker
dragend
events. #2158 #872timestamp
to Map
locationfound
event. #584Map
invalidateSize
to call moveend
immediately unless given debounceMoveend: true
option (by @jfirebaugh). #2181TileLayer
maxNativeZoom
option that allows displaying tile layers on zoom levels above their maximum by upscaling tiles. #1802 #1798TileLayer
tileloadstart
event (by @tmcw). #2142 #2140TileLayer
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). #2160Marker
add
event (by @tohaocean). #1942Marker
getPopup
method (by @scottharvey). #618 #1197Marker
alt
option for adding alt
text to markers (by @jimmytidey). #2112Path
className
option for adding custom class names to vector layers.Path
lineCap
and lineJoin
options (by @palewire). #1843 #1863 #1881GeoJSON
(by @kapouer). #2075Polygon
setLatLngs
to also accept holes (by @aparshin). #2095 #1518GeoJSON
3D format support and optional altitude
argument to LatLng
constructor (by @Starefossen). #1822MultiPolygon
and MultiPolyline
openPopup
method. #2046Popup
update
method. #1959Popup
autoPanPaddingTopLeft
and autoPanPaddingBottomRight
options (by @albburtsev). #1972 #1588Popup
getContent
method. #2100Popup
getLatLng
method (by @AndreyGeonya). #2097ImageOverlay
setUrl
and getAttribution
methods and attribution
option (by @stsydow). #1957 #1958L.Util.template
performance (affects L.TileLayer
) by introducing cached template compilation (by @calvinmetcalf). #1969 #1968 #1554CRS
getSize
for getting the world size in pixels (by @perliedman). #2160leaflet-drag-target
CSS class to an element under cursor when dragging for more flexible customization. #2164 #1902L.DomUtil
addClass
, removeClass
, hasClass
methods performance and fixed it to work with SVG elements. #2164leaflet.css
and removed leaflet.ie.css
, so no need for IE conditional comment when including Leaflet now. #2159leaflet-oldie
CSS class to map container in IE7-8 for easier styling. #2159jake
command to run tests before building the source. #2151package.json
to unminified version for NPM/Browserify (by @icetan). #2109worldCopyJump: true
option (by @fastrde). #1904 #1831 #1982L.DomUtil.getMousePosition
would throw an error if container argument not provided (by @scooterw). #1826 #1928 #1926maxBounds
behaving weirdly on panning inertia out of bounds. #2168EPSG:3395
projection were shifted (by @aparshin). #2020box-sizing: border-box
.maxBounds
(by @kapouer and @mourner). #2187 #1946 #2081 #2168 #1908+
no longer zoomed the map on FF 22+ (by @fastrde). #1943 #1981Map
remove
throwed an error in IE6-8. #2015isArray
didn't work in rare cases in IE9. #2077Map
getCenter
returned old result after map container size changed (by @jfirebaugh). #1940 #1919Map
invalidateSize
rounding issues when changing map size by an odd pixel amount (by @russelldavis). #1931Map
removeLayer
didn't return this
in a corner case (by @jfirebaugh).Map
setZoom
before setView
would throw an error. #1449Popup
setLatLng
unnecessarily reset content and updated layout; works much faster now. #2167toGeoJSON
of layers originated from GeoJSON GeometryCollection and MultiPoint didn't work properly (wasn't round-tripped). #1956GeoJSON
dependencies in build configuration that could lead to a broken custom build in some situations (by @alubchuk). #1909CircleMarker
popup placement wasn't updated after calling setLatLng
(by @snkashis). #1921 #1927Marker
setIcon
(by @snkashis). #1874 #1891FeatureGroup
would break when using non-evented children layers (by @tmcw). #2032 #1962CircleMarker
getRadius
would always return null
. #2016 #2017TileLayer.WMS
didn't work with WMS 1.3 & EPSG4326 projection (by @Bobboya). #1897FeatureGroup
events e.layer
was sometimes empty in old IE. #1938L.latLngBounds
didn't accept simple object LatLng
form (by @Gnurfos). #2025 #1915L.Util.tempalate
wouldn't work with double quotes in the string (by @jieter). #1968 #2121 #2120