Prompting user to turn on Device GPS

Resolved

Hello,
I am developing a Map based application, I need the user to turn on device's GPS before accessing a page which contains Google Maps. Even if the app has location access, the current location global variable returns 0,0. How can I prompt the user to turn on GPS as there is in many apps?

Thank you

1
22 replies