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

70 lines
No EOL
5.7 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_16dbd09eecf7436cb58d5442ff2c980c {
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_16dbd09eecf7436cb58d5442ff2c980c" ></div>
</body>
<script>
var map_16dbd09eecf7436cb58d5442ff2c980c = L.map(
"map_16dbd09eecf7436cb58d5442ff2c980c",
{
center: [45.4612, 9.1878],
crs: L.CRS.EPSG3857,
zoom: 6,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_21f6624b94474c6790f1c7ebfd4f6477 = 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_16dbd09eecf7436cb58d5442ff2c980c);
var heat_map_8444ea79431e4ad29252409c38290594 = L.heatLayer(
[[45.6389, 9.9339, 2], [45.4345, 12.3384, 4], [45.6517, 9.8506, 3], [45.197, 11.6203, 5], [41.7715, 12.23, 2], [39.9838, 15.7477, 1], [44.7939, 8.441, 1], [41.9, 12.4833, 20], [45.05, 7.6667, 7], [50.85045, 4.34878, 20], [46.1167, 9.5567, 1], [42.0292, 12.9229, 1], [43.7667, 11.25, 1], [44.7154, 10.7442, 2], [44.815, 10.308, 1], [43.0702, 12.6175, 1], [44.3888, 7.5471, 2], [44.4167, 8.95, 2], [44.0484, 8.215, 2], [45.442, 10.9955, 3], [45.0707, 11.7898, 1], [44.8883, 11.4106, 1], [45.4612, 9.1878, 39], [45.5831, 9.67, 3], [44.4465, 8.749, 1], [42.6888, 12.1338, 4], [44.0322, 12.3565, 1], [46.0693, 11.5091, 2], [45.6539, 8.2709, 5], [45.6218, 9.9574, 5], [45.775, 12.8378, 1], [45.8153, 12.7372, 2], [46.0017, 12.2571, 7], [45.812, 9.0855, 5], [44.4938, 11.3387, 2], [40.6633, 15.1064, 3], [45.0011, 8.0502, 1], [45.672, 9.0858, 1], [44.9266, 9.973, 1], [41.8341, 12.7529, 2], [44.1089, 8.0028, 2], [40.6567, 14.6084, 2], [40.5177, 15.9255, 2], [40.4227, 15.5588, 2], [38.0917, 16.1502, 1], [45.5505, 12.0722, 1], [46.2561, 13.0828, 2], [45.6998, 9.2094, 1], [45.6833, 9.7167, 1], [45.753, 9.5334, 1], [36.8918, 15.0709, 1], [44.9817, 8.8105, 1], [45.7833, 8.8117, 1], [45.8176, 8.8264, 1], [46.4676, 10.3781, 2], [43.9272, 8.1152, 1], [46.5451, 10.1413, 1], [45.7906, 8.9342, 2], [45.8598, 8.8609, 1], [36.7261, 14.8456, 1], [45.6361, 9.8139, 1], [46.0596, 10.7524, 5], [44.9342, 7.5413, 1], [45.4978, 9.4184, 2], [45.7821, 9.7534, 1], [45.7332, 9.4983, 2], [38.5126, 16.1001, 1], [45.4978, 9.6025, 1], [40.2495, 15.1905, 1], [46.3138, 11.3356, 1], [45.5766, 9.6152, 2], [45.5556, 8.9757, 1], [45.721, 8.9903, 2], [45.8785, 9.3, 1], [45.6269, 9.3265, 2], [46.3042, 9.3775, 2], [46.1356, 9.3713, 1], [45.6507, 9.603, 1], [45.7072, 9.3376, 3], [45.593, 9.2265, 1], [45.3618, 9.6832, 1], [45.1335, 10.0261, 1], [45.5214, 9.5897, 1], [45.256, 10.6731, 3], [45.5792, 8.8025, 1], [45.7798, 9.2013, 1], [45.5026, 9.9469, 1], [45.6987, 8.4626, 1], [45.3238, 11.3316, 1], [45.4746, 10.8464, 1], [45.5419, 9.1684, 1], [45.9072, 13.3111, 1], [39.3995, 16.2881, 1], [48.8534, 2.3486, 1], [45.66, 9.1545, 1], [38.1181, 15.08, 1], [45.55, 10.25, 2], [45.3129, 9.4978, 2], [41.1261, 16.8693, 1], [45.2575, 7.5584, 1], [46.0649, 13.2307, 1], [45.9413, 13.6215, 1], [45.8096, 13.5329, 1], [45.6785, 13.396, 1], [45.989, 12.7074, 1], [46.217, 12.7959, 1], [45.9675, 12.7735, 1], [45.9627, 12.655, 1], [46.5482, 11.0037, 1], [40.4848, 8.5879, 1], [45.5746, 10.7077, 1], [43.9322, 10.9185, 1], [40.9092, 14.5092, 1]],
{"blur": 4, "max": 39, "maxZoom": 4, "minOpacity": 0.2, "radius": 7}
).addTo(map_16dbd09eecf7436cb58d5442ff2c980c);
</script>