1tarteaucitron.init({ 2 "privacyUrl": "", /* Privacy policy url */ 3 4 "hashtag": "#tarteaucitron", /* Open the panel with this hashtag */ 5 "cookieName": "rsys-dsgvo", /* Cookie name */ 6 7 "orientation": "bottom", /* Banner position (top - bottom) */ 8 "showAlertSmall": true, /* Show the small banner on bottom right */ 9 "cookieslist": true, /* Show the cookie list */ 10 11 "adblocker": false, /* Show a Warning if an adblocker is detected */ 12 "AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */ 13 "DenyAllCta" : true, /* Show the deny all button when highPrivacy on */ 14 15 "highPrivacy": true, /* Disable auto consent */ 16 "handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */ 17 18 "removeCredit": true, /* Remove credit link */ 19 "moreInfoLink": true, /* Show more info link */ 20 "useExternalCss": true, /* If false, the tarteaucitron.css file will be loaded */ 21 22 //"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */ 23 24 "readmoreLink": "/datenschutzerklaerung" /* Change the default readmore link */ 25}); 26 27//tarteaucitron.user.matomoId = '9999999';
28//tarteaucitron.user.matomoHost = "//localhost/_evaluate/tarteaucitron/matomo/"; 29//(tarteaucitron.job = tarteaucitron.job || []).push('matomo'); 30 31(tarteaucitron.job = tarteaucitron.job || []).push('youtube'); 32 33//tarteaucitron.user.googlemapsKey = 'AIzaSyBwGNV9_irZL70nths71ZU-KgvG9k_SFZQ'; 34//(tarteaucitron.job = tarteaucitron.job || []).push('googlemaps'); 35 36tarteaucitron.user.googletagmanagerId = 'GTM-W8D92C9'; 37(tarteaucitron.job = tarteaucitron.job || []).push('googletagmanager'); 38 39// 40//(tarteaucitron.job = tarteaucitron.job || []).push('rsysfacebook'); 41//(tarteaucitron.job = tarteaucitron.job || []).push('spotify'); 42 43(tarteaucitron.job = tarteaucitron.job || []).push('osm'); 44 45//tarteaucitron.user.gtagUa = 'UA-56230333-1'; 46//tarteaucitron.user.gtagMore = function () { /* add here your optionnal gtag() */ }; 47//(tarteaucitron.job = tarteaucitron.job || []).push('gtag'); 48 49 50/** 51* google map 52* 53**/ 54function initMap(mapId) { 55 56 let myLatLng = { lat: 49.3856621, lng: 11.3564834 }; 57 let image = '../../Images/Maps/google-marker.png'; 58 let imageCenter = '../../Images/Maps/Images/google-marker-center.png'; 59 let infowindow = new google.maps.InfoWindow(); 60 let bounds = new google.maps.LatLngBounds(); 61 let markers = []; 62 63 //console.log(myLatLng); 64 let map = new google.maps.Map(document.getElementById(mapId), { 65 zoom: 10, 66 maxZoom: 16, 67 scrollwheel: false 68 }); 69 70 map.setOptions( 71 {styles: 72 [{"featureType":"administrative","elementType":"all","stylers":[{"visibility":"on"}]},{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#444444"}]},{"featureType":"administrative.country","elementType":"geometry.stroke","stylers":[{"color":"#b6b2b2"}]},{"featureType":"administrative.country","elementType":"labels.text.fill","stylers":[{"color":"#bdbdbd"}]},{"featureType":"administrative.locality","elementType":"labels.text.fill","stylers":[{"color":"#696969"}]},{"featureType":"administrative.locality","elementType":"labels.icon","stylers":[{"visibility":"on"},{"color":"#8a8a8a"}]},{"featureType":"administrative.land_parcel","elementType":"all","stylers":[{"visibility":"on"}]},{"featureType":"administrative.land_parcel","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#f2f2f2"},{"visibility":"simplified"}]},{"featureType":"landscape","elementType":"geometry.fill","stylers":[{"color":"#f1f1f1"}]},{"featureType":"landscape.natural","elementType":"all","stylers":[{"visibility":"on"},{"saturation":"13"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"on"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.highway","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#46bcec"},{"visibility":"on"}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#b1cef5"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"color":"#6a9fff"}]}] 73 } 74 ); 75 76 77 78 79 // extend bounds
80 if (bounds.getNorthEast().equals(bounds.getSouthWest())) { 81 let extendPoint = new google.maps.LatLng(bounds.getNorthEast().lat() + 0.0001, bounds.getNorthEast().lng() + 0.0001); 82 bounds.extend(extendPoint); 83 } 84 85 86 87 // set view to bounds 88 map.fitBounds(bounds); 89} 90 91 92/** 93* calculate time and distance 94* 95**/ 96function GoogleMapDistance(YourLatLong,DestLatLong, item) { 97 let service = new google.maps.DistanceMatrixService(); 98 service.getDistanceMatrix( 99 { 100 origins: [YourLatLong], 101 destinations: [DestLatLong], 102 travelMode: google.maps.TravelMode.DRIVING, 103 unitSystem: google.maps.UnitSystem.METRIC, 104 avoidHighways: false, 105 avoidTolls: false 106 }, function callback(response, status) 107 { 108 // you can access the parent scope arguments like item here 109 if (status == google.maps.DistanceMatrixStatus.OK) 110 { 111 let origins = response.originAddresses; 112 let destinations = response.destinationAddresses; 113 for (let i = 0; i < origins.length; i++) 114 { 115 let results = response.rows[i].elements; 116 for (let j = 0; j < results.length; j++) 117 { 118 let element = results[j]; 119 let from = origins[i]; 120 let to = destinations[j]; 121 let distance = element.distance.text; 122 let duration = element.duration.text; 123 let ResultStr = '<div class=\"distance\">Entferung: ' + distance + ", Fahrzeit Auto: " + duration + "</div>"; 124 } 125 } 126 $(item).html( ResultStr); 127 } 128 } 129)}
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.