-
Notifications
You must be signed in to change notification settings - Fork 64
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
feat: allow to modifiy circle geometry #270
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor suggestions, otherwise LGTM
src/control/cad.js
Outdated
if (index > -1) { | ||
features.splice(index, 1); | ||
const currentFeatures = [editFeature, drawFeature].filter((f) => !!f); | ||
const nb = nbFeatures || 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is nbFeatures more readable then numFeatures? Maybe numberFeatures?
And can we put the default value in the arguments?
getClosestFeatures(coordinate, nbFeatures = 1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The node version in vercel needs to be upgraded and the Cypress tests are failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
How to
Add a manually a feature with a circle geometry in the index.html file, the try to modify it.
Others
WIP:
if it's necessary.IMPORTANT: Squash commits before or on merge to prevent every small commit being written into the change log. The Pull Request title will be written as message for the new commit containing the squashed commits and there fore needs to be in conventional-commit format