-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjvector_script.js
executable file
·107 lines (96 loc) · 1.72 KB
/
jvector_script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
$(function(){
$('#africa-map').vectorMap({
map: 'africa_mill',
backgroundColor: '#f8538d',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#asia-map').vectorMap({
map: 'asia_mill',
backgroundColor: '#2196f3',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#continents-map').vectorMap({
map: 'continents_mill',
backgroundColor: '#25d5e4',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#europe-map').vectorMap({
map: 'europe_mill',
backgroundColor: '#3b3f5c',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#north_america-map').vectorMap({
map: 'north_america_mill',
backgroundColor: '#ffbb44',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#oceanina-map').vectorMap({
map: 'oceania_mill',
backgroundColor: '#e95f2b',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#south-america-map').vectorMap({
map: 'south_america_mill',
backgroundColor: '#25d5e4',
regionStyle: {
initial: {
fill: '#fff'
}
}
});
$('#world-map').vectorMap({
map: 'world_mill_en',
backgroundColor: '#5c1ac3',
borderColor: '#818181',
borderOpacity: 0.25,
borderWidth: 1,
color: '#f4f3f0',
regionStyle: {
initial: {
fill: '#fff'
}
},
markerStyle: {
initial: {
r: 9,
'fill': '#fff',
'fill-opacity': 1,
'stroke': '#000',
'stroke-width': 5,
'stroke-opacity': 0.4
},
},
enableZoom: true,
hoverColor: '#060818',
hoverOpacity: null,
normalizeFunction: 'linear',
scaleColors: ['#b6d6ff', '#005ace'],
selectedColor: '#c9dfaf',
selectedRegions: [],
showTooltip: true,
});
});