PageSourceSearch

https://rockthecycle.ru/local/assets/js/map.js?v=5

js rockthecycle.ru collected 2026-10-01 15:54:55 UTC 582 bytes, 19 lines download raw bytes

1import { createMap } from './map_core.js?v=3';
2import { addPinsToMap } from './map_pins.js?v=3';
3
4window.addEventListener('load', async () => {
5    const srcInfo = document.querySelector('.js-location')?.querySelector('span')?.dataset?.smallName;
6
7    const isMobile = window.innerWidth < 768;
8
9    let mapCenter = [55.75, 37.6];
10    let zoom = isMobile ? 11 : 12;
11
12    if (srcInfo === 'Спб' || srcInfo === 'Санкт-Петербург') {
13        mapCenter = [59.929273, 30.278461];
14        zoom = 13;
15    }
16
17    await createMap(mapCenter, zoom);
18    await addPinsToMap();
19});

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.