Wasn't it [email protected] who wrote: > >Now when i will get the user current location as address i am trying >to fetch the distance between the current user location to destination >location for that i am using >http://maps.google.com/maps?daddr=%@&saddr=%@&output=csv&oe=utf8&key=%@& >sensor=false&gl=it >This url and i will get the all source view of the web page form that >i am just fetching the distance correctly. Here is also i dont know >will it acceptable or not in iPhone.
Scraping the Google page is not acceptable. >Now what happening i am doing this task for 400 records and >application is not able to load now. I have given my url and google >give me mapkey that map key i am using in my project. I know i am >doing wrong but what exactly that is i am not getting please guide me >Mike. Application is too late now and client and my boss is not able >to understand me. Scraping the Google page 400 times would take several minutes. Doing it legally, through a phone-side browser using the API, and displaying them on a Google map would also take several minutes and eat into your GDirections quota pretty rapidly. Your map would also look a mess with 400 routes plotted on it, and cause you app to run quite slowly. Using GDirections to just obtain distances without using the route on a Google map is against the Terms. The thing that you can do is write your own server to calculate 400 straight line distances directly from the lat/lng coordinates. Other than that, you should consider obtaining the road distances from a provider other than Google, but that probably won't be cheap. -- Mike Williams http://econym.org.uk/gmap -- 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.
