Releases: adamscybot/react-leaflet-component-marker
Releases · adamscybot/react-leaflet-component-marker
v2.0.1
v2.0.0
2.0.0 (2024-07-11)
Features
- Added new warnings for common misconfigurations, and options to turn them off. (47ccffc)
- Added new props to control propagation of pan/click events. (47ccffc)
- Improved component API to properly delimit and contain options from this library from other props. Added typings to catch common misconfig. (47ccffc)
Fixes
- Removed throwing error when target portal DOM element can not be found, to fix common SSR scenarios. (47ccffc)
- Corrected vertical positioning in
fit-content
mode. (47ccffc) - Changes to the
divIcon
opts (now viarootDivOpts
) no longer cause component to lose state. (47ccffc)
BREAKING CHANGES
- Structure of
componentIconOpts
has changed signifcantly. See docs.