https://un50.ru/bitrix/components/bitrix/map.google.view/templates/.default/script.js?13232106251188
1if (!window.BX_GMapAddPlacemark) 2{ 3 window.BX_GMapAddPlacemark = function(arPlacemark, map_id) 4 { 5 var map = GLOBAL_arMapObjects[map_id]; 6 7 if (null == map) 8 return false; 9 10 if(!arPlacemark.LAT || !arPlacemark.LON) 11 return false; 12 13 var obPlacemark = new google.maps.Marker({ 14 'position': new google.maps.LatLng(arPlacemark.LAT, arPlacemark.LON), 15 'map': map 16 }); 17 18 if (BX.type.isNotEmptyString(arPlacemark.TEXT)) 19 { 20 obPlacemark.infowin = new google.maps.InfoWindow({ 21 content: arPlacemark.TEXT.replace(/\n/g, '<br />') 22 }); 23 24 google.maps.event.addListener(obPlacemark, 'click', function() { 25 if (null != window['__bx_google_infowin_opened_' + map_id]) 26 window['__bx_google_infowin_opened_' + map_id].close(); 27 28 this.infowin.open(this.map, this); 29 window['__bx_google_infowin_opened_' + map_id] = this.infowin; 30 }); 31 } 32 33 return obPlacemark; 34 } 35} 36 37if (null == window.BXWaitForMap_view) 38{ 39 function BXWaitForMap_view(map_id) 40 { 41 if (null == window.GLOBAL_arMapObjects) 42 return; 43 44 if (window.GLOBAL_arMapObjects[map_id]) 45 window['BX_SetPlacemarks_' + map_id](); 46 else 47 setTimeout('BXWaitForMap_view(\'' + map_id + '\')', 300); 48 } 49}
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.