diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bce9c42..4821511e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,18 @@ Leaflet Changelog An in-progress version being developed on the master branch. +### Improvements + + * Improved `GeoJSON` `setStyle` to also accept function (like the corresponding option). + * Added `GeoJSON` `resetStyle(layer)`, useful for resetting hover state. + * Added `feature` property to layers created with `GeoJSON` (containing the GeoJSON feature data). + * Added `FeatureGroup` `bringToFront` and `bringToBack` methods (so that they would work for multipolys). * Added optional `animate` argument to `Map` `invalidateSize` (by [@ajbeaven](https://github.com/ajbeaven)). [#857](https://github.com/CloudMade/Leaflet/pull/857) +### Bugfixes + + * Fixed a bug where `Path` `bringToFront` and `bringToBack` didn't return `this`. + ## 0.4.2 (August 1, 2012) * Fixed a bug where layers control radio buttons would not work correctly in IE7 (by [@danzel](https://github.com/danzel)). [#862](https://github.com/CloudMade/Leaflet/pull/862) diff --git a/debug/vector/geojson.html b/debug/vector/geojson.html index c49708d5..fa426137 100644 --- a/debug/vector/geojson.html +++ b/debug/vector/geojson.html @@ -8,44 +8,155 @@ + +
- - + - +