Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labelOpts & labelsOpts resetting after delete some point of polyline/polygon #31

Open
PetukhovArt opened this issue Nov 28, 2024 · 0 comments

Comments

@PetukhovArt
Copy link

PetukhovArt commented Nov 28, 2024

Hello!
Founded the bug with labels

  1. set custom label/labels opts when rendering collection of polylines (for example bg color gray) , and render collection with show=true
  2. show=false , try to do editor evt => remove point of line/area
  3. after removing point, try to enable show=true
  4. current result : label & labels opts reset to default vue-cesium and ignore my opts, that i pass when polyline was created.

this happens too if I :

  1. initialize render data of my widget with polylines label/labels show prop in false state
  2. then try to show labels , and labels have default vue-cesium props

image

labels show
image
then labels unshow
image

after deleting some point
image

i set label opts like non reactive object

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant