PageSourceSearch

https://www.werkenleieenschelde.be/DependencyHandler.axd?s=L2pzL2RlZmF1bHQuanM7&t=Javascript&cdv=22979

js werkenleieenschelde.be collected 2026-10-08 05:47:16 UTC 3,421 bytes, 9 lines download raw bytes

1$(window).on("load",function(){fitvids();});$(window).on("load",function(){var $map=$(".map-canvas");if($map.length>0){var mapElement=$map[0];var latLngs_2=[];var markerIcon=$map.data("marker");var clusterIcon=$map.data("cluster");$(".organisation-lister-page-item").each(function(){var $marker=$(this);var lat=$marker.data("lat");var lng=$marker.data("lng");if(lat!=undefined&&lng!=undefined){var name_1=$marker.data("name");var address=$marker.data("address");var postalcode=$marker.data("postalcode");var city=$marker.data("city");var url=$marker.data("url");latLngs_2.push({lat:lat,lng:lng,name:name_1,address:address,postalcode:postalcode,city:city,url:url});}});if(latLngs_2.length>0){var initialisedMap_1=initOrganisationMap(mapElement,latLngs_2[0]);var bounds=new google.maps.LatLngBounds();var markers=[];var _loop_1=function(latLng){bounds.extend(latLng);var infowindowContent="<div class='organisation-infowindow'><h2>"+latLng.name+"</h2>"+"<p>"+latLng.address+"<br />"+latLng.postalcode+" "+latLng.city+"</p>";if(latLng.url!=undefined){infowindowContent=infowindowContent+"<p><a href='"+latLng.url+"'>Bekijk</a></p>";}
2infowindowContent=infowindowContent+"</div>";var infowindow=new google.maps.InfoWindow({content:infowindowContent,});var marker=new google.maps.Marker({position:latLng,map:initialisedMap_1,title:latLng.name,icon:markerIcon});marker.addListener("click",function(){infowindow.open(initialisedMap_1,marker);});markers.push(marker);};for(var _i=0,latLngs_1=latLngs_2;_i<latLngs_1.length;_i++){var latLng=latLngs_1[_i];_loop_1(latLng);}
3if(markers.length>1){new MarkerClusterer(initialisedMap_1,markers,{imagePath:"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m"});initialisedMap_1.fitBounds(bounds);}}}});function initOrganisationMap(mapElement,centerLatLng){var map=new google.maps.Map(mapElement,{zoom:14,streetViewControl:false,center:new google.maps.LatLng(centerLatLng.lat,centerLatLng.lng)});return map;}
4new Vue({el:"#cookieConsent",data:{hideCookiePreferences:true},methods:{showCookiePreferences:function(){this.hideCookiePreferences=false;}}});$(window).on("load",function(){var cookiesConsentModel=$("#cookieConsentModal");if(cookiesConsentModel.data("auto-show")){cookiesConsentModel.modal("show");}});var zoom=10;$(window).on("load",function(){$(".google-maps").each(function(){var $map=$(this);var needsGeocoding=$map.data("address")!=undefined;var icon=$map.data("icon");var mapElement=$map[0];if(needsGeocoding){var address=$map.data("address");createMapByGeocoding(mapElement,address,icon);}
5else{var lat=$map.data("lat");var lng=$map.data("lng");var latLng={lat:lat,lng:lng};initMap(mapElement,latLng,icon);}});});function createMapByGeocoding(mapElement,address,icon){var geocoder=new google.maps.Geocoder();geocoder.geocode({'address':address},function(results,status){if(status===google.maps.GeocoderStatus.OK){var latLng={lat:results[0].geometry.location.lat(),lng:results[0].geometry.location.lng()};initMap(mapElement,latLng,icon);}
6else{console.log("Geocode was not successful for the following reason: "+status);}});}
7function initMap(mapElement,latLng,icon){var map=new google.maps.Map(mapElement,{center:latLng,zoom:zoom});if(icon!=undefined&&icon!==""){new google.maps.Marker({position:latLng,map:map,icon:{url:icon,scaledSize:new google.maps.Size(40,40)}});}
8else{new google.maps.Marker({position:latLng,map:map});}}
9;;;

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.