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 with write method (converting object to WKT) #146

Open
garbarczykfilip opened this issue May 6, 2020 · 2 comments
Open

Bug with write method (converting object to WKT) #146

garbarczykfilip opened this issue May 6, 2020 · 2 comments
Labels
verify Potential bug, needs a test and possibly a fix

Comments

@garbarczykfilip
Copy link

Steps to reproduce this issue:

  1. Create WKT string for polygon with more than 1 hole in it.
  2. Read WKT string and use toObject method, to create polygon object.
  3. Use fromObject method with previously created polygon object.
  4. Write WKT string from previously loaded object.

In result WKT string there should be polygon coordinates, coordinates of first hole and other holes will be "undefined". This is causing problem with disapearing holes.

@arthur-e arthur-e added the verify Potential bug, needs a test and possibly a fix label May 6, 2020
@arthur-e
Copy link
Owner

arthur-e commented May 6, 2020

Hello! Thanks for this report. Which mapping library are you using, e.g., Google Maps?

@garbarczykfilip
Copy link
Author

garbarczykfilip commented May 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verify Potential bug, needs a test and possibly a fix
Projects
None yet
Development

No branches or pull requests

2 participants