jbdemonte / gmap3

jQuery plugin to create Google maps
http://gmap3.net
668 stars 198 forks source link

Google map issue with toggle #77

Closed krishna19 closed 9 years ago

krishna19 commented 9 years ago

I tried to use the google maps in a toggle. Unfortunately it's not working properly. I don't see the map, only a gray background and the google maps frame. Do you have any idea how I can fix this problem? But when i resize the window it works fine. How to solve this issue. And my toggle code

jQuery(function($) {
    $(document).ready(function() {
        $("h3.symple-toggle-trigger").click(function() {
            $(this).toggleClass("active").next().slideToggle("fast");
            return false;
        });
    });
});

Thanks

jbdemonte commented 9 years ago

you need to call it: .gmap3(