Thursday, June 28, 2012

Re: get the country and city from latitude and longitude

There are two options

1. You can use google geocoding service either JSON or XML, pass latitude and longitude as input and parse the response. For example following URL will give you the json result of Google's HQ in Mountain View CA.

2. Use below method from GWT-MAPS (which is deprecated, and I am not sure whether that will work with your gwt version)

Thanks,
Bakul.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Ton95Da-iMcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment