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.