We have developed one mobile application in which we implemented the functionality for tracking my current location by using google map api version 3. The issue we facing is , it doesn't work when uploaded to server. and the same functionality is working locally at my end.
We are not sure about the cause why it is failing to track the location on server.
Please find an attachment for code we using and guide us?