PageSourceSearch

https://lifelongmetaboliccenter.com/wp-content/plugins/medicare/bt_gmap.js?ver=7.1.2

js lifelongmetaboliccenter.com collected 2026-10-04 20:15:03 UTC 1,633 bytes, 70 lines download raw bytes

1function bt_gmap_init( id, lat, lng, zoom, icon, primary_color, secondary_color, water_color, custom_style ) {	
2	var myLatLng = new google.maps.LatLng( lat, lng );
3	var mapOptions = {
4		zoom: zoom,
5		center: myLatLng,
6		scrollwheel: false,
7		scaleControl:true,
8		zoomControl: true,
9		zoomControlOptions: {
10			style: google.maps.ZoomControlStyle.SMALL,
11			position: google.maps.ControlPosition.RIGHT_CENTER
12		},
13		streetViewControl: true,
14		mapTypeControl: true
15	}
16	var map = new google.maps.Map( id , mapOptions );
17
18	var marker = new google.maps.Marker({
19		position: myLatLng,
20		map: map,
21		icon: icon
22	});
23
24	if ( ( primary_color != '' && secondary_color != '' && water_color != '' ) || custom_style != '' ) {
25		
26		var style_array = [
27			{
28				featureType: "all",
29				stylers: [
30					{ hue: primary_color },  
31					{ saturation: 100 }
32				]
33			},{
34				featureType: "road",
35				elementType: "geometry",
36				stylers: [
37					{ hue: secondary_color },
38					{ saturation: 0 }
39				]
40			},{
41				featureType: "water",
42				elementType: 'all',
43				stylers: [
44					{ color: water_color },
45					{ saturation: 0 }
46				]
47			},{
48				featureType: "poi.business",
49				elementType: "labels",
50				stylers: [
51					{ visibility: "off" }
52				]
53			}
54		];
55		
56		if ( custom_style != '' ) {
57			style_array = JSON.parse( atob( custom_style ) );
58		}
59		
60		var customMapType = new google.maps.StyledMapType( style_array, {
61			name: 'Custom Style'
62		});
63
64		var customMapTypeId = 'custom_style';
65		map.mapTypes.set( customMapTypeId, customMapType );
66		map.setMapTypeId( customMapTypeId );
67	}
68
69	
70}

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.