maplace.js icon indicating copy to clipboard operation
maplace.js copied to clipboard

Event domready Infowindow

Open elvishp2006 opened this issue 7 years ago • 2 comments

How to attach the event domready for the infowindow?

This is the google maps way:

google.maps.event.addListener(infowindow, 'domready', function() {
    //Code
});

elvishp2006 avatar Jun 01 '17 18:06 elvishp2006

If you are using Maplace inside standard jQuery function it assumes the DOM is already available:

$(function() {
    // Maplace here
});

danielemoraschi avatar Jun 11 '17 20:06 danielemoraschi

I think things are different, the InfoWindow DOM will not be ready together with the DOM of the page

elvishp2006 avatar Jul 04 '17 16:07 elvishp2006