Hmm.. when I tried to run I got error something like this *Warning*: file_get_contents(http://maps.google.com/maps/geo?q=<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <person> <location> <name>Columbia,+Missouri&output=xml&key=ABQIAAAAL9E_Jepzq_1Uig0zdAuDnBQIPHeGMNc8f7iS-VvunL07sOhWqRQpQ9u7A9uOcmb_VWIw6gnFcef0HQ) [function.file-get-contents<http://localhost/OAuth_Moc/function.file-get-contents>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
Thanks Akshay On Thu, Feb 10, 2011 at 6:09 AM, Andrew Leach <[email protected]>wrote: > On 10 February 2011 11:55, Akshay Dave <[email protected]> wrote: > > > > Hope that clarifies my query > > Not really. What do you mean by "it doesn't work"? What *do* you get? > > I get this (copied from IE display, so it's invalid XML, but you can > see the data)... > > <?xml version="1.0" encoding="UTF-8" ?> > - <kml xmlns="http://earth.google.com/kml/2.0"> > - <Response> > <name>Columbia, Missouri</name> > - <Status> > <code>200</code> > <request>geocode</request> > </Status> > - <Placemark id="p1"> > <address>Columbia, MO, USA</address> > - <AddressDetails Accuracy="4" > xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"> > - <Country> > <CountryNameCode>US</CountryNameCode> > <CountryName>USA</CountryName> > - <AdministrativeArea> > <AdministrativeAreaName>MO</AdministrativeAreaName> > - <SubAdministrativeArea> > <SubAdministrativeAreaName>Boone</SubAdministrativeAreaName> > - <Locality> > <LocalityName>Columbia</LocalityName> > </Locality> > </SubAdministrativeArea> > </AdministrativeArea> > </Country> > </AddressDetails> > - <ExtendedData> > <LatLonBox north="39.0210897" south="38.8822529" east="-92.2060130" > west="-92.4621318" /> > </ExtendedData> > - <Point> > <coordinates>-92.3340724,38.9517053,0</coordinates> > </Point> > </Placemark> > </Response> > </kml> > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" 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. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
