Skip to content

Delete vertex deletes whole polygon #953

Open
@csimpi

Description

mapbox-gl-js version: newest
mapbox-gl-draw version: newest

Steps to Trigger Behavior

It's randomly happening:

  1. Select a polygon
  2. Select a vertex (point), -> the yellow point goes bigger
  3. Delete the vertex

https://gifyu.com/image/mQuD

Expected Behavior

When I select a vertex and delete it (Del button or Trash icon) the selected vertex should be deleted.

Actual Behavior

Sometimes the whole polygon disappears sometimes only the selected vertex. I've tried many many times.

Metadata

Assignees

No one assigned

    Labels

    buguiButtons & user interactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions