• Resolved arconsulting

    (@arconsulting)


    Map box appears, but doesn’t work inside jQuery Accordion. When I embed a google map manually (as an iframe) inside WordPress editor, works perfectly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there

    Thank you for getting in touch with us.

    You’ll need to re-initialize the map when opening the accordion in order for it to show up correctly.

    Please confirm if you’re using the Basic or Pro version of our plugin so that I can send you the relevant code to achieve this?

    Thread Starter arconsulting

    (@arconsulting)

    Basic. How does one do that? I attempted to research it and wasn’t able to find any information on it.

    Thread Starter arconsulting

    (@arconsulting)

    Actually just found this and it worked in an onclick event. Good that this is now under Accordion so others can find it.

    InitMap(1,’all’);

    Thanks for your quick reply,

    Andrea

    Hi Andrea

    So glad to hear you came right with this. Just shout if there’s anything else we can assist you with 🙂

    @arconsulting, @jarryd-long

    Hello Andrea and Jarryd,

    My name is Marc.
    I have the same problem.
    I cannot show a map in a accordion.

    I don’t understand how you resolved the problem.
    Can I receive more explanation ?

    Thank you very much

    Marc

    Thread Starter arconsulting

    (@arconsulting)

    Hi Marc,

    This is what I used in my footer file. An onClick event which initializes the map:

    <script>
    jQuery( document ).ready(function() {
    jQuery(‘.toggle.toggle1′).click (function() {
    InitMap(1,’all’);
    });
    });
    </script>

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘map doesn’t work inside accordion’ is closed to new replies.