1

I have multiple markers on my map. The infobox opens for each marker on mouseover. When I hover over an infobox covering some markers, the mouseover eventof those underlying markers get called. Have tried setting optimized property of marker to false. But after doing that the infobox opens only for the first time. Never opens up after hovering over marker once.

1 Answer 1

0

You can use I figured it out. I had to add a listener for the infoWindow's domready event and call my jPages from within there. Working perfectly now.

                    // Add event listener for the infoWindow 
                google.maps.event.addListener(cbMapInfoWindow, 'domready', function() {
                    $('#cboxLoadedContent iframe').contents().find('.infoWindowHolder').jPages({
                        containerID : "infoWindowContainer"
                    });
                });

JSFiddle

http://jsfiddle.net/GuB92/3/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.