github PaulLeCam/react-leaflet v1.0.0-beta.1

latest releases: v4.2.1, v4.2.0, v4.1.0...
pre-release7 years ago

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 to GeoJSON to match Leaflet's change.
  • [BREAKING] Removed MultiPolygon and MultiPolyline, now supported by Polygon and Polyline respectively.
  • [BREAKING] Removed CanvasTileLayer, replaced by GridLayer. See Leaflet's documentation.
  • [BREAKING] Removed getLeafletElement() method in MapComponent and MapControl, deprecated since v0.12.0.
  • Removed BaseTileLayer, replaced by GridLayer.
  • 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 of React.Component, as such React v15.3.0+ is now required.
  • Added GridLayer.
  • Added useFlyTo: bool property to Map to use flyTo instead of setView and flyToBounds instead of fitBounds when changing the map's view or bounds (PR #148 by jgimbel).

Don't miss a new react-leaflet release

NewReleases is sending notifications on new releases.