3

I'm using Google map API 3.0 in my site,i build my site with PhoneGap ,twice user permission alert appeared. How to prevent these alerts ?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Ismail Ali
  • 111
  • 8
  • where you called the google map script. Share your code for better understanding – Akilan Dec 27 '12 at 17:56
  • 1
    It could be you are trying to get the user's location before `deviceready` has fired causing the app to use the built in browser user location functionality instead of PhoneGap's. It might be that at some other stage you are also firing the user location functionality of PhoneGap (they have the same method signatures, PhoneGaps just kind of overrides the browser one, AFAIK). But without some code it's very hard to tell. – Devgeeks Dec 29 '12 at 20:45

0 Answers0