| Issue 2465: | Directions API - Bug. UK unit system returned in JSON html_instructions for Dutch route | |
| 1 person starred this issue and may be notified of changes. | Back to list |
In a request for the Directions API the origin can contain textual address or latitude/longitude value. When I use the textual address, the distance in html_instructions per step is returned in the correct metric unit system. But when I use a latitude/longitude value, the html_instructions return a UK unit result. The 2 directions requests should return the same result, but they differ in unit system in the html_instructions. http://maps.google.nl/maps/api/directions/json?language=nl&origin=De Gildekamp%202024,6545%20Nijmegen&destination=51.831967319929,5.796558600816&sensor=false http://maps.google.nl/maps/api/directions/json?language=nl&origin=51.829966560399,5.79828158418&destination=51.831967319929,5.796558600816&sensor=false In my programm I work with latitude/longitude values; how can I get a metric response from the directions API with these? Regards, Robert
Sep 8, 2010
#1
[email protected]
Labels:
ApiType-DirectionsAPI
Sep 8, 2010
Specify units with your request: https://code.google.com/apis/maps/documentation/directions/#DirectionsRequests -- In future, please post usage questions about the API to the user group, this issue tracker is for bugs and feature requests. http://groups.google.com/group/google-maps-js-api-v3
Status:
Invalid
|
|
| ► Sign in to add a comment |