geoman-io/leaflet-geoman

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

Open

#1,013 建立於 2021年10月17日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,933 star) (404 fork)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)

貢獻者指南