geoman-io/leaflet-geoman

how to stop removing marker & circle marker when "edit" button is triggerd?

Open

#1,013 opened on 2021年10月17日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (1,933 stars) (404 forks)batch import
good first issueimprovement

説明

When the edit mode edit is triggered to remove polygon's vertex, it also allows me to remove marker and circle marker by right click.

Is there any way to prevent it? (only allow to remove vertex but not the whole object like marker or circle marker)

The reason is if you remove marker or circle marker while edit mode is on from mobile device (press holding finger), you can't pan the map around (but you can still zoom in-out)

コントリビューターガイド

how to stop removing marker & circle marker when "edit" button is triggerd? · geoman-io/leaflet-geoman#1013 | Good First Issue