Geolocation error: User denied geolocation prompt
rmoggia opened this issue · comments
Hello.
I followed your installation instructions with the Berlin map. It seems that everything went well except for some warnings.
I tried this:
curl "http://127.0.0.1:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true"
And I get a json that I think is valid
{"code":"Ok","routes":[.....
I installed the front end but when I enter the coordinates I get the error mentioned in the title.
What did I do wrong? Thanks
Just moved this to the osrm-frontend
repo as it is not backend-related.
How exactly do you "get" the error? Is there any pointer on potential errors when you use your browser dev tools?
Looks like you have a CORS problem that prevents reaching to locahost:5000.
Hello. Thanks to your help I got over the CORS problem, but still get the same error. If I understand correctly it is an https problem. How can I fix? Thanks
A Geolocation type request can only be made in a secure context.
@rmoggia set Chrome to allow unsafe CORS for the service, using these steps