Updating the video.js that we use to avoid an XSS attack. Yikes! ;\
[mediagoblin.git] / extlib / leaflet / CHANGELOG.md
1 Leaflet Changelog
2 =================
3
4 ## 0.3 (master)
5
6 ## 0.2.1 (2011-06-18)
7
8 * Fixed regression that caused error in `TileLayer.Canvas`
9
10 ## 0.2 (2011-06-17)
11
12 ### Major features
13
14 * Added **WMS** support (`TileLayer.WMS` layer).
15 * 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.
16 * Added **GeoJSON** layer support.
17
18 ### Improvements
19
20 #### Usability improvements
21
22 * Improved panning performance in Chrome and FF considerably with the help of `requestAnimationFrame`. [#130](https://github.com/CloudMade/Leaflet/issues/130)
23 * Improved click responsiveness in mobile WebKit (now it happens without delay). [#26](https://github.com/CloudMade/Leaflet/issues/26)
24 * Added tap tolerance (so click happens even if you moved your finger slighly when tapping).
25 * Improved geolocation error handling: better error messages, explicit timeout, set world view on locateAndSetView failure. [#61](https://github.com/CloudMade/Leaflet/issues/61)
26
27 #### API improvements
28
29 * Added **MultiPolyline** and **MultiPolygon** layers. [#77](https://github.com/CloudMade/Leaflet/issues/77)
30 * Added **LayerGroup** and **FeatureGroup** layers for grouping other layers.
31 * Added **TileLayer.Canvas** for easy creation of canvas-based tile layers.
32 * Changed `Circle` to be zoom-dependent (with radius in meters); circle of a permanent size is now called `CircleMarker`.
33 * Added `mouseover` and `mouseout` events to map, markers and paths; added map `mousemove` event.
34 * Added `setLatLngs`, `spliceLatLngs`, `addLatLng`, `getLatLngs` methods to polylines and polygons.
35 * Added `setLatLng` and `setRadius` methods to `Circle` and `CircleMarker`.
36 * Improved `LatLngBounds contains` method to accept `LatLng` in addition to `LatLngBounds`, the same for `Bounds contains` and `Point`
37 * Improved `LatLngBounds` & `Bounds` to allow their instantiation without arguments (by [@snc](https://github.com/snc)).
38 * Added TMS tile numbering support through `TileLayer` `scheme: 'tms'` option (by [@tmcw](https://github.com/tmcw)).
39 * Added `TileLayer` `noWrap` option to disable wrapping `x` tile coordinate (by [@jasondavies](https://github.com/jasondavies)).
40 * Added `opacity` option and `setOpacity` method to `TileLayer`.
41 * Added `setLatLng` and `setIcon` methods to `Marker`.
42 * Added `title` option to `Marker`.
43 * Added `maxZoom` argument to `map.locateAndSetView` method.
44 * Added ability to pass Geolocation options to map `locate` and `locateAndSetView` methods (by [@JasonSanford](https://github.com/JasonSanford)).
45 * Improved `Popup` to accept HTML elements in addition to strings as its content.
46
47 #### Development workflow improvements
48
49 * Added `Makefile` for building `leaflet.js` on non-Windows machines (by [@tmcw](https://github.com/tmcw)).
50 * Improved `debug/leaflet-include.js` script to allow using it outside of `debug` folder (by [@antonj](https://github.com/antonj)).
51 * Improved `L` definition to be compatible with CommonJS. [#122](https://github.com/CloudMade/Leaflet/issues/122)
52
53 ### Bug fixes
54
55 #### General bugfixes
56
57 * 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)
58 * Fixed a bug where closed polylines would not appear on the map.
59 * 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)
60 * Fixed a bug where tile layer that was added, removed and then added again would not appear on the map.
61 * Fixed a bug where some tiles would not load when panning across the date line. [#97](https://github.com/CloudMade/Leaflet/issues/97)
62 * Fixed a bug where map div with `position: absolute` is reset to `relative`. [#100](https://github.com/CloudMade/Leaflet/issues/100)
63 * Fixed a bug that caused an error when trying to add a marker without shadow in its icon.
64 * Fixed a bug where popup content would not update on `setContent` call. [#94](https://github.com/CloudMade/Leaflet/issues/94)
65 * Fixed a bug where double click zoom wouldn't work if popup is opened on map click
66 * Fixed a bug with click propagation on popup close button. [#99](https://github.com/CloudMade/Leaflet/issues/99)
67 * Fixed inability to remove ImageOverlay layer.
68
69 #### Browser bugfixes
70
71 * Fixed a bug where paths would not appear in IE8.
72 * Fixed a bug where there were occasional slowdowns before zoom animation in WebKit. [#123](https://github.com/CloudMade/Leaflet/issues/123)
73 * Fixed incorrect zoom animation & popup styling in Opera 11.11.
74 * Fixed popup fade animation in Firefox and Opera.
75 * Fixed a bug where map isn't displayed in Firefox when there's an `img { max-width: 100% }` rule.
76
77 #### Mobile browsers bugfixes
78
79 * Fixed a bug that prevented panning on some Android 2.1 (and possibly older) devices. [#84](https://github.com/CloudMade/Leaflet/issues/84)
80 * 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)
81 * Fixed a bug where map would occasionally break while multi-touch-zooming on iOS. [#32](https://github.com/CloudMade/Leaflet/issues/32)
82 * Fixed a bug that prevented panning/clicking on Android 3 tablets. [#121](https://github.com/CloudMade/Leaflet/issues/121)
83 * Fixed a bug that prevented panning/clicking on Opera Mobile. [#138](https://github.com/CloudMade/Leaflet/issues/138)
84 * Fixed potentional memory leak on WebKit when removing tiles, thanks to [@Scalar4eg](https://github.com/Scalar4eg). [#107](https://github.com/CloudMade/Leaflet/issues/107)
85
86 ## 0.1 (2011-05-13)
87
88 * Initial Leaflet release.