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

Split interaction and Polygons #125

Closed
AleMScof opened this issue Jun 23, 2018 · 2 comments
Closed

Split interaction and Polygons #125

AleMScof opened this issue Jun 23, 2018 · 2 comments

Comments

@AleMScof
Copy link

Hi Jean,

it's a pleasure for me to write you for the first time, i'd like to thank you for this repo. It's been a very source of inspiration to me since a long.

I've noticed using Split interaction that if it's actived and meanwhile, on the used vector, there's some Polygon Geometry hovering on them generates ton of errors due to method "getNearestCoord" at the actual line 9367.

Here's attached a screen of it.
code

Keep going,
thanks

A.

Viglino added a commit that referenced this issue Jun 23, 2018
@Viglino
Copy link
Owner

Viglino commented Jun 23, 2018

Yes! the split interaction is not intended to be used with polygons.
There was a typo. Now it's running without error (test if the geometry is a LineString).
Thanks for the feedback.
@+

@AleMScof
Copy link
Author

Thanks,
working fine.
A.

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

No branches or pull requests

2 participants