Skip to content

[Feature Request] Snapping to other drawings #848

@RLaipins

Description

@RLaipins

Is your feature request related to a problem? Please describe.
Currently snapping works for polygon, linestring and select mode. While there is the ablity to have custom snapping with toCustom(), it would be nice if by default there would be possibly to snap to other drawings regardless of their type.

Describe your proposed idea for the solution to this problem
Provide a flag that would allow snapping to other drawings inside the store.

Describe alternatives you've considered
Currently I have thought about implementing this with the use of toCustom() to snap to other drawings from snapshot store.

Additional context
I got the inspiration from here: https://openlayers.org/en/latest/examples/snap.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions