I've managed to get the map working.

  • Profile Image
    kishar
    Asked on February 05, 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



    This is a re-post of a comment on How to get Google Maps API Key for Jotform mapping widgets?

  • Profile Image
    Katherine_W
    Answered on February 05, 2021 at 01: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_

    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.

  • Profile Image
    kishar
    Answered on February 06, 2021 at 04: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

  • Profile Image
    Katherine_W
    Answered on February 06, 2021 at 05: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_

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

    1612651806_601f1d1ee7a98_

    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!

  • Profile Image
    kishar
    Answered on February 07, 2021 at 09: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

    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


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

    Thank you.!

  • Profile Image
    Richie_P
    Answered on February 07, 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.

  • Profile Image
    kishar
    Answered on February 07, 2021 at 09:55 PM

    Hi ,

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

    Thank you!