I am using the geocoding API Say a users enters a search for: McDonalds near Houston (For example) it gives me Houston, TX, USA
Which is great. However, I'm wondering how on a generic basis I can separate search text such as McDonalds from the part that just got geocoded. I don't think I can always assume the middle word is "near" or "in." Because what if the actual location has those words in it? Also, users may just enter a location without any extra search text. It would be great if the API returned either the part of the text that was actually geocoded, or the remaining text that was not geocoded. That would solve this problem (if the google maps api developers are reading this :-). Otherwise, how do I solve this problem in a generic way? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
