https://americanproperties.net/wp-content/themes/wpresidence/js/google_js/google_map_code.js?ver=1.0
1/*global google,Modernizr,InfoBox,googlecode_regular_vars,jQuery,mapfunctions_vars,googlecode_regular_vars2,wpestate_setMarkers,wpestate_placeidx,wpestate_set_google_search*/ 2var gmarkers = []; 3var current_place=0; 4var actions=[]; 5var categories=[]; 6var map_open=0; 7var pins=''; 8var markers=''; 9var infoBox = null; 10var category=null; 11var map; 12var found_id; 13var selected_id = ''; 14var javamap; 15var oms; 16var idx_place; 17var bounds; 18var external_action_ondemand=0; 19var markers_cluster; 20var panorama; 21function wpresidence_initialize_map(){ 22 "use strict"; 23 var with_bound=0; 24 25 if( jQuery('#googleMap').length===0 && jQuery('#googleMapSlider').length===0 ){ 26 return; 27 } 28 29 wpresidence_map_general_start_map(); 30 31 32 if(googlecode_regular_vars.generated_pins==='0'){ 33 pins = googlecode_regular_vars.markers; 34 markers = jQuery.parseJSON(pins); 35 }else{ 36 if( typeof( googlecode_regular_vars2) !== 'undefined' && googlecode_regular_vars2.markers2.length > 2){ 37 pins = googlecode_regular_vars2.markers2; 38 39 markers = jQuery.parseJSON(pins); 40 with_bound = 1; 41 } 42 } 43 44 45 if (markers.length>0){ 46 wpresidence_map_general_set_markers(map, markers,with_bound); 47 } 48 49 if(googlecode_regular_vars.idx_status==='1'){ 50 wpestate_placeidx(map,markers); 51 } 52 53 //set map cluster 54 wpresidence_map_general_cluster(); 55 56 //fit bounds 57 if(typeof(is_map_shortcode)!=='undefined'){ 58 with_bound=1; 59 } 60 61 wpresidence_map_general_fit_to_bounds(with_bound); 62 63 //spider 64 wpresidence_map_general_spiderfy(); 65 66 67 68 69} 70///////////////////////////////// end wpresidece_initialize_map 71/////////////////////////////////////////////////////////////////////////////////// 72 73if(typeof(is_map_shortcode)=='undefined'){ 74 if (typeof google === 'object' && typeof google.maps === 'object') { 75 google.maps.event.addDomListener(window, 'load', wpresidence_initialize_map); 76 }else{ 77 wpresidence_initialize_map(); 78 } 79}
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.