Skip to content

Event for when vertices are added/modified on LineString and Polygon #218

@averas

Description

@averas

I have a use case where drawing is limited to certain areas. For the Point type I immediately destroy the feature when created if it's out of bounds. For LineString and Polygon features I currently wait until it is committed before I can do any validation, which UX suffers from. I would love to see modification events both on committed and non-committed features so I can carry out validation on its current properties, immediately removing any vertices that are out of bounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions