-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
Url for search is invalid due to api change #41
Url for search is invalid due to api change #41
Comments
Ah, I've seen that and wondered what was going on! |
Thank you for reporting the issue. I will look into it tomorrow. |
There is an easy temp fix for everybody that does not use a build process in their deploy line. On your server go to the vendor/mostafaznv/nova-map-field/dist/js/field.js and search for "https://nominatim.openstreetmap.org/search/". Remove the trailing slash and your done until the next time you update this composer package. Only requires a refresh of your page, no build. |
…ailing slash from endpoint address #41
Apologies for the late response. It has been a busy and long day. I have investigated the issue and found that it is a bug in the upstream package (ol-geocoder). I have submitted a PR to address the problem, and I hope they will merge it soon. In the meantime, I have published a temporary solution, and you can use it with the upcoming release. |
Thank you so much. You helped me too) |
I fixed this issue by 1- this comment #41 (comment) Thanks @Thorazine |
fixed. |
Apparently there has been a change in the API for open street map. The result is shown when directly accessing a search url like so: https://nominatim.openstreetmap.org/search/?q=something
With their new change you are required to drop the slash like so: https://nominatim.openstreetmap.org/search?q=something
The result now is that a search will trigger a 404 with an error like: "Error! No internet connection?"
The text was updated successfully, but these errors were encountered: