1 2var header_height = 100; 3var min_header_height_scroll = 57; 4var min_header_height_fixed_hidden = 50; 5var min_header_height_sticky = 60; 6var scroll_amount_for_sticky = 85; 7var content_line_height = 60; 8var header_bottom_border_weight = 1; 9var scroll_amount_for_fixed_hiding = 200; 10var paspartu_width_init = 0.02; 11var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0; 12 13 header_height = 120; 14 min_header_height_scroll = 120; 15 scroll_amount_for_sticky = 340; 16 17var logo_height = 130; // proya logo height 18var logo_width = 280; // proya logo width 19 logo_height = 220; 20 logo_width = 500; 21 22 23 header_top_height = 0; 24var loading_text = 'Loading new posts...'; 25var finished_text = 'No more posts'; 26 27var piechartcolor; 28piechartcolor = "#1abc9c"; 29 piechartcolor = "#2d3091"; 30 31var geocoder; 32var map; 33 34function initialize() { 35 "use strict"; 36 // Create an array of styles. 37 var mapStyles = [ 38 { 39 stylers: [ 40 {hue: "#324156" }, 41 {saturation: "-100"}, 42 {lightness: "-9"}, 43 {gamma: 1.51} 44 ] 45 } 46 ]; 47 var qodeMapType = new google.maps.StyledMapType(mapStyles, 48 {name: "Qode Map"}); 49 50 geocoder = new google.maps.Geocoder(); 51 var latlng = new google.maps.LatLng(-34.397, 150.644); 52 var myOptions = { 53 zoom: 14, 54 scrollwheel: false, 55 center: latlng, 56 zoomControl: true, 57 zoomControlOptions: { 58 style: google.maps.ZoomControlStyle.SMALL, 59 position: google.maps.ControlPosition.RIGHT_CENTER 60 }, 61 scaleControl: false, 62 scaleControlOptions: { 63 position: google.maps.ControlPosition.LEFT_CENTER 64 }, 65 streetViewControl: false, 66 streetViewControlOptions: { 67 position: google.maps.ControlPosition.LEFT_CENTER 68 }, 69 panControl: false, 70 panControlOptions: { 71 position: google.maps.ControlPosition.LEFT_CENTER 72 }, 73 mapTypeControl: false, 74 mapTypeControlOptions: { 75 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'], 76 style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, 77 position: google.maps.ControlPosition.LEFT_CENTER 78 }, 79 mapTypeId: 'qode_style' 80 }; 81 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 82 map.mapTypes.set('qode_style', qodeMapType); 83 } 84 85function codeAddress(data) { 86 "use strict"; 87 88 if (data === '') 89 return; 90 91 var contentString = '<div id="content">'+ 92 '<div id="siteNotice">'+ 93 '</div>'+ 94 '<div id="bodyContent">'+ 95 '<p>'+data+'</p>'+ 96 '</div>'+ 97 '</div>'; 98 var infowindow = new google.maps.InfoWindow({ 99 content: contentString 100 }); 101 geocoder.geocode( { 'address': data}, function(results, status) { 102 if (status === google.maps.GeocoderStatus.OK) { 103 map.setCenter(results[0].geometry.location); 104 var marker = new google.maps.Marker({ 105 map: map, 106 position: results[0].geometry.location, 107 icon: 'https://demo.qodeinteractive.com/bridge61/wp-content/themes/bridge/img/pin.png', 108 title: data['store_title'] 109 }); 110 google.maps.event.addListener(marker, 'click', function() { 111 infowindow.open(map,marker); 112 }); 113 //infowindow.open(map,marker); 114 } 115 }); 116} 117 118var $j = jQuery.noConflict(); 119 120$j(document).ready(function() { 121 "use strict"; 122 123 showContactMap(); 124}); 125 126function showContactMap() { 127 "use strict"; 128 129 if($j("#map_canvas").length > 0){ 130 initialize(); 131 codeAddress(""); 132 codeAddress(""); 133 codeAddress(""); 134 codeAddress(""); 135 codeAddress("Museum of the City of New York, New York, USA"); 136 } 137} 138 139var no_ajax_pages = []; 140var qode_root = 'https://legislativeanalysis.org/'; 141var theme_root = 'https://legislativeanalysis.org/wp-content/themes/bridge/'; 142var header_style_admin = ""; 143if(typeof no_ajax_obj !== 'undefined') { 144 no_ajax_pages = no_ajax_obj.no_ajax_pages; 145}
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.