GIScience / GIScience/ors-map-client
useUserKey: false - Not Working Correctly
- Dominant language
- JavaScript
- Stars
- 145
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
We are hosting our own internal ORS geocode service. So we do not require the api_key to be sent in the request.
Inside the app-config.js file we alter the useUserKey to **false** so we expect the api_key to not be sent.
```
orsApiKey: '', // ORS API key to be used on the ORS requests. You can get one here: https://openrouteservice.org/dev/#/signup
useUserKey: false, // If the app is using a user ORS API key. // Don't change this unless you know what your doing!
```
However we can see in the network requests the **api_key** is included as below:
https://demo.com:8080/pgeocode/reverse?api_key=[object%20Object]&point.lon=-1.7635202407836914&point.lat=52.48031035388887&size=10
This then means our Pelias geocoder complains about the extra unknown parameter.
Have we done something wrong. Or is there an issue where the API Key is always sent despite it being switched off.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.