- [BREAKING] Added
layerContainer
property as a consistent replacement formap
orlayerGroup
(PR #132 by boromisp). This is only breaking if you are creating custom components, as you will need to make sure to also inject thelayerContainer
property to children layers as you need to do withmap
. - Changed
LayersControl
to be based on components:- Added
LayersControl.BaseLayer
container component to add a base layer to aLayersControl
. - Added
LayersControl.Overlay
container component to add an overlay to aLayersControl
. baseLayers
andoverlays
properties forLayersControl
are still supported but deprecated. Using either of them will make theLayersControl
behave the same way it does in versions < 0.11.
- Added
- Deprecated
onLeaflet...
properties for events, simply useon...
, exonClick
instead 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-vars
linting (PR #131 by boromisp).