Sorry, I'm using PHP. My code is modeled on the example at http://code.google.com/apis/maps/articles/phpsqlgeocode.html under "Sample PHP Code". It does not seem to treat Placemark as an array.
On Dec 8, 4:30 am, Mike Williams <[email protected]> wrote: > Wasn't it webmaster who wrote: > > >Sorry if this is dumb, but I don't understand the code below. I'm > >accessing the geocode as XML through the HTML service and use elements > >in the form, for example: > > $sXML->Response->Placemark->Point->coordinates > > >Placemark does not seem to be an array here, or is this equivalent > >to ...? > > $sXML->Response->Placemark[0]->Point->coordinates > > >Thanks for your help. > > I can't tell what language you're using there. ... > The server language that you're using presumably provides the ability to > access the second and third <Placemark> entries, but I've no idea what > the syntax might be. > > http://maps.google.com/maps/geo?q=Bispham+Road+Bispham+UK+CA&output=xml > > -- > Mike Williamshttp://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.
