Following the Leaflet 0.4 release, there were several minor bugfix releases over the past week, with Leaflet 0.4.3 released today. They contain fixes for some bugs that were discovered and also bring some improvements to the new GeoJSON API to make it even more flexible — see the changelog below.
I’ve also written a new tutorial, inspired by the Texas Tribune US Senate Runoff Results map by Ryan Murphy (also powered by Leaflet). It will show you step-by-step how to create a beautiful interactive choropleth map of US States Population Density with the help of GeoJSON and custom controls, and hopefully convince more major news and government websites to switch to Leaflet. :)
Grab the new Leaflet 0.4.3 at the download page. Enjoy!
update: IE9 regression was discovered in 0.4.3, so I had to release 0.4.4 with a fix. Sorry!
setStyleto also accept function (like the corresponding option).
resetStyle(layer), useful for resetting hover state.
featureproperty to layers created with
GeoJSON(containing the GeoJSON feature data).
bringToBackmethods (so that they would work for multipolys).
invalidateSize(by @ajbeaven). #857
removeLayerwould unbind popups of removed layers even if the popups were not put by the group (affected Leaflet.markercluster plugin) (by @danzel). #861
detectRetinaoption (by @sxua). #854
Vladimir Agafonkin, Leaflet maintainer.