I've managed to get the map working.

  • kishar
    Asked on February 5, 2021 at 11:41 AM

    I've managed to get the map working. But the address / province / country doesn't update with the marker. Here's the screenshot : https://drive.google.com/file/d/1g_OPxB4GZxpeALfM42epIY0lWafD1tlu/view?usp=sharing

    The example is from here : https://form.jotformpro.com/form/52072759691969

  • Kat JotForm Support
    Replied on February 5, 2021 at 1:43 PM

    Hi there,

    Happy to help!

    When I tested your form https://form.jotformpro.com/form/52072759691969 and allowed my location, I was unable to replicate the issue (please note I have blocked out information for privacy reasons):

    1612550207 601d903f2832b  Screenshot 10

    This tells me that it may be a browser issue: if you look into your browser privacy settings, is the locator on? I did have to Allow the form to know my location, and I think that this might be the issue.

    We await your response.

  • kishar
    Replied on February 6, 2021 at 4:33 PM

    Hello, Katherine

    I've cloned my form the link is here: https://www.jotform.com/build/210366760567460 . The above link was as example from the widget demo.

    Thank you

  • Kat JotForm Support
    Replied on February 6, 2021 at 5:51 PM

    Hi there,

    Thank you for confirming!

    When accessing your form, I was able to replicate your issue.

    I did make a clone of your form 210366760567460 to investigate further.

    When inspecting the Browser Console Logs, I noticed the following:

    1612651783 601f1d07b4164  Screenshot 10

    Upon investigating the error, this is what I got from Google:

    1612651806 601f1d1ee7a98  Screenshot 21

    And was directed to this link: https://developers.google.com/maps/gmp-get-started#enable-api-sdk

    Could you please check to ensure that the Maps JavaScript API is activated as per the link instructions?

    Thank you!

  • kishar
    Replied on February 7, 2021 at 9:47 AM

    Thank you for providing the instructions above but unfortunately, it still doesn't work.

    As the screenshot below the Maps JavaScript API is enabled and there is some requests through the API were made.

    1612708569 601ffad991ead 2021 02 07 21 3 Screenshot 10

    I went through the billing process to make sure it is enabled for the API key and recheck the restrictions.

    1612709110 601ffcf64670e 2021 02 07 21 3 Screenshot 21


    If I would miss something please tell and I will get a screenshot to help on the case.

    Thank you.!

  • Richie JotForm Support
    Replied on February 7, 2021 at 11:31 AM

    Kindly enable your Geocoding in your Google Maps API.

    Here is a guide:https://developers.google.com/maps/documentation/javascript/geocoding

    Let us know if the issue still remains.

  • kishar
    Replied on February 7, 2021 at 9:55 PM

    Hi ,

    After enabling Geocoding API, The widget is working as intended.

    Thank you!