Re: grab only city and country with geocoder?
Hi Andrew,
Thank you for your swift reply. However, I'd like to use the internal
geocoder :-)
Thanks,
Dennis
On Jun 6, 11:27 pm, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On Jun 6, 3:04 pm, FLX <flx...@gmail.com> wrote:
>
> > I'd like to have two separate variables for city and country instead
> > of formatted_address, but my JSON skills suck.
> > I've been trying all sorts of things to only get that city + country
> > instead of postal code + city + country
>
> > I can do a regular expression to grab the info I need but that would
> > be a very dirty solution, there must be a better way. Can anyone
> > please lend me a hand?
>
> Use the web service which returns a flat XML structure:http://code.google.com/apis/maps/documentation/geocoding/#XML
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home