[Plugin: Events Manager] Location map hide Info Window on load
-
I am using events manager to add events and associated locations. In the location map, currently it shows the info window on load. I want to hide the info window on load. So I am using the hook ’em_maps_location_hook’ mentioned in the events-manager.js But for some reason the info window doesn’t close. Can someone please help me with this?
jQuery(document).bind(’em_maps_location_hook’, function( e, map, infowindow, marker ){
infowindow.close();
map.panBy(0,0);google.maps.event.addListener(marker, ‘click’, function() {
infowindow.open(map,marker);
});
});Thank you,
Srilatha
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Events Manager] Location map hide Info Window on load’ is closed to new replies.