Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
v0.7.0
- Updated Leaflet to v0.7.5.
- Added
Path
base component for vector layers, handling dynamic Path options properties. - Added support for holes in
Polygon
. - [internal] Updated Jest to v0.5.
- [internal] Updated Gulpfile to use Babel.
- [internal] Added ESLint validation.
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.1
v0.4
- Updated React dependency to 0.13:
- Components are defined as ES6 classes.
- Mixins are replaced by the base components
MapComponent
,MapLayer
,BaseTileLayer
andPopupContainer
. All components extend from these. - The new
React.cloneElement()
API is used instead of the deprecatedReact.addons.cloneWithProps()
to pass themap
property to the components. - The
map
property has been removed from the componentspropTypes
definition as it is dynamically injected to its children by theMap
component, 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}
, exonClick
instead ofonLeafletClick
, as all events are proxied to Leaflet. - Deprecated
getLeafletElement()
method, simply use theleafletElement
property instead to access the Leaflet object created for a component.