2011-05-17 19:19:42 +08:00
Leaflet Changelog
=================
2011-05-17 02:45:36 +08:00
2011-06-18 00:56:28 +08:00
## 0.3 (master)
## 0.2 (2011-06-17)
2011-05-19 20:27:59 +08:00
2011-06-18 00:57:34 +08:00
### Major features
2011-05-31 18:07:48 +08:00
2011-06-17 18:50:50 +08:00
* Added **WMS** support (`TileLayer.WMS` layer).
2011-06-10 19:47:28 +08:00
* Added different **projections** support, having `EPSG:3857` , `EPSG:4326` and `EPSG:3395` out of the box (through `crs` option in `Map` ). Thanks to [@Miroff ](https://github.com/Miroff ) & [@Komzpa ](https://github.com/Komzpa ) for great advice and explanation regarding this.
2011-06-17 18:50:50 +08:00
* Added **GeoJSON** layer support.
2011-06-10 19:47:28 +08:00
* Added **MultiPolyline** and **MultiPolygon** layers. [#77 ](https://github.com/CloudMade/Leaflet/issues/77 )
2011-06-18 00:57:54 +08:00
* Added **LayerGroup** and **FeatureGroup** layers for grouping other layers.
2011-06-17 18:50:50 +08:00
* Added **TileLayer.Canvas** for easy creation of canvas-based tile layers.
2011-05-31 18:07:48 +08:00
### Improvements
2011-06-17 20:52:39 +08:00
#### Usability improvements
2011-06-17 18:50:50 +08:00
* Improved panning performance in Chrome and FF considerably with the help of `requestAnimationFrame` . [#130 ](https://github.com/CloudMade/Leaflet/issues/130 )
2011-06-17 20:52:39 +08:00
* Improved click responsiveness in mobile WebKit (now it happens without delay). [#26 ](https://github.com/CloudMade/Leaflet/issues/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 ](https://github.com/CloudMade/Leaflet/issues/61 )
#### API improvements
2011-06-10 19:47:28 +08:00
* Changed `Circle` to be zoom-dependent (with radius in meters); circle of a permanent size is now called `CircleMarker` .
2011-05-20 16:19:51 +08:00
* Added `mouseover` and `mouseout` events to map, markers and paths; added map `mousemove` event.
2011-05-25 23:57:58 +08:00
* Added `setLatLngs` , `spliceLatLngs` , `addLatLng` , `getLatLngs` methods to polylines and polygons.
2011-06-03 18:54:07 +08:00
* Added `setLatLng` and `setRadius` methods to `Circle` and `CircleMarker` .
2011-06-10 19:47:28 +08:00
* Improved `LatLngBounds contains` method to accept `LatLng` in addition to `LatLngBounds` , the same for `Bounds contains` and `Point`
* Improved `LatLngBounds` & `Bounds` to allow their instantiation without arguments (by [@snc ](https://github.com/snc )).
2011-06-17 06:39:06 +08:00
* Added TMS tile numbering support through `TileLayer` `scheme: 'tms'` option (by [@tmcw ](https://github.com/tmcw )).
2011-06-17 06:41:27 +08:00
* Added `TileLayer` `noWrap` option to disable wrapping `x` tile coordinate (by [@jasondavies ](https://github.com/jasondavies )).
2011-06-07 16:38:56 +08:00
* Added `opacity` option and `setOpacity` method to `TileLayer` .
2011-06-10 21:24:49 +08:00
* Added `setLatLng` and `setIcon` methods to `Marker` .
2011-05-30 22:08:53 +08:00
* Added `title` option to `Marker` .
2011-05-19 21:36:25 +08:00
* Added `maxZoom` argument to `map.locateAndSetView` method.
2011-06-14 17:14:28 +08:00
* Added ability to pass Geolocation options to map `locate` and `locateAndSetView` methods (by [@JasonSanford ](https://github.com/JasonSanford )).
2011-06-03 19:40:11 +08:00
* Improved `Popup` to accept HTML elements in addition to strings as its content.
2011-06-17 20:52:39 +08:00
#### Development workflow improvements
2011-06-10 19:47:28 +08:00
* Added `Makefile` for building `leaflet.js` on non-Windows machines (by [@tmcw ](https://github.com/tmcw )).
* Improved `debug/leaflet-include.js` script to allow using it outside of `debug` folder (by [@antonj ](https://github.com/antonj )).
2011-06-14 20:14:47 +08:00
* Improved `L` definition to be compatible with CommonJS. [#122 ](https://github.com/CloudMade/Leaflet/issues/122 )
2011-05-31 18:07:48 +08:00
### Bug fixes
2011-06-10 20:23:43 +08:00
#### General bugfixes
2011-06-03 17:36:38 +08:00
* 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 ](https://github.com/CloudMade/Leaflet/issues/47 )
2011-05-19 20:51:44 +08:00
* Fixed a bug where closed polylines would not appear on the map.
2011-06-03 17:36:38 +08:00
* Fixed a bug where marker that was added, removed and then added again would not appear on the map. [#66 ](https://github.com/CloudMade/Leaflet/issues/66 )
2011-06-03 21:59:14 +08:00
* Fixed a bug where tile layer that was added, removed and then added again would not appear on the map.
2011-06-03 17:36:38 +08:00
* Fixed a bug where some tiles would not load when panning across the date line. [#97 ](https://github.com/CloudMade/Leaflet/issues/97 )
* Fixed a bug where map div with `position: absolute` is reset to `relative` . [#100 ](https://github.com/CloudMade/Leaflet/issues/100 )
2011-05-23 19:19:44 +08:00
* Fixed a bug that caused an error when trying to add a marker without shadow in its icon.
2011-06-03 17:55:06 +08:00
* Fixed a bug where popup content would not update on `setContent` call. [#94 ](https://github.com/CloudMade/Leaflet/issues/94 )
2011-05-20 16:32:59 +08:00
* Fixed a bug where double click zoom wouldn't work if popup is opened on map click
2011-06-03 19:32:17 +08:00
* Fixed a bug with click propagation on popup close button. [#99 ](https://github.com/CloudMade/Leaflet/issues/99 )
2011-05-20 16:32:59 +08:00
* Fixed inability to remove ImageOverlay layer.
2011-06-10 20:23:43 +08:00
2011-07-16 21:16:34 +08:00
#### Browser bugfixes
2011-06-10 20:23:43 +08:00
* Fixed a bug where paths would not appear in IE8.
2011-07-16 21:16:34 +08:00
* Fixed a bug where there were occasional slowdowns before zoom animation in WebKit. [#123 ](https://github.com/CloudMade/Leaflet/issues/123 )
2011-06-10 20:23:43 +08:00
* Fixed incorrect zoom animation & popup styling in Opera 11.11.
2011-06-03 19:32:17 +08:00
* Fixed popup fade animation in Firefox and Opera.
2011-06-10 20:23:43 +08:00
* Fixed a bug where map isn't displayed in Firefox when there's an `img { max-width: 100% }` rule.
#### Mobile browsers bugfixes
2011-06-17 20:52:39 +08:00
* Fixed a bug that prevented panning on some Android 2.1 (and possibly older) devices. [#84 ](https://github.com/CloudMade/Leaflet/issues/84 )
2011-06-10 20:23:43 +08:00
* Disabled zoom animation on Android by default because it's buggy on some devices (will be enabled back when it's stable enough). [#32 ](https://github.com/CloudMade/Leaflet/issues/32 )
* Fixed a bug where map would occasionally break while multi-touch-zooming on iOS. [#32 ](https://github.com/CloudMade/Leaflet/issues/32 )
2011-06-18 00:40:27 +08:00
* Fixed a bug that prevented panning/clicking on Android 3 tablets. [#121 ](https://github.com/CloudMade/Leaflet/issues/121 )
* Fixed a bug that prevented panning/clicking on Opera Mobile. [#138 ](https://github.com/CloudMade/Leaflet/issues/138 )
2011-06-10 20:23:43 +08:00
* Fixed potentional memory leak on WebKit when removing tiles, thanks to [@Scalar4eg ](https://github.com/Scalar4eg ). [#107 ](https://github.com/CloudMade/Leaflet/issues/107 )
2011-05-17 02:45:36 +08:00
## 0.1 (2011-05-13)
2011-06-14 20:14:47 +08:00
* Initial Leaflet release.