Take the 2-minute tour ×

I'm guessing not, but I'm creating an app that gets the users coordinates using CLLocationManager, then passes the coordinates into Google maps to display directions. When the webpage opens to display, it requests the users location, and if the user says yes, it somehow affects some variables in my code. I was curious if the prompt from Google maps can be disabled, or if the coordinates that Google maps does take in can be retrieved by my app somewhere. I'm pretty sure neither are possible, just tossing it out there.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

short answer. NO.

The location fetching in google maps app is done through JavaScript api more details here

if you can disable the javascript the map routing itself might not work so NO.

the part about retrieving variables, I think you can check the webview shouldStartLoadWithRequest and check the url, maybe that has some information you can fetch out.

share|improve this answer
add comment

Your Answer


