Skip to content

Releases: PaulLeCam/react-leaflet

v0.6.1

22 May 07:43
Compare
Choose a tag to compare

Fix PopupContainer export.

v0.6.0

18 May 22:34
Compare
Choose a tag to compare
  • Added style property on the Map component.
  • Replaced the <noscript> element in PopupContainer by a <div> to be properly updated.

v0.5.0

02 May 16:39
Compare
Choose a tag to compare

Make Marker props dynamic

v0.4.1

06 Apr 09:21
Compare
Choose a tag to compare

Updated Babel to v5.

v0.4

28 Mar 14:37
Compare
Choose a tag to compare
  • Updated React dependency to 0.13:
    • Components are defined as ES6 classes.
    • Mixins are replaced by the base components MapComponent, MapLayer, BaseTileLayer and PopupContainer. All components extend from these.
    • The new React.cloneElement() API is used instead of the deprecated React.addons.cloneWithProps() to pass the map property to the components.
    • The map property has been removed from the components propTypes definition as it is dynamically injected to its children by the Map component, React would now warn it is not set. It is still required by components to have access to the Leaflet object.
  • Events can now be set as on{Event} rather than onLeaflet{Event}, ex onClick instead of onLeafletClick, as all events are proxied to Leaflet.
  • Deprecated getLeafletElement() method, simply use the leafletElement property instead to access the Leaflet object created for a component.

v0.3

21 Jan 20:24
Compare
Choose a tag to compare
  • Changed: leaflet is now required as a peer dependency, make sure to include it in you projects.
  • Added: url and opacity are now dynamic properties in ImageOverlay.