PageSourceSearch

https://mr-mag.com/wp-content/cache/min/1/wp-content/themes/mr-mag-child/assets/js/acf-map.js?ver=1780583937

js mr-mag.com collected 2026-09-24 18:28:12 UTC 1,095 bytes, 4 lines download raw bytes

1(function($){function new_map($el){var $markers=$el.find('.marker');var args={zoom:16,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP};var map=new google.maps.Map($el[0],args);map.markers=[];$markers.each(function(){add_marker($(this),map)});center_map(map);return map}
2function 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});map.markers.push(marker);if($marker.html()){var infowindow=new google.maps.InfoWindow({content:$marker.html()});google.maps.event.addListener(marker,'click',function(){infowindow.open(map,marker)})}}
3function 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());map.setZoom(16)}else{map.fitBounds(bounds)}}
4var 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.