This is a first beta release for the upcoming v1 of React-Leaflet, supporting Leaflet v1.
If you want to try it out, make sure to update to Leaflet v1.0.0-rc.2 (don't forget to use the matching CSS file) and React v15.3.0+. It is available on npm with the next tag: npm install react-leaflet@next.
You can read more information about the v1 release plan in this issue.
- [BREAKING] Renamed
GeoJsontoGeoJSONto match Leaflet's change. - [BREAKING] Removed
MultiPolygonandMultiPolyline, now supported byPolygonandPolylinerespectively. - [BREAKING] Removed
CanvasTileLayer, replaced byGridLayer. See Leaflet's documentation. - [BREAKING] Removed
getLeafletElement()method inMapComponentandMapControl, deprecated since v0.12.0. - Removed
BaseTileLayer, replaced byGridLayer. - Removed
bower.jsonfile. - The
Mapcomponent no longer creates an unique ID for its container if none is provided. - All components now extend from
React.PureComponentinstead ofReact.Component, as such React v15.3.0+ is now required. - Added
GridLayer. - Added
useFlyTo: boolproperty toMapto useflyToinstead ofsetViewandflyToBoundsinstead offitBoundswhen changing the map's view or bounds (PR #148 by jgimbel).