I'm having a problem with the DirectionsService.

I want to show a route to some place that doesn´t have map, so, i made
some piece of the route "by hand" (javascript markers and polygons).
The problem presents when i request the route from one direction to
the intersection of a route (point with latitude and longitude), the
route show by the DirectionsService doesn´t end exactly in the point
indicated. To visualize this i prepare a fiddle: 
http://jsfiddle.net/aleaniquilador/nC4wN/

The expected end point is {-30.745418, -59.580419} (the intersection
between the two roads), but Google traces the route much to the north.
Trying different coordinate, the trace moves away to the south or
east, but never in the point i want.

If i move the marker "B" to the coordinates with the mouse, the route
traces correctly, but i cannot make it automatic. Can´t figure out how
make the route to the exact point o "drag" the marker by javascript.
Hope someone knows the answer.

I Hope my explanation was understandable.

P.D.: i also post the problem in Stack Overflow, but no answer
http://stackoverflow.com/questions/8130903/google-maps-api-v3-directionsservice-not-exact-end-point

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to