1$(function () { 2 let myMap; 3 ymaps.ready(function () { 4 let mapData = JSON.parse($('.contacts-map').attr('data-map')); 5 6 myMap = new ymaps.Map('contacts-map', { 7 center: mapData['coords'], 8 zoom: 14, 9 // controls: ['zoomControl', 'searchControl', 'typeSelector', 'fullscreenControl', 'routeButtonControl'] 10 controls: ['zoomControl','fullscreenControl'] 11 // checkZoomRange:true, 12 }); 13 14 15 let myPlacemark = new ymaps.Placemark(mapData['coords'], { 16 hintContent: mapData['title'], 17 balloonContent: mapData['text'] 18 }, 19 { 20 iconLayout: 'default#image', 21 iconImageHref: '/html/template/img/logo.svg', 22 iconImageSize: [40, 40], 23 iconImageOffset: [-20, -40] 24 } 25 ); 26 27 myMap.geoObjects.add(myPlacemark); 28 }); 29});
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.