1(function($){function new_map($el){var $markers=$el.find('.marker');if(typeof stylemap==='undefined') 2stylemap='';var zoommap=$el.attr('data-zoom');if(typeof zoommap==='undefined'||zoommap==""||zoommap.length==0){zoommap=14}else{zoommap=parseInt(zoommap)} 3var args={zoom:zoommap,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:stylemap};var map=new google.maps.Map($el[0],args);map.markers=[];$markers.each(function(){add_marker($(this),map)});center_map(map);return map} 4function add_marker($marker,map){var latlng=new google.maps.LatLng($marker.attr('data-lat'),$marker.attr('data-lng'));var marker=new google.maps.Marker({position:latlng,map:map});if($marker.attr('data-icon')){var icon={url:$marker.attr('data-icon')};if($marker.attr('data-width')&&$marker.attr('data-height')){icon.scaledSize=new google.maps.Size($marker.attr('data-width'),$marker.attr('data-height'))} 5marker.setIcon(icon)} 6map.markers.push(marker);if($marker.html().length>0){var infowindow=new google.maps.InfoWindow({content:$marker.html()});google.maps.event.addListener(marker,'click',function(){infowindow.open(map,marker)})}} 7function center_map(map){var bounds=new google.maps.LatLngBounds();$.each(map.markers,function(i,marker){var latlng=new google.maps.LatLng(marker.position.lat(),marker.position.lng());bounds.extend(latlng)});if(map.markers.length==1){map.setCenter(bounds.getCenter())}else{var zoom=map.getZoom();google.maps.event.addListenerOnce(map,'zoom_changed',function(event){map.setZoom(zoom-1);if(zoom>15) 8map.setZoom(15)});map.fitBounds(bounds)}} 9var map=null;$(document).ready(function(){$('.acf-map').each(function(){map=new_map($(this))})})})(jQuery)
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.