I want to access some data from Google maps. the only way possible is using JS for that. I'm not trying to access it through a webview.
usercase:
- I have point 1 (lat,lng) and point 2 (lat,lng). I want to use Google maps api to determine what the driving distance is between those 2.
So in other words I want to use the Google maps api at server-side.
Now when I try to load the data for that html page (that uses document.write() for parsing the distance) I get the Javascript instead of the Javascript being processed.
Can I in any way let the Javascript process through Objective-C ? PHP?
My ultimate goal is to send a request with post vars with the different points and get my data back in JSON for every distance between 2 points