On Dec 19, 6:55 am, amol kale <[email protected]> wrote: > > Please, Try to understand my problem i want to get direction and distance > from source location to destination location so i am using > "http://maps.google.com/maps?daddr=%@&saddr=%@&output=csv&oe=utf8&key=..." > This url and i am getting view source of all the page in one NSString > variable now i am trying to read this all html page and by particular tag i > am fetching the distance form this page.
You're scraping Google Maps to find the driving distance. That's hardly to be recommended, and I think you break most of Term 2: http://www.google.com/intl/en_gb/help/terms_maps.html. I don't know if the Italian Terms say the same thing. Directions and driving distance is only available using GDirections in the API. > its working properly on simulator why its not in iPhone what will be the > problem. Can any one told me solution briefly please. The solution will be to use the Javascript API in a browser object in your app (in some way: there aren't all that many iPhone developers here and I'm not one of them) Andrew -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
