v1.0.0-beta.1
Pre-release
Pre-release
·
428 commits
to master
since this release
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
GeoJson
toGeoJSON
to match Leaflet's change. - [BREAKING] Removed
MultiPolygon
andMultiPolyline
, now supported byPolygon
andPolyline
respectively. - [BREAKING] Removed
CanvasTileLayer
, replaced byGridLayer
. See Leaflet's documentation. - [BREAKING] Removed
getLeafletElement()
method inMapComponent
andMapControl
, deprecated since v0.12.0. - Removed
BaseTileLayer
, replaced byGridLayer
. - Removed
bower.json
file. - The
Map
component no longer creates an unique ID for its container if none is provided. - All components now extend from
React.PureComponent
instead ofReact.Component
, as such React v15.3.0+ is now required. - Added
GridLayer
. - Added
useFlyTo: bool
property toMap
to useflyTo
instead ofsetView
andflyToBounds
instead offitBounds
when changing the map's view or bounds (PR #148 by jgimbel).