Support

Account

Forum Replies Created

  • Hello !

    Here is a screenshot of the result:

    Problem Google Maps Bootstrap

    And the map appears (but it is not centered) if I modify the window of my browser.
    When I look at the ACF documentation, he tells me to insert this code. But I do not know where …

    Solving the hidden map issue

    The Google map API will not work as expected if initialized on a hidden element. When the element is show, the map will not display. This scenario is most likely when using a popup modal.

    To solve this problem, simply trigger the ‘resize’ event on the map variable after the map element is visible.

    // popup is shown and map is not visible
    google.maps.event.trigger(map, 'resize');

    Thank you very much for your help !

  • Hello,

    Thanks for taking time to respond to me.

    I have just tried your solution and I still have a problem.

    ——

    In ACF: I put a value per line.

    Example:

    – Red
    – Blue

    ——

    Once I check in the back office, on my website, the result displayed is “Array” while I would like it to take my checked value.

    Thank you for your help !

Viewing 2 posts - 1 through 2 (of 2 total)