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

Returned array with only two values #19

Open
nicosmazz opened this issue Jul 3, 2020 · 3 comments
Open

Returned array with only two values #19

nicosmazz opened this issue Jul 3, 2020 · 3 comments
Labels

Comments

@nicosmazz
Copy link

Hi, I'm using the pods and when I try to simplify my [CCLocation2D] consisting in 2125 points the function return my an array with only 2 values.

I'm doing this:

let simplifiedCoordinates = SwiftSimplify.simplify(coordinates!, tolerance: 1.75) (I've tried also with 1 tolerance, but nothing change)

@sachithamh
Copy link

sachithamh commented Oct 7, 2020

the same issue need help
tolerance I used 3,0.001 doesn't work
out of 200 location coordinates return only two

@kf99916
Copy link

kf99916 commented Nov 7, 2020

Please refer to the same issue for simplify-js: mourner/simplify-js#37.

@luap2703
Copy link

Same problem here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants