PageSourceSearch

https://sdelanounas.ru/app/extensions/yandexmaps/views/js/js.js?v=1788957950

js sdelanounas.ru collected 2026-10-02 04:32:50 UTC 1,550 bytes, 48 lines download raw bytes

1function initMap(x, y, zoom) {
2    var map = new YMaps.Map(document.getElementById("YMapsID"));
3
4    map.setCenter(new YMaps.GeoPoint(x, y), zoom);
5    map.enableDblClickZoom();
6    map.enableScrollZoom();
7
8    // Создает элемент масштабирования
9    var zoomControl = new YMaps.Zoom();
10    map.addControl(zoomControl);
11
12    return map;
13}
14
15
16function sm (map, title, text, id, style, x,y) {
17
18        placemark = new YMaps.Placemark(new YMaps.GeoPoint(x, y), {draggable: 0,
19            hintOptions: {
20                maxWidth: 100,
21                offset: new YMaps.Point(5, 5)
22            },
23            balloonOptions: {
24                maxWidth: 400,
25                hasCloseButton: true,
26                mapAutoPan: 1
27            }
28        });
29
30
31        if (style == "t777" || style == '') {
32            placemark.setStyle("default#lightblueSmallPoint");
33        } else {
34           // Создает стиль
35            var s = new YMaps.Style();
36
37            // Создает стиль значка метки
38            s.iconStyle = new YMaps.IconStyle();
39            s.iconStyle.href = "/app/themes/default/images/maps/" + style +  ".png";
40            s.iconStyle.size = new YMaps.Point(32, 37);
41            s.iconStyle.offset = new YMaps.Point(-9, -29);
42            placemark.setStyle(s);
43        }
44
45        placemark.name = title;
46        placemark.description = text + '<br /><br /><a href="/blogs/' + id + '/" title="' + title + '">открыть статью...</a>';
47        map.addOverlay(placemark);
48}

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.