1/***************** GOOGLE MAPS ******************/ 2function initMap() { 3 var myLatlng = new google.maps.LatLng(-38.137739, 141.624088); 4 var center = new google.maps.LatLng(-38.137637, 141.616407); 5 var zoom = 10; 6 var drag = true; 7 8 var myOptions = { 9 zoom: zoom, 10 center: center, 11 mapTypeId: google.maps.MapTypeId.ROADMAP, 12 mapTypeControl: false, 13 zoomControl: true, 14 scrollwheel: false, 15 draggable: false, 16 scaleControl: false, 17 streetViewControl: false 18 } 19 20 var style = [ 21 { 22 "featureType": "all", 23 "elementType": "labels.text.fill", 24 "stylers": [ 25 { 26 "saturation": 36 27 }, 28 { 29 "color": "#333333" 30 }, 31 { 32 "lightness": 40 33 } 34 ] 35 }, 36 { 37 "featureType": "all", 38 "elementType": "labels.text.stroke", 39 "stylers": [ 40 { 41 "visibility": "on" 42 }, 43 { 44 "color": "#ffffff" 45 }, 46 { 47 "lightness": 16 48 } 49 ] 50 }, 51 { 52 "featureType": "all", 53 "elementType": "labels.icon", 54 "stylers": [ 55 { 56 "visibility": "off" 57 } 58 ] 59 }, 60 { 61 "featureType": "administrative", 62 "elementType": "geometry.fill", 63 "stylers": [ 64 { 65 "color": "#fefefe" 66 }, 67 { 68 "lightness": 20 69 } 70 ] 71 }, 72 { 73 "featureType": "administrative", 74 "elementType": "geometry.stroke", 75 "stylers": [ 76 { 77 "color": "#fefefe" 78 }, 79 { 80 "lightness": 17 81 }, 82 { 83 "weight": 1.2 84 } 85 ] 86 }, 87 { 88 "featureType": "landscape", 89 "elementType": "geometry", 90 "stylers": [ 91 { 92 "color": "#f5f5f5" 93 }, 94 { 95 "lightness": 20 96 } 97 ] 98 }, 99 { 100 "featureType": "poi", 101 "elementType": "geometry", 102 "stylers": [ 103 { 104 "color": "#f5f5f5" 105 }, 106 { 107 "lightness": 21 108 } 109 ] 110 }, 111 { 112 "featureType": "poi.medical", 113 "elementType": "geometry.fill", 114 "stylers": [ 115 { 116 "saturation": "0" 117 }, 118 { 119 "lightness": "0" 120 }, 121 { 122 "weight": "0.44" 123 } 124 ] 125 }, 126 { 127 "featureType": "poi.medical", 128 "elementType": "geometry.stroke", 129 "stylers": [ 130 { 131 "color": "#c71919" 132 } 133 ] 134 }, 135 { 136 "featureType": "poi.park", 137 "elementType": "geometry", 138 "stylers": [ 139 { 140 "color": "#dedede" 141 }, 142 { 143 "lightness": 21 144 } 145 ] 146 }, 147 { 148 "featureType": "road.highway", 149 "elementType": "geometry.fill", 150 "stylers": [ 151 { 152 "lightness": "0" 153 }, 154 { 155 "gamma": "1" 156 }, 157 { 158 "weight": "7" 159 }, 160 { 161 "visibility": "on" 162 }, 163 { 164 "color": "#84bd00" 165 } 166 ] 167 }, 168 { 169 "featureType": "road.highway", 170 "elementType": "geometry.stroke", 171 "stylers": [ 172 { 173 "color": "#ffffff" 174 }, 175 { 176 "lightness": 29 177 }, 178 { 179 "weight": 0.2 180 } 181 ] 182 }, 183 { 184 "featureType": "road.highway", 185 "elementType": "labels", 186 "stylers": [ 187 { 188 "visibility": "on" 189 } 190 ] 191 }, 192 { 193 "featureType": "road.arterial", 194 "elementType": "geometry", 195 "stylers": [ 196 { 197 "color": "#ffffff" 198 }, 199 { 200 "lightness": 18 201 } 202 ] 203 }, 204 { 205 "featureType": "road.local", 206 "elementType": "geometry", 207 "stylers": [ 208 { 209 "color": "#ffffff" 210 }, 211 { 212 "lightness": 16 213 } 214 ] 215 }, 216 { 217 "featureType": "road.local", 218 "elementType": "geometry.fill", 219 "stylers": [ 220 { 221 "color": "#ff0000" 222 }, 223 { 224 "visibility": "off" 225 } 226 ] 227 }, 228 { 229 "featureType": "transit", 230 "elementType": "geometry", 231 "stylers": [ 232 { 233 "color": "#f2f2f2" 234 }, 235 { 236 "lightness": 19 237 } 238 ] 239 }, 240 { 241 "featureType": "water", 242 "elementType": "geometry", 243 "stylers": [ 244 { 245 "color": "#e9e9e9" 246 }, 247 { 248 "lightness": 17 249 } 250 ] 251 } 252 ] 253 254 var x = window.matchMedia("(max-width: 768px)") 255 256 if (x.matches) { 257 jQuery('.contact_map_canvas').each(function () { 258 myOptions.center = new google.maps.LatLng(-38.137739, 141.624088); 259 myOptions.zoom = 16; 260 var map = new google.maps.Map(this, myOptions); 261 var mapType = new google.maps.StyledMapType(style, { name: "grayscale" }); 262 var marker = new google.maps.Marker({ 263 position: new google.maps.LatLng(-38.137739, 141.624088), 264 icon: '/wp-content/themes/heywood-rural-health/assets/images/heywood-rural-health-map-marker.png', 265 map: map, 266 title: 'Heywood Rural Health' 267 }); 268 269 map.mapTypes.set('gray', mapType); 270 map.setMapTypeId('gray'); 271 }); 272 } else { 273 jQuery('.contact_map_canvas').each(function () { 274 myOptions.center = new google.maps.LatLng(-38.138515, 141.620290); 275 myOptions.zoom = 16; 276 var map = new google.maps.Map(this, myOptions); 277 var mapType = new google.maps.StyledMapType(style, { name: "grayscale" }); 278 var marker = new google.maps.Marker({ 279 position: new google.maps.LatLng(-38.137739, 141.624088), 280 icon: '/wp-content/themes/heywood-rural-health/assets/images/heywood-rural-health-map-marker.png', 281 map: map, 282 title: 'Heywood Rural Health' 283 }); 284 285 map.mapTypes.set('gray', mapType); 286 map.setMapTypeId('gray'); 287 }); 288 } 289}
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.