We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
L.Control.Geocoder.photon().reverse(lon=10&lat=52) used to work (until this week). It requests: https://photon.komoot.io/api?lon=10&lat=52 result: 400 (Bad Request)
But according to photon it now needs to request: https://photon.komoot.io/reverse?lon=10&lat=52
Is this error because photon changed the api?
photon.komoot.de also changed to photon.komoot.io
-- update:
It failed because the redirect. I fixed it locally by changing: src/geocoders/photon.js
serviceUrl: 'https://photon.komoot.io/api/', reverseUrl: 'https://photon.komoot.io/reverse/',
Then it worked like expected.
Thanks, Wire64
The text was updated successfully, but these errors were encountered:
Update photon.js
eb06780
Until October 2020 the API was available under photon.komoot.de. New url is photon.komoot.io. Fixes reverse issue after change see: perliedman#293
e4b3082
Until October 2020 the API was available under photon.komoot.de. New url is photon.komoot.io. Fixes reverse issue after change see: #293
Successfully merging a pull request may close this issue.
Hi,
L.Control.Geocoder.photon().reverse(lon=10&lat=52) used to work (until this week).
It requests: https://photon.komoot.io/api?lon=10&lat=52
result: 400 (Bad Request)
But according to photon it now needs to request:
https://photon.komoot.io/reverse?lon=10&lat=52
Is this error because photon changed the api?
photon.komoot.de also changed to photon.komoot.io
--
update:
It failed because the redirect. I fixed it locally by changing:
src/geocoders/photon.js
6,7c6,7
< serviceUrl: 'https://photon.komoot.de/api/',
< reverseUrl: 'https://photon.komoot.de/reverse/',
Then it worked like expected.
Thanks,
Wire64
The text was updated successfully, but these errors were encountered: