Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
v1.0.0
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
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. - [BREAKING] Removed
setIconDefaultImagePath()
helper, setLeaflet.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 toMap
to useflyTo
instead ofsetView
andflyToBounds
instead offitBounds
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 dynamicurl
and parameters. - [internal] Fixed Flow errors (PR #251 by joeyrosztoczy).
- [internal] Updated
MapLayer
to only create divs when necessary. - [internal] Removed
BaseTileLayer
, replaced byGridLayer
. - [internal] Removed
bower.json
file.
v1.0.0-rc.3
Updated WMSTileLayer
to support dynamic url
property.
v1.0.0-rc.2
v1.0.0-rc.1
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, setLeaflet.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
v0.12.2
v1.0.0-beta.3
Fixed Tooltip
removal handling.
v1.0.0-beta.2
- 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 onReact.Component
.
v1.0.0-beta.1
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).