PageSourceSearch

https://taneytowndancecenter.com/wp-content/themes/virtue_premium/assets/js/min/virtue-gmap-min.js?ver=4.10.15

js taneytowndancecenter.com collected 2026-09-30 19:40:26 UTC 3,116 bytes, 1 lines download raw bytes

1function initVirtueMap(){var t=[],e=new google.maps.Geocoder,a=document.querySelectorAll(".kt-gmap-js-init");for(let y=0;y<a.length;y++){var i=window.innerWidth>480,o=a[y].getAttribute("data-map-scrollwheel"),s=a[y].getAttribute("data-maptype"),n=parseFloat(a[y].getAttribute("data-mapzoom")),r=a[y].getAttribute("data-address1"),d=a[y].getAttribute("data-address2"),p=a[y].getAttribute("data-address3"),l=a[y].getAttribute("data-address4"),g=a[y].getAttribute("data-position1"),c=a[y].getAttribute("data-position2"),v=a[y].getAttribute("data-position3"),m=a[y].getAttribute("data-position4"),u=a[y].getAttribute("data-title1"),A=a[y].getAttribute("data-title2"),f=a[y].getAttribute("data-title3"),M=a[y].getAttribute("data-title4"),I=a[y].getAttribute("data-mapcenter"),h=google.maps.MapTypeId.ROADMAP;if("ROADMAP"==s?h=google.maps.MapTypeId.ROADMAP:"HYBRID"==s?h=google.maps.MapTypeId.HYBRID:"TERRAIN"==s?h=google.maps.MapTypeId.TERRAIN:"SATELLITE"==s&&(h=google.maps.MapTypeId.SATELLITE),o)var b=o;else var b=!1;var G={center:g?{lat:parseInt(I.split(",")[0]),lng:parseInt(I.split(",")[1])}:{lat:0,lng:0},zoom:n,draggable:i,mapTypeControl:!0,mapTypeId:h,scrollwheel:b,panControl:!0,rotateControl:!1,scaleControl:!0,streetViewControl:!0,zoomControl:!0};if(t[y]=new google.maps.Map(a[y],G),g){var w={lat:parseInt(g.split(",")[0]),lng:parseInt(g.split(",")[1])};virtueGMapPositionMarker(t[y],w,u?'<div class="mapinfo"><h5>'+u+"</h5>"+r+"</div>":'<div class="mapinfo">'+r+"</div>")}else{var T=I;virtueGMapGeocodeAddress(e,t[y],T,u?'<div class="mapinfo"><h5>'+u+"</h5>"+r+"</div>":'<div class="mapinfo">'+r+"</div>",!0)}(d||c)&&(c?virtueGMapPositionMarker(t[y],{lat:parseInt(c.split(",")[0]),lng:parseInt(c.split(",")[1])},A?'<div class="mapinfo"><h5>'+A+"</h5>"+d+"</div>":'<div class="mapinfo">'+d+"</div>"):virtueGMapGeocodeAddress(e,t[y],d,A?'<div class="mapinfo"><h5>'+A+"</h5>"+d+"</div>":'<div class="mapinfo">'+d+"</div>")),(p||v)&&(v?virtueGMapPositionMarker(t[y],{lat:parseInt(v.split(",")[0]),lng:parseInt(v.split(",")[1])},f?'<div class="mapinfo"><h5>'+f+"</h5>"+p+"</div>":'<div class="mapinfo">'+p+"</div>"):virtueGMapGeocodeAddress(e,t[y],p,f?'<div class="mapinfo"><h5>'+f+"</h5>"+p+"</div>":'<div class="mapinfo">'+p+"</div>")),(l||m)&&(m?virtueGMapPositionMarker(t[y],{lat:parseInt(m.split(",")[0]),lng:parseInt(m.split(",")[1])},M?'<div class="mapinfo"><h5>'+M+"</h5>"+l+"</div>":'<div class="mapinfo">'+l+"</div>"):virtueGMapGeocodeAddress(e,t[y],l,M?'<div class="mapinfo"><h5>'+M+"</h5>"+l+"</div>":'<div class="mapinfo">'+l+"</div>"))}}function virtueGMapGeocodeAddress(t,e,a,i,o=!1){t.geocode({address:a},(function(t,a){if("OK"===a){o&&e.setCenter(t[0].geometry.location);const a=new google.maps.Marker({map:e,position:t[0].geometry.location}),s=new google.maps.InfoWindow({content:i});a.addListener("click",(function(){s.open(e,a)}))}else console.log("Geocode was not successful for the following reason: "+a)}))}function virtueGMapPositionMarker(t,e,a){const i=new google.maps.Marker({map:t,position:e}),o=new google.maps.InfoWindow({content:a});i.addListener("click",(function(){o.open(t,i)}))}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.