PageSourceSearch

https://advecs.net/static/js/jamaps-init.js?v=1

js advecs.net collected 2026-10-07 18:09:41 UTC 1,688 bytes, 51 lines download raw bytes

1ymaps.ready(init);
2function init () {
3    /*
4    //задать картинку всем балунам
5    var iconBaloon = {
6        iconLayout: 'default#image',
7        iconImageHref: '/static/icons/hand.png',
8        iconImageSize: [27, 29],
9    };*/
10    var myMap = new ymaps.Map('my-map', {
11        center: [59.851948, 30.290529],
12        zoom: 15,
13        // controls: ['zoomControl'],
14    });
15    var myPlacemark = new ymaps.Placemark(
16        [59.851135, 30.308044],
17        {
18            balloonPanelMaxMapArea: 0,
19            balloonContentHeader: "Адвекс-Московский,<br> пл. Конституции, д. 7(БЦ «Лидер»), оф. 541",
20            balloonContentFooter: "",
21        }
22        );
23    myMap.geoObjects.add(myPlacemark);
24    //... отключаем перетаскивание карты
25    myMap.behaviors.disable('drag');
26    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {   
27        //... отключаем перетаскивание карты
28        myMap.behaviors.disable('drag');
29    }
30    function onResizeMap() {
31        if ($(window).width() < '1024') {
32        // myMap.setCenter([50.150397, 8.616702]);
33        myMap.setCenter([59.851135, 30.308044]);
34        // myMap.setZoom(3.5);
35
36    }
37
38    if ($(window).width() >= '1024' && $(window).width() < '1200') {
39        myMap.setCenter([59.923563, 30.373421]);
40        // myMap.setZoom(3.2);
41    }
42    if ($(window).width() >= '1200') {
43        myMap.setCenter([59.851948, 30.290529]);
44    }
45}
46onResizeMap();
47/*window.onresize = function () {
48    onResizeMap();
49};*/
50};
51

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.