Skip to content

Releases: PaulLeCam/react-leaflet

v1.0.0

14 Nov 22:32
Compare
Choose a tag to compare

React-Leaflet reaches v1! Now with support for Leaflet v1.
Thanks to all the contributors who helped build this library!

Changes from v0.12.3:

  • [BREAKING] Updated Leaflet dependency requirement to v1.0.0.
  • [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.
  • [BREAKING] Removed setIconDefaultImagePath() helper, set Leaflet.Icon.Default.imagePath directly using Leaflet if you need.
  • Leaflet.Icon.Default.imagePath is no longer set by default, as per Leaflet v1.0.0 it should be auto-detected.
  • The Map component no longer creates an unique ID for its container if none is provided.
  • 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).
  • Added GridLayer.
  • Added Pane component introduced in Leaflet v1. (PR #227 by rjdestigter).
  • Added Tooltip component introduced in Leaflet v1. See Leaflet's documentation for usage.
  • Added support for IE9 and IE10 (PR #235 by dettier).
  • Updated WMSTileLayer to support dynamic url and parameters.
  • [internal] Fixed Flow errors (PR #251 by joeyrosztoczy).
  • [internal] Updated MapLayer to only create divs when necessary.
  • [internal] Removed BaseTileLayer, replaced by GridLayer.
  • [internal] Removed bower.json file.

v1.0.0-rc.3

04 Nov 08:02
Compare
Choose a tag to compare
v1.0.0-rc.3 Pre-release
Pre-release

Updated WMSTileLayer to support dynamic url property.

v1.0.0-rc.2

20 Oct 20:53
Compare
Choose a tag to compare
v1.0.0-rc.2 Pre-release
Pre-release
  • Added Pane component introduced in Leaflet v1 (PR #227 by rjdestigter).
  • Added support for IE9 and IE10 (PR #235 by dettier).
  • Updated WMSTileLayer to support dynamic parameters.

v1.0.0-rc.1

28 Sep 07:01
Compare
Choose a tag to compare
v1.0.0-rc.1 Pre-release
Pre-release

This changelog only displays changes from v1.0.0-beta.3, read the changes of the previous beta releases for a more complete list.

  • [BREAKING] Removed setIconDefaultImagePath() helper, set Leaflet.Icon.Default.imagePath directly using Leaflet if you need.
  • Updated Leaflet dependency requirement to v1.0.0.
  • Leaflet.Icon.Default.imagePath is no longer set by default, as per Leaflet v1.0.0 it should be auto-detected.

v0.12.3

21 Sep 20:31
Compare
Choose a tag to compare

Fixed events bindind in UMD build.

v0.12.2

09 Sep 06:51
Compare
Choose a tag to compare
  • Updated propTypes to allow polygons with holes in MultiPolygon (PR #218 by ernoaapa).
  • Fixed badly named ScaleControl class.

v1.0.0-beta.3

26 Aug 07:21
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

Fixed Tooltip removal handling.

v1.0.0-beta.2

20 Aug 09:25
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release
  • Added Tooltip component introduced in Leaflet v1.0.0-rc.2. See Leaflet's documentation for usage.
  • Updated Leaflet dependency to v1.0.0-rc.3.
  • Reverted basing components on React.PureComponent, they are now based on React.Component.

v1.0.0-beta.1

30 Jul 09:11
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-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 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).

v0.12.1

08 Jul 07:49
Compare
Choose a tag to compare
  • Fixed unmounting LayersControl when the Map is unmounting as well.
  • Added a plugins section to the documentation.