1'use strict'; 2 3var yMap = { 4 5 zoom: 15, 6 7 run: function(point, elementId) { 8 this.map = ymaps.ready(function() { 9 var myMap = new ymaps.Map(elementId, { 10 center: point.coordinates, 11 zoom: this.zoom, 12 }), 13 objectManager = new ymaps.ObjectManager({ 14 clusterize: true, 15 gridSize: 32 16 }); 17 myMap.geoObjects.add(objectManager); 18 var baloon = point['baloon']; 19 myMap.geoObjects.add(new ymaps.Placemark( 20 point['coordinates'], { 21 balloonContentHeader: baloon.baloonHeader, 22 balloonContent: baloon.ballonBody, 23 hintContent: baloon.hintContent 24 } 25 )); 26 // myMap.setBounds(myMap.geoObjects.getBounds()); 27 }, this); 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.