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)

贡献者指南

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