Viewing File: /home/maglabs/bambinos/wp-content/themes/juliette/assets/addon/js/advanced-map.min.js
!function(n){"use strict";n(window).on("elementor/frontend/init",(function(){window.elementorFrontend.hooks.addAction("frontend/element_ready/novaworks-advanced-map.default",(function(e){var t,a,o,i=e.find(".novaworks-map");window.google&&i.length&&(a=i.data("init"),o=i.data("pins"),t=new google.maps.Map(i[0],a),o&&n.each(o,(function(e,a){var o,i,d={position:a.position,map:t};""!==a.image&&(d.icon=a.image),o=new google.maps.Marker(d),""!==a.desc&&(i=new google.maps.InfoWindow({content:a.desc,disableAutoPan:!0})),o.addListener("click",(function(){i.setOptions({disableAutoPan:!1}),i.open(t,o)})),google.maps.event.addListener(i,"domready",(function(){n(".gm-style-iw").prev().addClass("gm-style-iw-prev").parent().parent().parent().parent().addClass("gm-parent-iw")})),"visible"===a.state&&""!==a.desc&&i.open(t,o)})),t.addListener("tilt_changed",(function(){i.find(".gm-style-pbc").length&&i.find(".gm-style-pbc").next().addClass("gm-parent-iw")})))}))}))}(jQuery);
Back to Directory
File Manager