Routes off the road?

Topics: Bugs
Nov 19, 2010 at 9:00 PM

how come when placing a route and the start point isnt on the road,  it throws off the route completely and sends you off going thru the middle of forrests, grass, thru roads, lakes, etc completely ignoring the correct path?


when both the start and end point are on a road, it works fine..

If it couldnt detect a route properly, it should at least pop up with an error instead of sending you off somewhere crazy.

Nov 19, 2010 at 9:00 PM

actually what it looks like it did was did a route based on the nearest road it found but it plots it based on the location of the start point..... how can you adjust the route path so it starts drawing based on where the route was found?

Nov 19, 2010 at 9:04 PM

fixed by changing this line


GMapMarker mRoute = new GMapMarker(start);


GMapMarker mRoute = new GMapMarker(route.Points.First());

Nov 19, 2010 at 9:36 PM

roger ;}