1var gdpData = { 2 "AF": 16.63, 3 "AL": 11.58, 4 "DZ": 158.97, 5 "AO": 85.81, 6 "AG": 1.1, 7 "AR": 351.02, 8 "AM": 8.83, 9 "AU": 1219.72, 10 "AT": 366.26, 11 "AZ": 52.17, 12 "BS": 7.54, 13 "BH": 21.73, 14 "BD": 105.4, 15 "BB": 3.96, 16 "BY": 52.89, 17 "BE": 461.33, 18 "BZ": 1.43, 19 "BJ": 6.49, 20 "BT": 1.4, 21 "BO": 19.18, 22 "BA": 16.2, 23 "BW": 12.5, 24 "BR": 2023.53, 25 "BN": 11.96, 26 "BG": 44.84, 27 "BF": 8.67, 28 "BI": 1.47, 29 "KH": 11.36, 30 "CM": 21.88, 31 "CA": 1563.66, 32 "CV": 1.57, 33 "CF": 2.11, 34 "TD": 7.59, 35 "CL": 199.18, 36 "CN": 5745.13, 37 "CO": 283.11, 38 "KM": 0.56, 39 "CD": 12.6, 40 "CG": 11.88, 41 "CR": 35.02, 42 "CI": 22.38, 43 "HR": 59.92, 44 "CY": 22.75, 45 "CZ": 195.23, 46 "DK": 304.56, 47 "DJ": 1.14, 48 "DM": 0.38, 49 "DO": 50.87, 50 "EC": 61.49, 51 "EG": 216.83, 52 "SV": 21.8, 53 "GQ": 14.55, 54 "ER": 2.25, 55 "EE": 19.22, 56 "ET": 30.94, 57 "FJ": 3.15, 58 "FI": 231.98, 59 "FR": 2555.44, 60 "GA": 12.56, 61 "GM": 1.04, 62 "GE": 11.23, 63 "DE": 3305.9, 64 "GH": 18.06, 65 "GR": 305.01, 66 "GD": 0.65, 67 "GT": 40.77, 68 "GN": 4.34, 69 "GW": 0.83, 70 "GY": 2.2, 71 "HT": 6.5, 72 "HN": 15.34, 73 "HK": 226.49, 74 "HU": 132.28, 75 "IS": 12.77, 76 "IN": 1430.02, 77 "ID": 695.06, 78 "IR": 337.9, 79 "IQ": 84.14, 80 "IE": 204.14, 81 "IL": 201.25, 82 "IT": 2036.69, 83 "JM": 13.74, 84 "JP": 5390.9, 85 "JO": 27.13, 86 "KZ": 129.76, 87 "KE": 32.42, 88 "KI": 0.15, 89 "KR": 986.26, 90 "UNDEFINED": 5.73, 91 "KW": 117.32, 92 "KG": 4.44, 93 "LA": 6.34, 94 "LV": 23.39, 95 "LB": 39.15, 96 "LS": 1.8, 97 "LR": 0.98, 98 "LY": 77.91, 99 "LT": 35.73, 100 "LU": 52.43, 101 "MK": 9.58, 102 "MG": 8.33, 103 "MW": 5.04, 104 "MY": 218.95, 105 "MV": 1.43, 106 "ML": 9.08, 107 "MT": 7.8, 108 "MR": 3.49, 109 "MU": 9.43, 110 "MX": 1004.04, 111 "MD": 5.36, 112 "MN": 5.81, 113 "ME": 3.88, 114 "MA": 91.7, 115 "MZ": 10.21, 116 "MM": 35.65, 117 "NA": 11.45, 118 "NP": 15.11, 119 "NL": 770.31, 120 "NZ": 138, 121 "NI": 6.38, 122 "NE": 5.6, 123 "NG": 206.66, 124 "NO": 413.51, 125 "OM": 53.78, 126 "PK": 174.79, 127 "PA": 27.2, 128 "PG": 8.81, 129 "PY": 17.17, 130 "PE": 153.55, 131 "PH": 189.06, 132 "PL": 438.88, 133 "PT": 223.7, 134 "QA": 126.52, 135 "RO": 158.39, 136 "RU": 1476.91, 137 "RW": 5.69, 138 "WS": 0.55, 139 "ST": 0.19, 140 "SA": 434.44, 141 "SN": 12.66, 142 "RS": 38.92, 143 "SC": 0.92, 144 "SL": 1.9, 145 "SG": 217.38, 146 "SK": 86.26, 147 "SI": 46.44, 148 "SB": 0.67, 149 "ZA": 354.41, 150 "ES": 1374.78, 151 "LK": 48.24, 152 "KN": 0.56, 153 "LC": 1, 154 "VC": 0.58, 155 "SD": 65.93, 156 "SR": 3.3, 157 "SZ": 3.17, 158 "SE": 444.59, 159 "CH": 522.44, 160 "SY": 59.63, 161 "TW": 426.98, 162 "TJ": 5.58, 163 "TZ": 22.43, 164 "TH": 312.61, 165 "TL": 0.62, 166 "TG": 3.07, 167 "TO": 0.3, 168 "TT": 21.2, 169 "TN": 43.86, 170 "TR": 729.05, 171 "TM": 0, 172 "UG": 17.12, 173 "UA": 136.56, 174 "AE": 239.65, 175 "GB": 2258.57, 176 "US": 14624.18, 177 "UY": 40.71, 178 "UZ": 37.72, 179 "VU": 0.72, 180 "VE": 285.21, 181 "VN": 101.99, 182 "YE": 30.02, 183 "ZM": 15.69, 184 "ZW": 5.57 185}; 186$(function () { 187 if(typeof $.fn.vectorMap !== typeof undefined && $('#world-map-gdp1').length > 0){ 188 $('#world-map-gdp1').vectorMap({ 189 map: 'world_mill', 190 series: { 191 regions: [{ 192 normalizeFunction: 'polynomial' 193 }] 194 }, 195 onRegionTipShow: function (e, el, code) { 196 el.html(el.html() + ' (GDP - ' + gdpData[code] + ')'); 197 } 198 }); 199 } 200 if(typeof $.fn.vectorMap !== typeof undefined && $('#world-map-gdp').length > 0){ 201 $('#world-map-gdp').vectorMap({ 202 map: 'world_mill', 203 series: { 204 regions: [{ 205 values: gdpData, 206 scale: ['#C8EEFF', '#0071A4'], 207 normalizeFunction: 'polynomial' 208 }] 209 }, 210 onRegionTipShow: function (e, el, code) { 211 el.html(el.html() + ' (GDP - ' + gdpData[code] + ')'); 212 } 213 }); 214 } 215 if(typeof $.fn.vectorMap !== typeof undefined && $('#world-map-markers') > 0){ 216 $('#world-map-markers').vectorMap({ 217 map: 'world_mill', 218 scaleColors: ['#C8EEFF', '#0071A4'], 219 normalizeFunction: 'polynomial', 220 hoverOpacity: 0.7, 221 hoverColor: false, 222 markerStyle: { 223 initial: { 224 fill: '#F8E23B', 225 stroke: '#383f47' 226 } 227 }, 228 backgroundColor: '#383f47', 229 lines: [ 230 { points: [[41.90, 12.45], [43.73, 7.41], [-0.52, 166.93]], text: "first road" }, 231 { points: [[31.52, -87.37], [21.18, -157.49]], text: "second path" } 232 ], 233 markers: [ 234 { latLng: [41.90, 12.45], name: 'Vatican City' }, 235 { latLng: [43.73, 7.41], name: 'Monaco' }, 236 { latLng: [-0.52, 166.93], name: 'Nauru' }, 237 { latLng: [-8.51, 179.21], name: 'Tuvalu' }, 238 { latLng: [43.93, 12.46], name: 'San Marino' }, 239 { latLng: [47.14, 9.52], name: 'Liechtenstein' }, 240 { latLng: [7.11, 171.06], name: 'Marshall Islands' }, 241 { latLng: [17.3, -62.73], name: 'Saint Kitts and Nevis' }, 242 { latLng: [3.2, 73.22], name: 'Maldives' }, 243 { latLng: [35.88, 14.5], name: 'Malta' }, 244 { latLng: [12.05, -61.75], name: 'Grenada' }, 245 { latLng: [13.16, -61.23], name: 'Saint Vincent and the Grenadines' }, 246 { latLng: [13.16, -59.55], name: 'Barbados' }, 247 { latLng: [17.11, -61.85], name: 'Antigua and Barbuda' }, 248 { latLng: [-4.61, 55.45], name: 'Seychelles' }, 249 { latLng: [7.35, 134.46], name: 'Palau' }, 250 { latLng: [42.5, 1.51], name: 'Andorra' }, 251 { latLng: [14.01, -60.98], name: 'Saint Lucia' }, 252 { latLng: [6.91, 158.18], name: 'Federated States of Micronesia' }, 253 { latLng: [1.3, 103.8], name: 'Singapore' }, 254 { latLng: [1.46, 173.03], name: 'Kiribati' }, 255 { latLng: [-21.13, -175.2], name: 'Tonga' }, 256 { latLng: [15.3, -61.38], name: 'Dominica' },
257 { latLng: [-20.2, 57.5], name: 'Mauritius' }, 258 { latLng: [26.02, 50.55], name: 'Bahrain' }, 259 { latLng: [0.33, 6.73], name: 'São Tomé and PrÃncipe' } 260 ] 261 }); 262 } 263}) 264$(function () { 265 var map, 266 markers = [ 267 { latLng: [52.50, 13.39], name: 'Berlin' }, 268 { latLng: [53.56, 10.00], name: 'Hamburg' }, 269 { latLng: [48.13, 11.56], name: 'Munich' }, 270 { latLng: [50.95, 6.96], name: 'Cologne' }, 271 { latLng: [50.11, 8.68], name: 'Frankfurt am Main' }, 272 { latLng: [48.77, 9.17], name: 'Stuttgart' }, 273 { latLng: [51.23, 6.78], name: 'Düsseldorf' }, 274 { latLng: [51.51, 7.46], name: 'Dortmund' }, 275 { latLng: [51.45, 7.01], name: 'Essen' }, 276 { latLng: [53.07, 8.80], name: 'Bremen' } 277 ], 278 cityAreaData = [ 279 887.70, 280 755.16, 281 310.69, 282 405.17, 283 248.31, 284 207.35, 285 217.22, 286 280.71, 287 210.32, 288 325.42 289 ] 290 if ($.fn.vectorMap !== undefined && $('#rusia-map').length > 0) { 291 $('#rusia-map').vectorMap({ 292 map: 'de_merc', 293 regionsSelectable: true, 294 markersSelectable: true, 295 markers: markers, 296 markerStyle: { 297 initial: { 298 fill: '#4DAC26' 299 }, 300 selected: { 301 fill: '#CA0020' 302 } 303 }, 304 regionStyle: { 305 initial: { 306 fill: '#B8E186' 307 }, 308 selected: { 309 fill: '#F4A582' 310 } 311 }, 312 series: { 313 markers: [{ 314 attribute: 'r', 315 scale: [5, 15], 316 values: cityAreaData 317 }] 318 }, 319 onRegionSelected: function () { 320 if (window.localStorage) { 321 window.localStorage.setItem( 322 'jvectormap-selected-regions', 323 JSON.stringify(map.getSelectedRegions()) 324 ); 325 } 326 }, 327 onMarkerSelected: function () { 328 if (window.localStorage) { 329 window.localStorage.setItem( 330 'jvectormap-selected-markers', 331 JSON.stringify(map.getSelectedMarkers()) 332 ); 333 } 334 } 335 }) 336 } 337}); 338 339$(function () { 340 if ($.fn.vectorMap !== undefined && $('#legend-map').length > 0) { 341 $('#legend-map').vectorMap({ 342 map: 'us_aea', 343 markers: [ 344 [61.18, -149.53], 345 [21.18, -157.49], 346 [40.66, -73.56], 347 [41.52, -87.37], 348 [35.22, -80.84], 349 [31.52, -87.37] 350 ], 351 series: { 352 markers: [{ 353 attribute: 'fill', 354 scale: ['#C8EEFF', '#0071A4'], 355 normalizeFunction: 'polynomial', 356 values: [408, 512, 550, 781], 357 legend: { 358 vertical: true 359 } 360 }, { 361 attribute: 'image', 362 scale: { 363 bank: '../assets/images/vectormap/icon-bank.png', 364 factory: '../assets/images/vectormap/icon-factory.png' 365 }, 366 values: { 367 '4': 'bank', 368 '5': 'factory' 369 }, 370 legend: { 371 horizontal: true, 372 cssClass: 'jvectormap-legend-icons', 373 title: 'Business type' 374 } 375 }], 376 regions: [{ 377 scale: { 378 red: '#ff0000', 379 green: '#00ff00' 380 }, 381 attribute: 'fill', 382 values: { 383 "US-KS": 'red', 384 "US-MO": 'red', 385 "US-IA": 'green', 386 "US-NE": 'green' 387 }, 388 legend: { 389 horizontal: true, 390 title: 'Color' 391 } 392 }, { 393 scale: { 394 redGreen: '../assets/images/vectormap/bg-red-green.png', 395 yellowBlue: '../assets/images/vectormap/bg-yellow-blue.png' 396 }, 397 values: { 398 "US-TX": 'redGreen', 399 "US-CA": 'yellowBlue' 400 }, 401 attribute: 'fill', 402 legend: { 403 horizontal: true, 404 cssClass: 'jvectormap-legend-bg', 405 title: 'Pattern', 406 labelRender: function (v) { 407 return { 408 redGreen: 'low', 409 yellowBlue: 'high' 410 }[v]; 411 } 412 } 413 }] 414 } 415 }) 416 } 417}); 418 419$(function () { 420 var plants = [ 421 { name: 'VAK', coords: [50.0091294, 9.0371812], status: 'closed', offsets: [0, 2] }, 422 { name: 'MZFR', coords: [49.0543102, 8.4825862], status: 'closed', offsets: [0, 2] }, 423 { name: 'AVR', coords: [50.9030599, 6.4213693], status: 'closed' }, 424 { name: 'KKR', coords: [53.1472465, 12.9903674], status: 'closed' }, 425 { name: 'KRB', coords: [48.513264, 10.4020357], status: 'activeUntil2018' }, 426 { name: 'KWO', coords: [49.364503, 9.076252], status: 'closed' }, 427 { name: 'KWL', coords: [52.5331853, 7.2505223], status: 'closed', offsets: [0, -2] }, 428 { name: 'HDR', coords: [50.1051446, 8.9348691], status: 'closed', offsets: [0, -2] }, 429 { name: 'KKS', coords: [53.6200685, 9.5306289], status: 'closed' }, 430 { name: 'KKN', coords: [48.6558015, 12.2500848], status: 'closed', offsets: [0, -2] }, 431 { name: 'KGR', coords: [54.1417497, 13.6583877], status: 'closed' }, 432 { name: 'KWB', coords: [49.709331, 8.415865], status: 'closed' }, 433 { name: 'KWW', coords: [51.6396481, 9.3915617], status: 'closed' }, 434 { name: 'GKN', coords: [49.0401151, 9.1721088], status: 'activeUntil2022' }, 435 { name: 'KKB', coords: [53.8913533, 9.2005777], status: 'closed', offsets: [0, -5] }, 436 { name: 'KKI', coords: [48.5544748, 12.3472095], status: 'activeUntil2022', offsets: [0, 2] }, 437 { name: 'KKU', coords: [53.4293465, 8.4774649], status: 'closed' }, 438 { name: 'KNK', coords: [49.1473279, 8.3827739], status: 'closed' }, 439 { name: 'KKP', coords: [49.2513078, 8.4356761], status: 'activeUntil2022', offsets: [0, -2] }, 440 { name: 'KKG', coords: [49.9841308, 10.1846373], status: 'activeUntil2018' }, 441 { name: 'KKK', coords: [53.4104656, 10.4091597], status: 'closed' }, 442 { name: 'KWG', coords: [52.0348748, 9.4097793], status: 'activeUntil2022' }, 443 { name: 'KBR', coords: [53.850666, 9.3457603], status: 'closed', offsets: [0, 5] }, 444 { name: 'KMK', coords: [50.408791, 7.4861956], status: 'closed' }, 445 { name: 'THTR', coords: [51.6786228, 7.9700232], status: 'closed' }, 446 { name: 'KKE', coords: [52.4216974, 7.3706389], status: 'activeUntil2022', offsets: [0, 2] } 447 ]; 448 if ($.fn.vectorMap !== undefined && $('#icon-map').length > 0) { 449 $('#icon-map').vectorMap({ 450 map: 'de_merc', 451 markers: plants.map(function (h) { return { name: h.name, latLng: h.coords } }), 452 labels: { 453 markers: { 454 render: function (index) { 455 return plants[index].name; 456 }, 457 offsets: function (index) { 458 var offset = plants[index]['offsets'] || [0, 0]; 459 460 return [offset[0] - 7, offset[1] + 3]; 461 } 462 } 463 }, 464 series: { 465 markers: [{ 466 attribute: 'image', 467 scale: { 468 'closed': '../assets/images/vectormap/icon-np-3.png', 469 'activeUntil2018': '../assets/images/vectormap/icon-np-2.png', 470 'activeUntil2022': '../assets/images/vectormap/icon-np-1.png' 471 }, 472 values: plants.reduce(function (p, c, i) { p[i] = c.status; return p }, {}), 473 legend: { 474 horizontal: true, 475 title: 'Nuclear power station status', 476 labelRender: function (v) { 477 return { 478 closed: 'Closed', 479 activeUntil2018: 'Scheduled for shut down<br> before 2018', 480 activeUntil2022: 'Scheduled for shut down<br> before 2022' 481 }[v]; 482 } 483 } 484 }] 485 } 486 }) 487 } 488});
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.