Skip to content

Snap on Point before Polyline #453

Closed
@derdem

Description

@derdem

Hey,

I am working with leaflet pm where I have multiple lines and points plotted on the map. The User can draw lines and is supposed to snap the line on the existing markers. The arrangement of my lines and points is such that there is always a point at the end of the line. Now, I want to register the snapping event which is working fine when snapping to a line, but when I snap to the end of the line where a point is placed it want to recognise the Point as the .layerInteractedWith compontent. However snapping always recognises the line instead. Is there a way to change this to a Point element?

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssues that are fixed in develop or in a PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions