uber / nebula.gl

A suite of 3D-enabled data editing overlays, suitable for deck.gl
https://nebula.gl/
Other
686 stars 166 forks source link

Prevent altering geometry on map drag end #868

Open timnyborg opened 1 year ago

timnyborg commented 1 year ago

When in ModifyMode, if you end dragging the map close enough to a selected LineString that a tentative handle appears, the nearest vertex is replaced with that point:

modify-on-drag-end.webm

This fixes it by relying on the pointerDownPicks like handleDragging.