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
Added LeafDoc for toGeoJSON's precision - Issue #6344 #6375
Conversation
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.
Hi and thanks for taking the time to look into this!
I think this needs some work, though. First, the precision
parameter is optional, and should be marked as such: precision?: Number
. I also think it should be made clear that precision in this contexts means the number of decimals places for coordinates, and that the default precision is 6.
Hi @perliedman, I updated the PR with your recommended changes. Please review and let me know if you have questions. |
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.
LGTM
Nice! Thanks! |
…#6375) * Added LeafDoc for toGeoJSON's precision * Added LeafDoc for toGeoJSON's precision argument
Added LeafDoc for toGeoJSON's precision argument - Issue #6344