View Full Version : google api query help

03-07-2009, 07:16 PM
Help me please, I am having a website built, and it features a UK postcode search function.

The query is initiated with the user inputting their full uk postcode and a radius and that query is going through the google api and gathering the source long/lat values for the postcode then it grabs the results from the long/lat colums in the db for that radius.

problem is, that when I do the search test using my own postcode, it is not returning the long/lat values. It returns for some postcodes but not all.

Strange thing is though, if I go to google maps and put in the postcodes that are not working as source and destination, for some reason they always work 100% of the time, and even displays the correct distances. so how is it working on google maps and not my interface.


here is a link to the coding used for my site. Is there something wrong??

03-08-2009, 07:58 AM

Can you post a link to your site?

Like the groups will tell you, it is much harder to not see what is going on already.