I have a scenario in which, we match the device latlng with the polyline with a tolerance of 150m. As a result the data stored onto the server isn't accurate as it has a deviation of 150m.
Would like to know if there is a way in PolyUtil where, one finds whether the latlng is on the polyline using isLocationOnEdge(...) and if true then I obtain the latlng that was closest match (on the polyline) to the verified latlng.
I have a scenario in which, we match the device latlng with the polyline with a tolerance of 150m. As a result the data stored onto the server isn't accurate as it has a deviation of 150m.
Would like to know if there is a way in PolyUtil where, one finds whether the latlng is on the polyline using isLocationOnEdge(...) and if true then I obtain the latlng that was closest match (on the polyline) to the verified latlng.