I have a point (latitude,longitude) ex : 33.959295,35.606100 and I'm looking for a way in c# to check if this point is on a specific route (a list of points or a polyline). I did some research and I found that isLocationOnEdge
function contained within the Google Maps Geometry Library
does exactly what I need but it is not available for c#. Here are some examples in other languages:
- Google Map Javascript API https://developers.google.com/maps/documentation/javascript/geometry#isLocationOnEdge.
- Android sample https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
- I found a c# library for gmaps google maps API for C# but it does not support the function
isLocationOnEdge
Is there a way to do the required above in c#?