Skip to content

Releases: PaulLeCam/react-leaflet

v0.11.0

09 Apr 14:54
Compare
Choose a tag to compare
  • [BREAKING] Added layerContainer property as a consistent replacement for map or layerGroup (PR #132 by boromisp). This is only breaking if you are creating custom components, as you will need to make sure to also inject the layerContainer property to children layers as you need to do with map.
  • Changed LayersControl to be based on components:
    • Added LayersControl.BaseLayer container component to add a base layer to a LayersControl.
    • Added LayersControl.Overlay container component to add an overlay to a LayersControl.
    • baseLayers and overlays properties for LayersControl are still supported but deprecated. Using either of them will make the LayersControl behave the same way it does in versions < 0.11.
  • Deprecated onLeaflet... properties for events, simply use on..., ex onClick instead of onLeafletClick.
  • Added warnings for deprecated features, the same way React does. Make sure to address these warnings to ease the transition to future releases.
  • Added React v15.0.0 support as peer dependency.
  • [internal] Fixed no-unused-vars linting (PR #131 by boromisp).

v0.10.2

12 Mar 15:37
Compare
Choose a tag to compare
  • Added animate optional property to Map (PR #126 by mariusandra).
  • Added React v15.0.0-rc.1 support as peer dependency.

v0.10.1

22 Feb 23:30
Compare
Choose a tag to compare
  • Added the popup container as source layer to Popup creation, fixes #113 (PR #112 by amarant).
  • [internal] Updated Lodash to v4.

v0.10.0

22 Dec 11:51
Compare
Choose a tag to compare
  • Added AttributionControl, LayersControl and ScaleControl (PR #100 by jonboiser).
  • Added example to render a list of custom Markers (PR #104 by varya).
  • [internal] Updated Babel to v6.

v0.9.0

12 Nov 23:00
Compare
Choose a tag to compare
  • Removed PopupContainer component, extended internally by other components.
  • FeatureGroup now expects its layers to be passed as children, like LayerGroup.
  • Added renderChildrenWithProps() to MapLayer, used internally by the library.
  • Added MapControl as base component for controls.
  • Added ZoomControl.

v0.8.1

21 Oct 20:19
Compare
Choose a tag to compare

Fix PropTypes export.

v0.8.0

07 Oct 22:36
Compare
Choose a tag to compare

Changes from v0.7.0:

  • Updated React to v0.14.0.
  • Added ReactDOM v0.14.0 to peer dependencies.
  • Popup now renders its contents using ReactDOM.render() and therefore supports dynamic children.
  • Map now supports dynamic bounds and maxBounds properties (#72).
  • Added LayerGroup component (#58).

v0.8.0-rc.3

29 Sep 08:52
Compare
Choose a tag to compare
v0.8.0-rc.3 Pre-release
Pre-release
  • Added LayerGroup component (#58).
  • Map now supports dynamic bounds and maxBounds properties (#72).

v0.8.0-rc.2

22 Sep 07:32
Compare
Choose a tag to compare
v0.8.0-rc.2 Pre-release
Pre-release

Check if Popup content node exists before trying to unmount.

v0.8.0-rc.1

16 Sep 07:26
Compare
Choose a tag to compare
v0.8.0-rc.1 Pre-release
Pre-release
  • Updated React to v0.14.0-rc1.
  • Added ReactDOM v0.14.0-rc1 to peer dependencies.
  • Popup now renders its contents using ReactDOM.render() and therefore supports dynamic children.