Support

Account

Home Forums Bug Reports Google Maps field with conditional logic doesn't display correctly

Google Maps field with conditional logic doesn't display correctly

  • If there is a Google map field set to display via a conditional field then the actual map itself doesn’t display correctly (see below)

    Screenshot

    I think this will also occur with tabs (only if its in the 2nd or further)

    I’ve seen this bug before on something unrelated, but cant remember for the life of me how I fixed it (maybe something to do with a click event or resize it reinitialises the map)
    google.maps.event.trigger(map, 'resize'); // Somewhere along those lines

    Here’s a stack overflow post on the issue with a hidden google map

    If I come up with anything, I will post it here.

    Thanks

  • Hi @Jamie

    Thanks for the bug report. I’ll do some testing and release a fix for this one.

    Thanks
    E

  • Your welcome! Thank you for the plugin 🙂

  • Hi @Jamie

    Happy new year, hope your well.

    Just wanted to let you know I have fixed this issue and pushed the fix to github.

    Thanks
    E

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

The topic ‘Google Maps field with conditional logic doesn't display correctly’ is closed to new replies.