react-leaflet v1.0.0 Release Notes
Release Date: 2016-11-14 // over 7 years ago-
๐ 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. - 0๏ธโฃ
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.