googlemaps / googlemaps/google-maps-services-js
Distance Matrix URL returns ?origin=*&destination=*key=* instead of ?origins=*&destinations=*key=*
Open
triage me
type: bug
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 654
- Avg merge
- 3m
- Merged PRs (30d)
- 4
Description
When making a distancematrix() request the URL that is returned is incorrect as it has "origin" and "destination" instead of "origins" and "destinations".
This returns status 'INVALID_REQUEST'. If I copy the URL in to a browser and change origin to origins and destination to destinations in the url data is pulled correctly.
Contributor guide
Assessment
This issue has not been assessed yet.