Google Distance API

  • Profile Image
    Asked on September 19, 2014 at 11:21 AM


    I am creating a form with standard address information. That information has to to be passed to the Google Distance API. The API uses javascript. I wanted to know how do I pass form data into the API?

  • Profile Image
    Answered on September 19, 2014 at 01:52 PM

    You can send form data to a URL by using webhook technique. 

    Please go through the guides below that can help you in working with webhooks

    Also, we do have some map related widgets that you may be interested. Please check them if they works for you

    Hope this information helps. Please get back to us if you need further assistance. We will be happy to help.

  • Profile Image
    Answered on September 19, 2014 at 04:04 PM

    How do I setup the URL? Can I create a page on my website?

  • Profile Image
    Answered on September 19, 2014 at 04:41 PM


    You could also embed your form using the full source code and interact with the field directly within your page:

    Depending on the script, you would then be able to reference the address field in your form directly, rather than having to use web hooks.