PageSourceSearch

https://www.kirchdorfer.at/wp-content/cache/min/1/wp-content/theme…/assets/js/standorte.js?ver=1790921127

js kirchdorfer.at collected 2026-10-02 06:10:02 UTC 3,581 bytes, 4 lines download raw bytes

1if(jQuery('.location-map').length>0){!function(t,e){"function"==typeof define&&define.amd?define(["leaflet"],t):"object"==typeof exports&&(module.exports=t(require("leaflet"))),void 0!==e&&e.L&&(e.L.Control.ResetView=t(L))}(function(e){return ResetView=e.Control.extend({options:{position:"topleft",title:"Reset view",latlng:null,zoom:null},onAdd:function(t){return this._map=t,this._container=e.DomUtil.create("div","leaflet-control-resetview leaflet-bar leaflet-control"),this._link=e.DomUtil.create("a","leaflet-bar-part leaflet-bar-part-single",this._container),this._link.title=this.options.title,this._link.href="#",this._link.setAttribute("role","button"),this._icon=e.DomUtil.create("span","leaflet-control-resetview-icon",this._link),e.DomEvent.on(this._link,"click",this._resetView,this),this._container},onRemove:function(t){e.DomEvent.off(this._link,"click",this._resetView,this)},_resetView:function(t){this._map.setView(this.options.latlng,this.options.zoom)}}),e.control.resetView=function(t){return new ResetView(t)},ResetView},window);if(jQuery(window).width()<=500){var map=L.map('map',{scrollWheelZoom:!1}).setView([46.3868241,12.0818459],3.86,{zoomControl:!1})}else if(jQuery(window).width()<=1440){var map=L.map('map',{scrollWheelZoom:!1}).setView([48.9314036,13.3138444],4.96,{zoomControl:!1})}else{var map=L.map('map',{scrollWheelZoom:!1}).setView([47.5295501,16.7334847],5.6,{zoomControl:!1})}
2map.scrollWheelZoom.disable();map.touchZoom.disable();map.doubleClickZoom.disable();map.boxZoom.disable();map.keyboard.disable();jQuery.getJSON('/wp-content/themes/kirchdorfer/assets/countries.geo.json',function(geojson){L.geoJson(geojson,{style:function(feature){var country=feature.properties.FIPS;var color_country='#ddd';if(country=='AU'){color_country='#bbb'}
3return{'weight':2,'color':'#fff','fillColor':color_country,'fillOpacity':1,}}}).addTo(map)});L.control.resetView({position:"topleft",title:"Reset view",latlng:L.latLng([47.5295501,16.7334847]),zoom:5.6,scrollWheelZoom:!1}).addTo(map);const LeafIcon=L.Icon.extend({options:{iconSize:[40,40],}});const greenIcon=new LeafIcon({iconUrl:'/wp-content/themes/kirchdorfer/assets/img/location-pins/leaf-green.svg','className':'location_green'});const redIcon=new LeafIcon({iconUrl:'/wp-content/themes/kirchdorfer/assets/img/location-pins/leaf-red.svg','className':'location_red'});const blueIcon=new LeafIcon({iconUrl:'/wp-content/themes/kirchdorfer/assets/img/location-pins/leaf-blue.svg','className':'location_blue'});const darkIcon=new LeafIcon({iconUrl:'/wp-content/themes/kirchdorfer/assets/img/location-pins/leaf-dark.svg','className':'location_dark'});jQuery('.location-map').each(function(){var mapLat=jQuery(this).data('lat');var mapLong=jQuery(this).data('long');var mapTitle=jQuery(this).data('locationname');var mapLink=jQuery(this).data('locationlink');var mapIconColor=greenIcon;var mapLabel=jQuery(this).data('label');var mapMoreInfo=jQuery(this).data('moreinfo');if(mapLabel=='#e3051b'){mapIconColor=redIcon}else if(mapLabel=='#0056b3'){mapIconColor=blueIcon}else if(mapLabel=='#253a45'){mapIconColor=darkIcon}
4if(mapLat&&mapLong){L.marker([mapLat,mapLong],{icon:mapIconColor}).bindPopup('<p><a style="--link-color: '+mapLabel+';"href="'+mapLink+'">'+mapTitle+'</a></p>'+mapMoreInfo).addTo(map)}});jQuery(document).on('click','.leaflet-control-resetview a',function(e){e.preventDefault();if(jQuery(window).width()<=500){map.setView([46.3868241,12.0818459],3.86)}else if(jQuery(window).width()<=1440){map.setView([48.9314036,13.3138444],4.96)}
4else{map.setView([47.5295501,16.7334847],5.6)}})}

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.