5.8 KiB
5.8 KiB
Leaflet Changelog
0.3 (master)
0.2.1 (2011-06-18)
- Fixed regression that caused error in
TileLayer.Canvas
0.2 (2011-06-17)
Major features
- Added WMS support (
TileLayer.WMSlayer). - Added different projections support, having
EPSG:3857,EPSG:4326andEPSG:3395out of the box (throughcrsoption inMap). Thanks to @Miroff & @Komzpa for great advice and explanation regarding this. - Added GeoJSON layer support.
Improvements
Usability improvements
- Improved panning performance in Chrome and FF considerably with the help of
requestAnimationFrame. #130 - Improved click responsiveness in mobile WebKit (now it happens without delay). #26
- Added tap tolerance (so click happens even if you moved your finger slighly when tapping).
- Improved geolocation error handling: better error messages, explicit timeout, set world view on locateAndSetView failure. #61
API improvements
- Added MultiPolyline and MultiPolygon layers. #77
- Added LayerGroup and FeatureGroup layers for grouping other layers.
- Added TileLayer.Canvas for easy creation of canvas-based tile layers.
- Changed
Circleto be zoom-dependent (with radius in meters); circle of a permanent size is now calledCircleMarker. - Added
mouseoverandmouseoutevents to map, markers and paths; added mapmousemoveevent. - Added
setLatLngs,spliceLatLngs,addLatLng,getLatLngsmethods to polylines and polygons. - Added
setLatLngandsetRadiusmethods toCircleandCircleMarker. - Improved
LatLngBounds containsmethod to acceptLatLngin addition toLatLngBounds, the same forBounds containsandPoint - Improved
LatLngBounds&Boundsto allow their instantiation without arguments (by @snc). - Added TMS tile numbering support through
TileLayerscheme: 'tms'option (by @tmcw). - Added
TileLayernoWrapoption to disable wrappingxtile coordinate (by @jasondavies). - Added
opacityoption andsetOpacitymethod toTileLayer. - Added
setLatLngandsetIconmethods toMarker. - Added
titleoption toMarker. - Added
maxZoomargument tomap.locateAndSetViewmethod. - Added ability to pass Geolocation options to map
locateandlocateAndSetViewmethods (by @JasonSanford). - Improved
Popupto accept HTML elements in addition to strings as its content.
Development workflow improvements
- Added
Makefilefor buildingleaflet.json non-Windows machines (by @tmcw). - Improved
debug/leaflet-include.jsscript to allow using it outside ofdebugfolder (by @antonj). - Improved
Ldefinition to be compatible with CommonJS. #122
Bug fixes
General bugfixes
- Fixed a bug where zooming is broken if the map contains a polygon and you zoom to an area where it's not visible. #47
- Fixed a bug where closed polylines would not appear on the map.
- Fixed a bug where marker that was added, removed and then added again would not appear on the map. #66
- Fixed a bug where tile layer that was added, removed and then added again would not appear on the map.
- Fixed a bug where some tiles would not load when panning across the date line. #97
- Fixed a bug where map div with
position: absoluteis reset torelative. #100 - Fixed a bug that caused an error when trying to add a marker without shadow in its icon.
- Fixed a bug where popup content would not update on
setContentcall. #94 - Fixed a bug where double click zoom wouldn't work if popup is opened on map click
- Fixed a bug with click propagation on popup close button. #99
- Fixed inability to remove ImageOverlay layer.
Browser bugfixes
- Fixed a bug where paths would not appear in IE8.
- Fixed a bug where there were occasional slowdowns before zoom animation in WebKit. #123
- Fixed incorrect zoom animation & popup styling in Opera 11.11.
- Fixed popup fade animation in Firefox and Opera.
- Fixed a bug where map isn't displayed in Firefox when there's an
img { max-width: 100% }rule.
Mobile browsers bugfixes
- Fixed a bug that prevented panning on some Android 2.1 (and possibly older) devices. #84
- Disabled zoom animation on Android by default because it's buggy on some devices (will be enabled back when it's stable enough). #32
- Fixed a bug where map would occasionally break while multi-touch-zooming on iOS. #32
- Fixed a bug that prevented panning/clicking on Android 3 tablets. #121
- Fixed a bug that prevented panning/clicking on Opera Mobile. #138
- Fixed potentional memory leak on WebKit when removing tiles, thanks to @Scalar4eg. #107
0.1 (2011-05-13)
- Initial Leaflet release.