- [BREAKING] Added
layerContainerproperty as a consistent replacement formaporlayerGroup(PR #132 by boromisp). This is only breaking if you are creating custom components, as you will need to make sure to also inject thelayerContainerproperty to children layers as you need to do withmap. - Changed
LayersControlto be based on components:- Added
LayersControl.BaseLayercontainer component to add a base layer to aLayersControl. - Added
LayersControl.Overlaycontainer component to add an overlay to aLayersControl. baseLayersandoverlaysproperties forLayersControlare still supported but deprecated. Using either of them will make theLayersControlbehave the same way it does in versions < 0.11.
- Added
- Deprecated
onLeaflet...properties for events, simply useon..., exonClickinstead ofonLeafletClick. - Added warnings for deprecated features, the same way React does. Make sure to address these warnings to ease the transition to future releases.
- Added React v15.0.0 support as peer dependency.
- [internal] Fixed
no-unused-varslinting (PR #131 by boromisp).