rc-bmap
rc-bmap copied to clipboard
Update overlay config after `overlay.repaint`
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
- [x] Make sure that you propose PR to right branch: bugfix for
master, feature for latest active branchvx.x.x. - [x] Rebase before creating a PR to keep commit history clear.
- [x] Add some descriptions and refer relative issues for you PR.
Extra checklist: if** isNewFeature :
- [ ] Update API docs for the component.
- [ ] Update/Add demo to demonstrate new feature.
- [ ] Update TypeScript definition for the component.
Update overlay config after overlay.repaint
Such as Marker:
Usually Marker.repaint will update the Marker.overlay.config, but Marker.config not update.
This will cause Marker.point change but position not change,
finally call Marker.setPosition(oldPosition), the Marker don't move.