-
Notifications
You must be signed in to change notification settings - Fork 592
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
draw.changeMode('direct_select', feature_id) not rerendering properly #738
Comments
seeing the same behavior here. same versions! |
We had the same problem with MultiPolygons but it turned out to be because our id was an int instead of a string, I don't know if this is relevant here though. |
! That solves it. @OskarHeden thank you. So perhaps this should be a bug to properly handle integer ids, or to return an error when ids are integers. |
You mean the feature id? |
Oh! Wow. That is most definitely a bug.
|
mapbox-gl-js version: 0.43.0
mapbox-gl-draw version: 1.0.4
Steps to Trigger Behavior
feature
is an immutable Map.Drag one of the feature's vertices.
Expected Behavior
Allows editing of the polygon and when vertices are dragged it renders the updated geometry on each frame.
Actual Behavior
Old frames are not cleaned up and the geometry is "smeared" across the movement path.
The text was updated successfully, but these errors were encountered: