I'm developing a website which will use the geolocation. The fact is I would like to set a timeout if the geolocation system doesn't answer... I'm using javascript to get the position.
And after check if there is or not a geolocation system,
I used this javascript function :
geoloc.getCurrentPosition(successCallback, errorCallbak, {timeout: 5000});
I set the timeout to 5sec. But It doesn't work at all ... I never get a timeout error..
Does anyone have an idea about that?
Thanks