1

I have the Openlayers 3 Geolocation API working on non-mobile browser correctly, but I get 'User Denied Geolocation' error testing on mobile devices.

What could be the reasons of this error?

If it helps, i'm using chrome in my mobile device.

1 Answer 1

2

What happens is exactly what the error message says: 'User denied Geolocation'. You have to change your mobile browser's privacy settings to grant your OpenLayers web page access to the geolocation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.