|
I found the problem:
The ObjectsFromPoint method is returning the center of Eastern GMT 5 as the closest object. This only happens when there aren't any addresses nearby.
What I did to fix the problem:
Since I do not require an address for my start point (vehicle GPS location), I simply used the getLocation method on the start point. In my original build this was how it was done, but then I required an address for the end point and that is how I lost track of the requirement for the start point. Everything is fine now. |