Hi!
I am trying to use the GeoLocation Service - I have set the request parameters as follows :-
maximumAge: 3000
timeout: 5000
enableHighAccuracy: true
watchPosition: false
Those are default values.
If I invoke the service from Firefox (ver 48.0.2.6079 (Latest I think for windows)) then both onsuccess and onfail events are fired in most cases (!).
Google Maps run from the same browser and also my own app (another part of the app) looks up my Geo location without problems. So this is working fine.
But when I call the Geolocation service from my button (via Javascript) it fails to behave as expectet.
Why? I have also seen this problem happen in other browsers and also in a native app we have built.
How can a service fail and in the same time be successfull?
(onComplete event is not used here. Only onsuccess and onfail)
Maybe I should change the parameters for the service but what is recomended values in this scenario?
Best regards
Ole Henrik Oftedal
Timeflex Systemer AS
Norway
https://www.timeflex.no
http://www.timeflex.com