Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Freehand closing point should have closingPoint properties property #365

Closed
JamesLMilner opened this issue Nov 20, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@JamesLMilner
Copy link
Owner

Describe the bug
To be consistent with Polygon mode, Freehand should set the feature.properties.closingPoint property to true

Terra Draw npm version
1.0.0-beta.8

To Reproduce
Steps to reproduce the behavior:

  1. Create a Freehand polygon but don't close it
  2. Create a snapshot with draw.getSnapshot()
  3. Observe the properties of the closing point
  4. See that closingPoint is missing from properties, where as it exists for polygon mode

Expected behavior
The closingPoint property should be true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant