navigator.geolocation.getCurrentPosition

55 views
Skip to first unread message

Santosh

unread,
Nov 23, 2011, 3:50:29 AM11/23/11
to phonegap
Hi.

I am stuck with getting current position using
navigator.geolocation.getCurrentPosition, it is working for only once
when my app starts, after that it gives error of Timeout, only way to
load current position again is to kill the app and start over again.

sromalewski

unread,
Nov 23, 2011, 11:37:56 PM11/23/11
to phonegap
Many others are experiencing the same problem. No one has really
addressed it adequately. There are attempts at a resolution discussed
here https://github.com/callback/callback-ios/issues/1 and here
https://github.com/phonegap/phonegap-iphone/issues/197 .

ziobudda gmail

unread,
Nov 24, 2011, 3:10:23 AM11/24/11
to phon...@googlegroups.com, Santosh
Il 23/11/11 09.50, Santosh ha scritto:
Hi, why do not use navigator.geolocation.watchPosition ?

M.

--
Michel 'ZioBudda' Morelli mic...@ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
0200619074 - 3939890025 (mobile)-- Fax: +39-0291390660
http://www.ziobuddalabs.it Skype: zio_budda


Reply all
Reply to author
Forward
0 new messages