Location Suggestion tool

Discussion in 'Google API' started by zkvision, Sep 10, 2009.

  1. #1
    Hi,

    I am looking for a way to find solution for this problem, I know its possible because I have seen live examples,

    when someone types 'town name' in pickup or return input field form; and the tool list suggestions; like if you type town name 'luton' in to the website; it will give you a list with possible options;

    http://www.nationalexpress.com/home.aspx
    Code (markup):
    how this could be achieved?

    Thanks in advance
     
    zkvision, Sep 10, 2009 IP
  2. donphant

    donphant Guest

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    One way i know to do this is to use AJAX where the names are saved in a database or a XML page and when text is inputted into a search box possible options are found and displayed.
    AJAX from database and
    AJAX from XML
     
    donphant, Sep 11, 2009 IP
  3. Deus Ex

    Deus Ex Peon

    Messages:
    531
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I love the two links on the bottom of this -- here are addon ideas, maybe others can bring more light to this and the Google api code groups are excellent for coding your apps, they'll give you the code and sometimes for a price

    The miniajax.com site has a script for inputting data like on facebook's friend messages -- that could be an excellent user interface. As for the inputting of data and making an xml page of data, that would be a significant undertaking -- what about using google local's data through the google local api section? That would give suggestions based upon the person typing their city of interest in.
     
    Deus Ex, Sep 11, 2009 IP
  4. Meuledor

    Meuledor Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'm very interested in this too!

    In fact I'm trying to populate the input fields "From" and "To" like zkvision asked. And when it's completed get the distance and travel time between these two points.

    Any suggestions or directions will be welcome,

    Thanks.
     
    Meuledor, Oct 7, 2009 IP