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

Uncaught Error: options.minDistance is not yet implemented #2291

Closed
erikhansenmujica opened this issue May 16, 2022 · 1 comment
Closed

Uncaught Error: options.minDistance is not yet implemented #2291

erikhansenmujica opened this issue May 16, 2022 · 1 comment

Comments

@erikhansenmujica
Copy link

Hello, I am using Turf 6.5.0 which I think is the newest, and I am having this error on minDistance between the path and geoJson as obstacle. It says it is not implemented yet, can you give me some advice on what to do to achieve this or make that function available ?

@JamesLMilner
Copy link
Collaborator

Hey there! Can you clarify which module you're talking about? Assuming you mean shortestPath here, you're right this is not implemented (see

throw new Error("options.minDistance is not yet implemented");
). It might make sense to remove this property from the options as it's not currently usable and not sure anyone is looking at a PR to implement it.

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