Skip to content

Bug: Split Feature doesn't work when adding marker over polygon #1572

@rezw4n

Description

@rezw4n

Web Browser (with version)

Chrome, Firefox, Safari, Edge

OS/Platform (with version)

Windows 11

Leaflet version

1.9.3

Geoman version

2.13.0

Geoman Pro

  • I'm using Geoman Pro

Minimal example reproducing the issue

No response

Steps to reproduce

  1. Add any Geojson file
  2. Add two Marker
  3. Use the split layer tool and connect the two markers to split a polygon
  4. Split doesn't happen

Image

Expected behavior

I'm using custom markers as a snapping point to split a geojson layer, but sometimes it splits, and sometimes it doesn't. I'm not sure why, but it should always split the polygon layer.

Current behavior

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pro ⭐Related to Leaflet-Geoman Pro ⭐bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions