PATH:
home
/
lab2454c
/
baas.elementalrock.com
/
wp-content
/
plugins
/
ocean-elementor-widgets
/
assets
/
js
!function(e){function o(u,e){var o=u.find(".oew-google-map").eq(0),n=function(e){var o={},n=e.data("model-cid");if(a&&n){var t=elementorFrontend.config.elements.data[n],i=elementorFrontend.config.elements.keys[t.attributes.widgetType||t.attributes.elType];jQuery.each(t.getActiveControls(),function(e){-1!==i.indexOf(e)&&(o[e]=t.attributes[e])})}else o=e.data("settings")||{};return o}(u),v=o.data("locations"),y=""!=o.data("zoom")?o.data("zoom"):4,_=""!=n.map_type?n.map_type:"roadmap",h="yes"==n.map_option_streeview,z="yes"==n.map_type_control,k="yes"==n.zoom_control,C="yes"==n.fullscreen_control,I="yes"==n.map_scroll_zoom?"auto":"none",L=""!=o.data("custom-style")?o.data("custom-style"):"",t=""!=n.marker_animation?n.marker_animation:"",x=""!=o.data("iw-max-width")?o.data("iw-max-width"):"",W="",b="",A="";if("drop"==t)b=google.maps.Animation.DROP;else if("bounce"==t)b=google.maps.Animation.BOUNCE;!function(){var e=new google.maps.LatLng(v[0][0],v[0][1]);W={zoom:y,center:e,mapTypeId:_,mapTypeControl:z,streetViewControl:h,zoomControl:k,fullscreenControl:C,gestureHandling:I,styles:L};var t=new google.maps.Map(u.find(".oew-google-map")[0],W),i=new google.maps.InfoWindow;for(A=0;A<v.length;A++){var o="",n=v[A][0],a=v[A][1],s=v[A][2],l=v[A][3],r=v[A][4],d=v[A][5],m=v[A][6],g=v[A][7],c=v[A][8];if(console.log(m),""!=n.length&&""!=a.length){"custom"==d&&(g=parseInt(g),o={url:m},isNaN(g)||(o.scaledSize=new google.maps.Size(g,g),o.origin=new google.maps.Point(0,0),o.anchor=new google.maps.Point(0,0)));var p=new google.maps.Marker({position:new google.maps.LatLng(n,a),map:t,title:l,icon:o,animation:b});if("yes"==s&&"iw_open"==c){var w='<div class="oew-infowindow-content">';if(w+='<div class="oew-infowindow-title">'+l+"</div>",""!=r.length&&(w+='<div class="oew-infowindow-description">'+r+"</div>"),w+="</div>",""!=x){var f=parseInt(x);i=new google.maps.InfoWindow({content:w,maxWidth:f})}else i=new google.maps.InfoWindow({content:w});i.open(t,p)}google.maps.event.addListener(t,"click",function(e){return function(){e.close()}}(i)),"yes"==s&&""!=l&&google.maps.event.addListener(p,"click",function(n){return function(){var e='<div class="oew-infowindow-content">';if(e+='<div class="oew-infowindow-title">'+l+"</div>",""!=r.length&&(e+='<div class="oew-infowindow-description">'+r+"</div>"),e+="</div>",i.setContent(e),""!=x){var o={maxWidth:parseInt(x)};i.setOptions({options:o})}i.open(t,n)}}(p))}}}()}var a=!1;e(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&(a=!0),elementorFrontend.hooks.addAction("frontend/element_ready/oew-google-map.default",o)})}(jQuery);
[-] scroll-up.js
[edit]
[-] appear.js
[edit]
[-] off-canvas.js
[edit]
[-] member.min.js
[edit]
[-] alert.min.js
[edit]
[-] typed.min.js
[edit]
[-] navbar.js
[edit]
[-] hotspots.js
[edit]
[-] asPieProgress.min.js
[edit]
[-] blog-grid.js
[edit]
[-] hotspots.min.js
[edit]
[+]
..
[-] modal.js
[edit]
[-] blog-grid.min.js
[edit]
[-] instagram.js
[edit]
[-] twentytwenty.js
[edit]
[-] countdown.min.js
[edit]
[-] woo-slider.min.js
[edit]
[-] modal.min.js
[edit]
[-] google-map.min.js
[edit]
[-] image-comparison.js
[edit]
[-] blog-carousel.js
[edit]
[-] search.min.js
[edit]
[-] image-comparison.min.js
[edit]
[-] skillbar.js
[edit]
[-] event.move.js
[edit]
[-] instagram.min.js
[edit]
[-] skillbar.min.js
[edit]
[-] toggle.js
[edit]
[-] tabs.js
[edit]
[-] circle-progress.min.js
[edit]
[-] accordion.js
[edit]
[-] accordion.min.js
[edit]
[-] morphext.min.js
[edit]
[-] alert.js
[edit]
[-] navbar.min.js
[edit]
[-] morphext.js
[edit]
[-] search.js
[edit]
[-] countdown.js
[edit]
[-] image-gallery.js
[edit]
[-] off-canvas.min.js
[edit]
[-] appear.min.js
[edit]
[-] isotope.min.js
[edit]
[-] tooltip.min.js
[edit]
[-] newsletter.min.js
[edit]
[-] query-post.js
[edit]
[-] event.move.min.js
[edit]
[-] query-post.min.js
[edit]
[-] member.js
[edit]
[-] search-icon.js
[edit]
[-] slick.js
[edit]
[-] woo-slider.js
[edit]
[-] isotope.js
[edit]
[-] blog-carousel.min.js
[edit]
[-] tabs.min.js
[edit]
[-] asPieProgress.js
[edit]
[-] circle-progress.js
[edit]
[-] image-gallery.min.js
[edit]
[-] twentytwenty.min.js
[edit]
[-] search-icon.min.js
[edit]
[-] toggle.min.js
[edit]
[-] google-map.js
[edit]
[-] scroll-up.min.js
[edit]
[-] typed.js
[edit]
[-] newsletter.js
[edit]
[-] tooltip.js
[edit]