geoman-io/leaflet-geoman

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

オープン

#1,013 opened on 2021/10/17

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (404 件のフォーク)batch import
good first issueimprovement

Repository metrics

Stars
 (1,933 個のスター)
PR merge metrics
 (平均マージ 9d 6h) (30d で 5 merged PRs)

説明

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)

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