What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    The Google Maps Location Marker does not show up if the maps are hidden or in a page of the form other than the first one

    Asked by kekepikentron on February 26, 2014 at 08:18 AM

    Hallo!

    i have o problem when i embed some google maps in my form as html code. The map appears but not centered in the location where the address is.The marker appears only when i zoom out. How can i fix this and show the address marker in the center of my map;

    (in form backend everything appears fine, but in frontend the problem appears)

    Here is my form:

    http://form.jotformeu.com/form/40281702986357

     

    Wait for your answer!

     

    Timothy Tsakalos

    Page URL:
    http://form.jotformeu.com/form/40281702986357

    problem google maps backend map location location marker
  • Profile Image
    JotForm Support

    Answered by KadeJM on February 26, 2014 at 10:00 AM

    Please try removing the Old Map Embed Code and grab a new one from Google and Re-Embed the New Code onto your form. I think that what happened here was it may have broke because of the recent update with google's api since they updated several things within their platform including spreadsheets and maps. When I retested it via a brand new map embed code it is working as it should. Please see my test form with the location working and shown below.

    My Test Form:

    http://form.jotform.us/form/40564070663149

     

  • Profile Image

    Answered by kekepikentron on February 27, 2014 at 03:19 AM

    Unfortunately this solution only solves the problem in one map and not in the others. Furthermore, when i see a preview of my form is ok but when i use iframe to embed the form in my site, then the problem appears again.

    Any other solution?

  • Profile Image

    Answered by pinoytech on February 27, 2014 at 03:46 AM

    Hi,

    Can you please share to us URL of your website where your form is embedded for us to investigate the issue and for further assistance?

    Thanks,

  • Profile Image

    Answered by kekepikentron on March 06, 2014 at 06:19 AM

    Hi,

    this is the link

    http://www.vouchernews.gr/index.php/aitisisymmetoxis

    I wait for your answer

    Thaks

  • Profile Image

    Answered by EliezerN on March 06, 2014 at 10:44 AM

    Thanks for providing the the URL of your webpage.

    Does this behavior happens when using a other method to embed your form, other than iframe code?

    Unfortunately, I have not been able to find the main cause of the issue yet. I made some tests with one of my forms and it works correctly.

    We will continue looking into this issue in order to find the cause and the solution, once I have found something helpful I will update you via this thread.

    Thanks for your patience.

  • Profile Image

    Answered by EliezerN on March 07, 2014 at 07:32 PM

    Hi again Timothy,

    Please apologize for the long time this is taking to be resolved. I wanted to inform you that I am still working in a cloned version of your form. Even though I cannot reproduce the issue in a new form, the cloned form continues giving the problem. I have tried removin the current mape codes and readding them, but does not work, I have also tried removing the conditions, changing the theme with no results.

    I would recommend you to try creating a copy of the form, but recreating it not cloning it in the meant time. I will do some other tests with the form but if have no luck, I will forward this issue to our next level support, unless one of my colleagues have an insight on this.

    Thanks for your patience.

  • Profile Image

    Answered by EliezerN on March 10, 2014 at 12:29 AM

    Hello again Timothy,

    Please accept my sincere apologies for not responding earlier. After long time of troubleshooting this issue, I was able to find the cause of this wrong behavior, at last. The maps do not show the marker or are not centered in the specified location only when the maps are hidden by default due to conditions or if they are in a second page so they load hidden and not in the first page of the form.

    Check this cloned version of your form: http://form.jotform.co/form/40677618759875

    As you can see, the markers and the specific location of each map is correctly shown. To accomplish that I disabled the conditions of the form and removed the first Page Break, so all the maps are loaded in the first page of the form.

    In the beguining I thought that the big number of maps could have been affecting the correct functioning of the maps, but then I created a form, embedded the code of one of the maps and hid it with conditions, but even when it was just one map, it did not show the location nor the marker. So, the number of forms has nothing to do in this issue.

    Here it is: http://form.jotformpro.com/form/40677860060960

    So, in conclusion, the maps does not show the exact location and its marker because the maps are hidden and in a second page of the form.

    I tried some alternatives to avoid this issue by using Form collapses and have the conditions enabled, but it did not work.

    So, I have forwarded this issue to our next level support so that they can help us to resolve it or to give us an alternative workaround.

    We will inform you via this thread once our dev team has any available information on this progress.

    Your patience is highly appreciated.

    Thanks