On Nov 9, 6:39 am, Anil Kumar <[email protected]> wrote:
> Can some body help me finding the city by longitude and latitude.
> by using  geocoder.getLocations i am getting full address which
> contains street address, city, state, zip code and country name. But i
> want to extract only city from this. There is no fix logic i can think
> of retrieving only city from this string. plz help me to find out city
> from this string.

http://code.google.com/apis/maps/documentation/services.html#Geocoding_Structured
How about "LocalityName"?

  -- Larry


>
> On Oct 28, 10:34 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Oct 27, 10:06 pm, Tarun Aggarwal <[email protected]> wrote:
>
> > > Hello Andrew
>
> > > I tried to use the method given there but the dint get the results, Can 
> > > you
> > > please give me an example to use the same as i was unable to use the same 
> > > ..
>
> > Try here:http://code.google.com/apis/maps/documentation/examples/index.html
>
> >http://code.google.com/apis/maps/documentation/examples/geocoding-rev...
>
> >   -- Larry
>
> > > As im new to google-maps .
>
> > > Thanks A Lot
>
> > > On Tue, Oct 27, 2009 at 5:43 PM, Andrew Leach 
> > > <[email protected]
>
> > > > wrote:
>
> > > > On Oct 27, 11:40 am, Tarun Aggarwal <[email protected]> wrote:
> > > > > Hi All,
>
> > > > > Is there any function which takes the Latitude and Longitude as Input
> > > > > and gives the Location (City) name, its country and postal code (If
> > > > > Possible).
>
> > > >http://code.google.com/apis/maps/documentation/reference.html#GClient...
>
> > > > Bear in mind that the data must be used in conjunction with a Google
> > > > map.
>
> > > > Andrew- Hide quoted text -
>
> - Show quoted text -

--

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.


Reply via email to