PageSourceSearch

https://www.metallrecycling-graenz.de/public/www/themes/frontend/r…/_public/src/js/maps.js?_=6ac5d1eeddf3c

js metallrecycling-graenz.de collected 2026-10-07 05:00:59 UTC 1,092 bytes, 34 lines download raw bytes

1var MAPS = {};
2    MAPS.start = function(){
3        var script     = document.createElement("script");
4        script.src = 'https://maps.googleapis.com/maps/api/js?key='+mapSettings.key+'&callback=initMap'; 
5        script.setAttribute("async","");
6        script.setAttribute("defer","");
7        document.getElementsByTagName("head")[0].appendChild(script);
8    };
9
10function initMap(){
11    gmap_zoom = Number(mapSettings.zoom);
12    gmap_x = Number(mapSettings.lat);
13    gmap_y = Number(mapSettings.lng);
14    
15    map = new google.maps.Map($('.gmap')[0], {
16      center: {lat: gmap_x, lng: gmap_y},
17      zoom: gmap_zoom,
18      scrollwheel: false,
19        navigationControl: true,
20        mapTypeControl: false,
21         draggable: false,
22        scaleControl: false,
23        disableDefaultUI: false
24        
25    });
26     var myLatLng = {lat: gmap_x, lng: gmap_y};
27     var image = './public/assets/svg/marker.svg?_='+Math.random();
28    var marker = new google.maps.Marker({
29      position: myLatLng,
30      map: map,
31      icon: image,
32      animation: google.maps.Animation.DROP
33    });
34};

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.