1jQuery(function($){ 2 $('#carouselHome').carousel({ 3 interval : 1500, 4 pause : false, 5 keyboard : false, 6 ride : true 7 }) 8 9 AOS.init({ 10 duration: 1200 11 }); 12 13 $(".leafletmap").each(function( index ) { 14 15 var idelement = $( this ); 16 var mapsX = idelement.attr("data-x"); 17 var mapsY = idelement.attr("data-y"); 18 var mapsZ = idelement.attr("data-zoom"); 19 var mymap = L.map(this).setView([mapsX, mapsY], mapsZ); 20 //L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', { 21 L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',{ 22 maxZoom: 18, 23 attribution: '', 24 id: 'mapbox.streets' 25 }).addTo(mymap); 26 var popup = L.popup({ 27 closeOnClick: false, 28 autoClose: false, 29 closeButton : false 30 }) 31 .setLatLng([mapsX, mapsY]) 32 .setContent(idelement.attr("data-popup")) 33 .openOn(mymap); 34 //var marker = L.marker([mapsX, mapsY]).addTo(mymap); 35 mymap.scrollWheelZoom.disable(); 36 mymap.touchZoom.disable(); 37 38 var enableMapInteraction = function () { 39 mymap.scrollWheelZoom.enable(); 40 mymap.touchZoom.enable(); 41 }
42 var disableMapInteraction = function () { 43 mymap.scrollWheelZoom.disable(); 44 mymap.touchZoom.disable(); 45 } 46 47 idelement.focusin(enableMapInteraction); 48 idelement.focusout(disableMapInteraction); 49 50 }); 51 52 $('.wp-block-gallery').magnificPopup({ 53 gallery:{enabled:true}, 54 delegate: 'a:not(figcaption a)', // child items selector, by clicking on it popup will open 55 type: 'image', 56 image: { 57 titleSrc: function(item) { 58 return item.el.siblings('figcaption').html(); 59 } 60 }, 61 zoom: { 62 enabled: true, 63 duration: 300, // don't foget to change the duration also in CSS 64 opener: function(element) { 65 return element.find('img'); 66 } 67 } 68 // other options 69 }); 70 71}); 72
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.