UniTO/anno3/avrc/assignments/dataviz/dataset/2018/salvini_comuni.html
2024-10-29 09:11:05 +01:00

70 lines
No EOL
6.3 KiB
HTML
Executable file

<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.5.1/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.5.1/dist/leaflet.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://rawcdn.githack.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css"/>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_cdc37a2ab5f445fda4705a955be5f529 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
<script src="https://leaflet.github.io/Leaflet.heat/dist/leaflet-heat.js"></script>
</head>
<body>
<div class="folium-map" id="map_cdc37a2ab5f445fda4705a955be5f529" ></div>
</body>
<script>
var map_cdc37a2ab5f445fda4705a955be5f529 = L.map(
"map_cdc37a2ab5f445fda4705a955be5f529",
{
center: [45.4612, 9.1878],
crs: L.CRS.EPSG3857,
zoom: 6,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_9e210d5cfc0742daac10adeb66ef03b8 = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_cdc37a2ab5f445fda4705a955be5f529);
var heat_map_0bc389dc67d649dda3dd7b056845c0f7 = L.heatLayer(
[[45.7583, 9.7969, 1], [45.6833, 9.7167, 6], [43.8987, 12.8437, 1], [45.5279, 7.9094, 1], [40.5177, 15.9255, 3], [43.7667, 11.25, 4], [45.4612, 9.1878, 35], [44.8436, 10.4476, 2], [44.815, 10.308, 4], [43.6766, 10.5468, 1], [43.7161, 10.3966, 5], [41.9, 12.4833, 27], [43.5811, 13.0261, 4], [42.6888, 12.1338, 8], [45.6539, 8.2709, 5], [41.6883, 13.0163, 1], [50.85045, 4.34878, 5], [45.4344, 9.4309, 1], [39.2149, 9.1095, 2], [39.9266, 9.6578, 1], [40.8333, 14.25, 5], [41.5891, 12.9703, 2], [41.2912, 13.2489, 2], [46.14, 12.2176, 2], [46.3138, 11.3356, 1], [37.5021, 15.0872, 5], [46.672, 11.5512, 1], [41.3552, 13.4324, 1], [40.6507, 14.6261, 1], [45.5741, 9.7681, 1], [38.1167, 13.3667, 3], [43.8593, 10.5944, 1], [45.442, 10.9955, 6], [43.1656, 13.7242, 3], [46.3958, 11.1195, 1], [44.1089, 8.0028, 1], [46.0703, 11.1216, 10], [46.2144, 11.1199, 1], [46.3661, 11.0341, 1], [46.4952, 11.3541, 8], [44.9388, 6.7503, 1], [55.75222, 37.61556, 3], [42.7453, 12.7384, 2], [39.2863, 16.3224, 2], [40.9434, 14.875, 1], [45.8561, 9.1166, 1], [45.8906, 10.01, 3], [45.584, 9.273, 2], [46.7159, 11.6572, 1], [46.4268, 11.3377, 2], [45.7578, 11.0003, 1], [45.9791, 11.0946, 1], [45.98, 12.5025, 3], [46.0693, 11.5091, 1], [44.4167, 8.95, 14], [41.4676, 12.9037, 4], [45.4345, 12.3384, 6], [46.0349, 13.3038, 1], [46.0649, 13.2307, 5], [40.6687, 16.6061, 1], [40.4227, 15.5588, 3], [45.2839, 9.0366, 3], [45.1385, 7.0484, 1], [43.8449, 13.0169, 1], [41.1261, 16.8693, 1], [40.2495, 15.1905, 1], [40.3533, 18.174, 1], [44.7271, 11.2892, 1], [42.4174, 12.1049, 2], [42.4542, 11.4215, 1], [45.55, 10.25, 1], [45.7332, 9.4983, 4], [40.7272, 8.5585, 1], [45.6269, 9.3265, 1], [44.9132, 8.617, 2], [45.3238, 11.3316, 2], [44.8599, 10.1763, 1], [36.7261, 14.8456, 1], [42.5467, 14.123, 1], [42.6613, 13.6985, 1], [38.3524, 15.8363, 2], [46.5482, 11.0037, 2], [43.1107, 12.3892, 1], [44.913, 7.3647, 1], [40.8671, 14.7799, 1], [45.4973, 9.6439, 1], [45.05, 7.6667, 5], [43.9567, 10.2266, 1], [43.3187, 11.3305, 2], [42.5602, 12.6468, 3], [45.3757, 9.211, 1], [46.1713, 9.8693, 1], [45.4666, 7.8759, 1], [45.0074, 7.5374, 1], [45.1414, 7.1475, 1], [40.6362, 17.939, 1], [45.6663, 12.2421, 2], [39.9838, 15.7477, 3], [52.52437, 13.41053, 2], [48.8534, 2.3486, 1], [45.6507, 9.603, 1], [44.9269, 10.3755, 1], [44.9817, 8.8105, 1], [44.9694, 7.7731, 1], [45.9413, 13.6215, 1], [46.4063, 13.0126, 2], [45.6536, 13.7784, 1], [41.5943, 14.2308, 4], [41.6311, 14.4935, 9], [41.5601, 14.6648, 1], [41.0139, 15.3753, 1], [43.7799, 10.9234, 3], [45.9025, 12.5352, 1], [45.9627, 12.655, 1], [46.1113, 12.8991, 1], [38.4873, 15.9764, 1], [38.91, 16.5877, 1], [46.3042, 9.3775, 3], [40.6633, 15.1064, 2], [45.8418, 9.3517, 1], [44.4938, 11.3387, 2], [44.0322, 12.3565, 3], [44.5441, 10.7849, 1], [44.6471, 10.9252, 3], [45.9295, 11.073, 2], [42.5265, 13.0983, 1], [38.1922, 15.5566, 1], [43.7904, 7.6071, 1], [44.0484, 8.215, 1], [44.8379, 11.6204, 1], [43.4712, 11.8631, 1], [45.4246, 7.995, 1], [40.8644, 14.6484, 1], [45.4167, 11.8833, 1], [45.5459, 11.5403, 1], [45.6785, 13.396, 1], [41.5524, 13.6681, 1], [45.853, 9.3901, 1]],
{"blur": 4, "max": 35, "maxZoom": 4, "minOpacity": 0.2, "radius": 7}
).addTo(map_cdc37a2ab5f445fda4705a955be5f529);
</script>