On Fri, Dec 18, 2009 at 6:11 AM, Andrew Leach <[email protected] > wrote:
> On Dec 18, 7:20 am, "[email protected]" <[email protected]> wrote: > > Actually i had > > given domain name as google.com while getting a mapkey > > Why? Is that the domain you're using to host your app? > > > and whatever > > key he has provide to me i used that key in my application. > > OK... but it won't match any domain you're using. If you test your > application locally, it's likely to work because keys aren't validated > locally. > > > But when i > > am testing the application on my iPhone its not working. > > That's quite likely. It's not your domain. > > > I am using map key while sending source address and destination > > address to google on its url as query string parameter. > > Using the HTTP geocoder? And a key which isn't appropriate? > > > i have domain registered if i will give the name of my domain and get > > key will the application run or what will the problem. > > Getting a key for your own domain is a good start. But with no other > information it's not possible to say whether it will work or not. > > However, as Marcelo has said, if you use Version 3 of the API you > don't need a key at all. > > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > > Thanks To all of you Its my domain but till i am not able to anything on my iPhone. But on simulator application is running properly. 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=%@&sensor=false&gl=it" 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. now with this url i am sending one map key which i have get by http://somthing.com ok now google generate on key that key i am using in my application i didnt made anything on my site but just i have register domain. Now whatever map key google given me i am using that only in application its working in simulator i have my 400 records in my xml for 400 records its taking so much time on simulator. If its working properly on simulator why its not in iPhone what will be the problem. Can any one told me solution briefly please. -- 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.
