On May 10, 1:12 pm, e <[email protected]> wrote:
>
> certain UK locations such as "birmingham" return no results - I do
> have birmingham locations in my dataset. What am I missing - anyone
> any idea?

I suspect you're missing ", UK" from your entered address, and the
code is looking for locations in Birmingham, Alabama.

It's perfectly safe simply to add that to the entered string
  var address = document.getElementById('addressInput').value + ",
UK";
as the geocoder no longer objects to getting the country twice (if the
user enters UK as well as you adding it).

If you have locations outside the UK, or you are getting directions
from the entered address, you may want to check the number of
locations returned with that added, and if there are none then take
the UK off and try again.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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