geoman-io/leaflet-geoman
在 GitHub 查看how to stop removing marker & circle marker when "edit" button is triggerd?
Open
#1,013 建立於 2021年10月17日
good first issueimprovement
描述
When the edit mode 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)