rc-bmap icon indicating copy to clipboard operation
rc-bmap copied to clipboard

Update overlay config after `overlay.repaint`

Open Oscar-ren opened this issue 6 years ago • 0 comments

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 branch vx.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.

Oscar-ren avatar Mar 01 '19 09:03 Oscar-ren