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

    • Jamie

    • December 12, 2013 at 1:19 am

    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

    • Elliot

    • December 12, 2013 at 12:41 pm

    Hi @jamie

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

    Thanks
    E

    • Jamie

    • December 12, 2013 at 9:32 pm

    Your welcome! Thank you for the plugin 🙂

    • Elliot

    • January 4, 2014 at 5:26 pm

    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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.