How do I get the Driving Distance widget to work?

  • TonysCakes
    Asked on February 18, 2021 at 10:47 PM

    How do i get the driving distance to work?


    1613697403 602f117b50068 Screenshot 2021 Screenshot 10

  • Mike_G JotForm Support
    Replied on February 18, 2021 at 10:59 PM

    I see that you have set up a Driving Distance widget in your form with your Google Maps API key. However, the error you are getting is possibly due to the Maps JavaScript API not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Console.

    Related Article: https://developers.google.com/maps/gmp-get-started#enable-api-sdk

    Here are the enabled APIs on my API project.

    1613706963 602f36d306f72  Screenshot 10

    And the Driving Distance widget appears to be working on a cloned version of your form where I have used my Google Maps API key.

    zt210218 225820 Screenshot 21

    https://form.jotform.com/210488817477973

    Please give it a try and let us know if you need any further assistance.