1 2 google.maps.event.addDomListener(window, 'load', init); 3 var map; 4 function init() { 5 var mapOptions = { 6 center: new google.maps.LatLng(49.074901, 1.594803), 7 zoom: 12, 8 zoomControl: true, 9 zoomControlOptions: { 10 style: google.maps.ZoomControlStyle.SMALL, 11 }, 12 disableDoubleClickZoom: true, 13 mapTypeControl: true, 14 mapTypeControlOptions: { 15 style: google.maps.MapTypeControlStyle.DROPDOWN_MENU, 16 }, 17 scaleControl: true, 18 scrollwheel: true, 19 panControl: true, 20 streetViewControl: true, 21 draggable : true, 22 overviewMapControl: true, 23 overviewMapControlOptions: { 24 opened: false, 25 }, 26 mapTypeId: google.maps.MapTypeId.ROADMAP, 27 styles:[ 28 { 29 "featureType": "landscape", 30 "stylers": [ 31 { 32 "saturation": -100 33 }, 34 { 35 "lightness": 65 36 }, 37 { 38 "visibility": "on" 39 } 40 ] 41 }, 42 { 43 "featureType": "poi", 44 "stylers": [ 45 { 46 "saturation": -100 47 }, 48 { 49 "lightness": 51 50 }, 51 { 52 "visibility": "simplified" 53 } 54 ] 55 }, 56 { 57 "featureType": "road.highway", 58 "stylers": [ 59 { 60 "saturation": -100 61 }, 62 { 63 "visibility": "simplified" 64 } 65 ] 66 }, 67 { 68 "featureType": "road.arterial", 69 "stylers": [ 70 { 71 "saturation": -100 72 }, 73 { 74 "lightness": 30 75 }, 76 { 77 "visibility": "on" 78 } 79 ] 80 }, 81 { 82 "featureType": "road.local", 83 "stylers": [ 84 { 85 "saturation": -100 86 }, 87 { 88 "lightness": 40 89 }, 90 { 91 "visibility": "on" 92 } 93 ] 94 }, 95 { 96 "featureType": "transit", 97 "stylers": [ 98 { 99 "saturation": -100 100 }, 101 { 102 "visibility": "simplified" 103 } 104 ] 105 }, 106 { 107 "featureType": "administrative.province", 108 "stylers": [ 109 { 110 "visibility": "off" 111 } 112 ] 113 }, 114 { 115 "featureType": "water", 116 "elementType": "labels", 117 "stylers": [ 118 { 119 "visibility": "on" 120 }, 121 { 122 "lightness": -25 123 }, 124 { 125 "saturation": -100 126 } 127 ] 128 }, 129 { 130 "featureType": "water", 131 "elementType": "geometry", 132 "stylers": [ 133 { 134 "hue": "#ffff00" 135 }, 136 { 137 "lightness": -25 138 }, 139 { 140 "saturation": -97 141 } 142 ] 143 } 144], 145 } 146 var mapElement = document.getElementById('map-canvas'); 147 var map = new google.maps.Map(mapElement, mapOptions); 148 var locations = [ 149['La mairie', 'undefined', 'undefined', 'undefined', 'undefined', 49.07345228594236, 1.5963719305298127, 'https://mapbuildr.com/assets/img/markers/default.png'] 150 ]; 151 for (i = 0; i < locations.length; i++) { 152 if (locations[i][1] =='undefined'){ description ='';} else { description = locations[i][1];} 153 if (locations[i][2] =='undefined'){ telephone ='';} else { telephone = locations[i][2];} 154 if (locations[i][3] =='undefined'){ email ='';} else { email = locations[i][3];} 155 if (locations[i][4] =='undefined'){ web ='';} else { web = locations[i][4];} 156 if (locations[i][7] =='undefined'){ markericon ='';} else { markericon = locations[i][7];} 157 marker = new google.maps.Marker({ 158 icon: markericon, 159 position: new google.maps.LatLng(locations[i][5], locations[i][6]), 160 map: map, 161 title: locations[i][0], 162 desc: description, 163 tel: telephone, 164 email: email, 165 web: web 166 }); 167link = ''; } 168 169}
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.