- Updated React dependency to 0.13:
- Components are defined as ES6 classes.
- Mixins are replaced by the base components
MapComponent,MapLayer,BaseTileLayerandPopupContainer. All components extend from these. - The new
React.cloneElement()API is used instead of the deprecatedReact.addons.cloneWithProps()to pass themapproperty to the components. - The
mapproperty has been removed from the componentspropTypesdefinition as it is dynamically injected to its children by theMapcomponent, React would now warn it is not set. It is still required by components to have access to the Leaflet object.
- Events can now be set as
on{Event}rather thanonLeaflet{Event}, exonClickinstead ofonLeafletClick, as all events are proxied to Leaflet. - Deprecated
getLeafletElement()method, simply use theleafletElementproperty instead to access the Leaflet object created for a component.