Hey guys, i'd be immensely grateful if anybody can offer a solution
here as I've been pulling my hair out for two days over this.

I'm building an app whereby Facebook users can submit their current
location (only to a town/city, not exact location) and then eventually
search for others within a certain radius of themselves. I have a
basic page where a Google Map is loaded, I have a search function
which works fine. I want the data to be stored in XML files. The
problem is that I want uniformity; I don't want one person typing in
London and another to type in London, UK and another to type in
lOndon. The obvious way around this is to store the user's Latitude
and Longitude values. I want the user to search for the city with
whatever search criteria they wish, but then when they actually find
it, only the certain Lat/Lng values that the center of the map lands
on will be recorded.

I discovered LatLng function, but it seems to only work when you use a
CLICK. I cannot ask a user to find their city, then to click the map
just to record their Lat/Lng values. I want the values to be returned
when they press enter to perform the actual search.

Is this possible at all? It's driving me crazy.

1,000 internets to anybody that can help me.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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