PageSourceSearch

https://www.plowmanandpartners.com/blog/wp-content/themes/plowman/….pixelentity.widgets.gmap.js?ver=1749728286

js plowmanandpartners.com collected 2026-09-29 20:09:32 UTC 1,974 bytes, 75 lines download raw bytes

1(function ($) {
2	/*jslint undef: false, browser: true, devel: false, eqeqeq: false, bitwise: false, white: false, plusplus: false, regexp: false, nomen: false */ 
3	/*global jQuery,setTimeout,projekktor,location,setInterval,YT,clearInterval,pixelentity,google */
4                
5	var targets = [];
6                
7	$.pixelentity.gmap = function() {
8		
9		
10		var myLatlng,myOptions,map,infowindow,marker,target;
11		
12		for (var i = 0;i<targets.length;i++) {
13			
14			target = targets[i];
15			
16			myLatlng = new google.maps.LatLng(target.attr("data-latitude"), target.attr("data-longitude"));
17			
18			myOptions = {
19				zoom: parseInt(target.attr("data-zoom"),10) || 6,
20				center: myLatlng,
21				html: target.attr("data-title"),
22				mapTypeControl: window.peGmapStyle ? false : true,
23				popup: true,
24				scaleControl: true,
25				draggable: true,
26				scrollwheel: false,
27				mapTypeId: google.maps.MapTypeId.ROADMAP
28			};
29			
30			map = new google.maps.Map(target[0], myOptions);
31			
32			if (window.peGmapStyle) {
33				var styledMap = new google.maps.StyledMapType(window.peGmapStyle, {name: "Styled Map"});
34				map.mapTypes.set('map_style', styledMap);
35				map.setMapTypeId('map_style');
36			}
37			
38			infowindow = new google.maps.InfoWindow({
39				content: target.data("description")
40			});
41
42			marker = new google.maps.Marker({
43					position: myLatlng,
44					map: map,
45					title: target.attr("data-title")
46				});
47			
48			google.maps.event.addListener(marker, 'click', function() {
49				infowindow.open(map,marker);
50			});
51			
52		}
53		
54	};
55	
56	function addTarget() {
57		var target = $(this);
58		target.data("description",target.html());
59		targets.push(target);
60	}
61	
62	
63	function check(target,controller) {
64		var t = target.find(".gmap").not(".disabled");
65		if (t.length > 0) {
66			t.each(addTarget);
67			$.getScript("http://maps.google.com/maps/api/js?sensor=false&callback=jQuery.pixelentity.gmap&async=2");
68			return true;
69		}
70		return false;
71	}
72	
73	$.pixelentity.widgets.add(check);
74	
75}(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.