Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Icon for Administrator rankAdministrator
4 years ago

Error bing maps getRoute, getRoutev2 and getRoute V3

Hi, I'm trying to get a route between WP1 -33.059939,-68.940423 and WP2 -35.652389,-69.221763

 

haleg_0-1645890982758.png

haleg_1-1645890989990.png

the code I use is:
BingMaps.GetRouteV3("Driving";
"-33.059939,-68.940423";
"-35.652389,-69.221763";
{optimize: "time" ;distanceUnit: "km"}
).travelDistance

it only gives me errors in some cases with other WPs I calculate them ok.

 

and it gives an error that it cannot calculate the route. try to calculate it from bing maps and it also gives an error, does anyone know what it is due to?

haleg_3-1645891184075.png

 

No RepliesBe the first to reply