itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 70 forks source link

Can not find the closest coordinate of the route #235

Closed mgarzon62 closed 5 years ago

mgarzon62 commented 5 years ago

I need the point of the route closest to my coordinate. I've tried it with the Resolve method and it returns the same coordinate that I give it but not the closest one to a route.

How can I get it?

Sonnenspeer commented 5 years ago

This issue should be the same https://github.com/itinero/routing/issues/221

xivk commented 5 years ago

Yes, as @Sonnenspeer mentioned, you can do this with the extension methods for the route class.