ToponymSearchCriteria searchCriteria = new ToponymSearchCriteria();
  searchCriteria.setQ("zurich");
  ToponymSearchResult searchResult = WebService.search(searchCriteria);
  for (Toponym toponym : searchResult.getToponyms()) {
     System.out.println(toponym.getName()+" "+ toponym.getCountryName());
  }



On Mon, Apr 5, 2010 at 7:20 PM, narayana naidu <[email protected]> wrote:

>  yeah there is a JAVA API
> GeoNames
> class
> it has all kinds of methods
>
>
> On Mon, Apr 5, 2010 at 4:35 PM, flex <[email protected]> wrote:
>
>> hi all
>> can we get place name according to given latitude and longitude ?
>> i saw way to fetch lat and lng according to city or place name, but if
>> i have lat and lng and want to know that place.
>> please tell me the solution.
>> thanks you.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>
>
> --
> Narayana
>



-- 
Narayana

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" 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/flex_india?hl=en.

Reply via email to