Skip to content
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

Query/cache locations serverside instead of having clients query them via komoot.io to draw them on map #100

Open
mcbloch opened this issue Apr 4, 2019 · 3 comments
Assignees

Comments

@mcbloch
Copy link
Member

mcbloch commented Apr 4, 2019

one of the wrong adresses probably gives an exception that prohibits the others from being looked up. Make this not error prone.

-> app/templates/maps.html

@mcbloch mcbloch self-assigned this Apr 4, 2019
@mcbloch
Copy link
Member Author

mcbloch commented Apr 4, 2019

Its not an exception, the adresses in the database are just really bad.

@mcbloch
Copy link
Member Author

mcbloch commented Apr 6, 2019

Error when the browser tries to load some of the locations:
Failed to load https://photon.komoot.de/api/?limit=1&q=Overpoortstraat%2046%209000%20Gent: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://haldis.zeus.gent' is therefore not allowed access. The response had HTTP status code 503.

@mcbloch mcbloch mentioned this issue Apr 6, 2019
@mcbloch
Copy link
Member Author

mcbloch commented Apr 6, 2019

Anybody an idea on how to fix this clientside?

If not we can query (and optionally cache) the locations serverside.

@redfast00 redfast00 changed the title not all map markers are drawn Query/cache locations serverside instead of having clients query them via komoot.io to draw them on map Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant