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 to GeoJSON to match Leaflet's change.
    • ๐Ÿšš [BREAKING] Removed MultiPolygon and MultiPolyline, now supported by Polygon and Polyline respectively.
    • ๐Ÿ“š [BREAKING] Removed CanvasTileLayer, replaced by GridLayer. See Leaflet's documentation.
    • ๐Ÿšš [BREAKING] Removed getLeafletElement() method in MapComponent and MapControl, deprecated since v0.12.0.
    • ๐Ÿšš [BREAKING] Removed setIconDefaultImagePath() helper, set Leaflet.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 to Map to use flyTo instead of setView and flyToBounds instead of fitBounds 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 dynamic url and parameters.
    • [internal] Fixed Flow errors (PR #251 by joeyrosztoczy).
    • โšก๏ธ [internal] Updated MapLayer to only create divs when necessary.
    • ๐Ÿšš [internal] Removed BaseTileLayer, replaced by GridLayer.
    • ๐Ÿšš [internal] Removed bower.json file.