Google API : GEO AUTO COMPLETE AND LOCATION

Discussion in 'Google API' started by Sachy123, May 14, 2013.

  1. #1
    Recently I have seen this video : http://www.youtube.com/watch?v=Vvaf6LCGlUg
    I have a question on how to integrate the location data onto my php code. I am trying to make a website which will allow users to search a particular listing via a map.
    its just like a real estate searching website...
    do you know if I have to store data for country, city and nieghbourhood in my database?
    or will it come real time?
    E.G "a user wants search all the properties in mumbai."
    > my database contains data about the location and adress of the property in mumbai.
    E.g there are 4 properties in mumbai.
    So when the user searches for properties in mumbai, he will type mumbai in the search bar and google api will point to mumbai , and the map should also show all the properties in mumbai with pointers
    So for this scenario, how many tables do I have to create and which columns.. do I have to have all the location data?
    And I would like to know if someone has a code snippet or database
    Your help will be much appreciated.
    Kind Regards
    S
     
    Sachy123, May 14, 2013 IP