I'm trying to use the function:
navigator.geolocation.getCurrentPosition(success, error, options)
and it's working fine on Firefox, but on Chrome this returns error.
I saw a lot of related questions with the same issue. My question is, there's another function/ solution that works both in Firefox and Chrome ?