Skip to content

Conversation

@BlockCnFuture
Copy link

Problem

DirectSelect.onVertex fails when dragging MultiPoint geometries due to the coord_path property not being consistently a string. This causes issues, especially when dragging vertices in MultiPoint geometries.

Solution

  • Added a type check and conversion for coord_path to ensure it is always treated as a string:
    if (typeof about.coord_path !== 'string') about.coord_path = String(about.coord_path);

@BlockCnFuture BlockCnFuture requested a review from a team as a code owner December 26, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant