-
Notifications
You must be signed in to change notification settings - Fork 0
/
tamaulipas.html
73 lines (71 loc) · 1.43 KB
/
tamaulipas.html
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Tamaulipas / Choropleth</title>
</head>
<style>
html,body{ margin:0; padding:0;}
#mapa {
margin: 20px;
padding: 15px;
width: 260px;
height: 500px;
border: 1px dashed #ccc;
}
</style>
<body>
<object data="svg/tamps-municipios.svg" id="mapa" type="image/svg+xml"></object>
<script src="js/choropleth.min.js"></script>
<script>
var colores = ["#EDF8E9","#BAE4B3","#74C476","#238B45"],
map = 'mapa';
mpios = {
nvo_laredo: 43,
guerrero: 70,
mier: 11,
m_aleman: 63,
camargo: 82,
g_diaz_ordaz: 27,
reynosa: 68,
rio_bravo: 23,
v_hermoso: 43,
mendez: 24,
burgos: 33,
cruillas: 22,
s_carlos: 31,
s_nicolas: 68,
villagran: 03,
mainero: 93,
hidalgo: 80,
jimenez: 23,
abasolo: 11,
padilla: 12,
guemez: 38,
victoria: 08,
casas: 49,
jaumave: 83,
miquihuana: 20,
bustamante: 02,
palmillas: 11,
tula: 21,
ocampo: 83,
llera: 18,
g_farias: 22,
xicotencatl: 34,
gonzalez: 43,
mante: 52,
a_morelos: 60,
n_morelos: 60,
altamira: 71,
tampico: 83,
c_madero: 96,
matamoros: 97,
s_fernando: 88,
s_marina: 49,
aldama: 09
};
choropleth.do(map, mpios, colores);
</script>
</body>
</html>