1$(function(){ 2 ymaps.ready(initMap); 3}); 4function initMap() { 5 if ( !$('#contacts-map') ) { 6 return; 7 } 8 var x = $('#contacts-map').attr('x'), 9 y = $('#contacts-map').attr('y'), 10 zoom = $('#contacts-map').attr('zoom'); 11 var YMap = new ymaps.Map('contacts-map', {center: [x,y], zoom: zoom}); 12 var placemark = new ymaps.Placemark([x,y]); 13 14 YMap.controls.add('smallZoomControl', {top: 5, left: 5}); 15 YMap.geoObjects.add(placemark); 16}
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.