-
Notifications
You must be signed in to change notification settings - Fork 0
/
canada_sentiment_map.html
76 lines (58 loc) · 7.09 KB
/
canada_sentiment_map.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
74
75
76
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<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>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.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.9.3/dist/leaflet.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.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://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_dd60e944c61175d2c2320efafe6079ce {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium@main/folium/templates/leaflet_heat.min.js"></script>
</head>
<body>
<div class="folium-map" id="map_dd60e944c61175d2c2320efafe6079ce" ></div>
</body>
<script>
var map_dd60e944c61175d2c2320efafe6079ce = L.map(
"map_dd60e944c61175d2c2320efafe6079ce",
{
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_9c833971d2195460176967ba71980d0d = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" 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_dd60e944c61175d2c2320efafe6079ce);
var heat_map_f3d20c834365be792830faca23021473 = L.heatLayer(
[[43.6534817, -79.3839347, 0.0761904761904762], [42.9832406, -81.243372, -0.03958333333333333], [49.2608724, -123.113952, 0.23750000000000002], [45.4208777, -75.6901106, 0.03333333333333333], [43.6534817, -79.3839347, 0.25], [44.648618, -63.5859487, 0.1374025974025974], [51.2715316, -0.3414523511290909, -0.09351851851851851], [52.131802, -106.660767, -0.07777777777777779], [42.9832406, -81.243372, 0.025], [49.2608724, -123.113952, 0.017857142857142856], [51.0460954, -114.065465, 0.0], [45.4208777, -75.6901106, 0.1], [49.2608724, -123.113952, 0.2], [52.131802, -106.660767, 0.1], [51.0460954, -114.065465, 0.06], [49.2608724, -123.113952, 0.2333333333333333], [42.9832406, -81.243372, 0.16285714285714287], [49.2608724, -123.113952, 0.0], [55.001251, -115.002136, 0.0], [51.0460954, -114.065465, 0.04545454545454545], [44.3893113, -79.6901736, 0.0], [51.2715316, -0.3414523511290909, 0.0], [43.2560802, -79.8728583, -0.06666666666666667], [43.6534817, -79.3839347, -0.025], [51.2715316, -0.3414523511290909, -0.05555555555555555], [43.08436, -79.0614686, 0.0], [43.4652699, -80.5222961, 0.0], [45.4208777, -75.6901106, 0.0], [44.3893113, -79.6901736, 0.195], [43.6534817, -79.3839347, 0.0], [43.6534817, -79.3839347, 0.05], [-36.5986096, 144.6780052, 0.16666666666666666], [55.001251, -97.001038, 0.15], [55.001251, -97.001038, 0.0], [45.403271, -71.889038, 0.0], [54.3126572, -130.32549, 0.0], [52.131802, -106.660767, 0.0], [37.1815024, -77.2153144, 0.028571428571428574], [45.403271, -71.889038, 0.041666666666666664], [43.5460516, -80.2493276, 0.125], [50.9307241, -102.807296, 0.05325757575757577], [47.6536105, 3.3254262, -0.041666666666666664], [49.2608724, -123.113952, 0.0], [45.5031824, -73.5698065, -0.16666666666666666], [55.001251, -97.001038, 0.25], [17.9712148, -76.7928128, 0.11666666666666665], [45.403271, -71.889038, 0.0], [43.6534817, -79.3839347, 0.0], [45.403271, -71.889038, 0.0], [45.8999177, -64.3655256, 0.0], [54.13026, -108.435059, 0.0], [46.0188544, 5.4592601, 0.0], [46.500283, -66.750183, 0.1625], [46.0188544, 5.4592601, -0.21000000000000002], [46.500283, -66.750183, 0.27499999999999997], [49.8955367, -97.1384584, 0.2], [43.5460516, -80.2493276, 0.04545454545454545], [47.6536105, 3.3254262, -0.08333333333333333], [43.5460516, -80.2493276, 0.008333333333333333], [45.5031824, -73.5698065, -0.08333333333333333], [52.131802, -106.660767, 0.025000000000000022], [46.097995, -64.80011, 0.0], [46.8137431, -71.2084061, 0.4348484848484848], [40.1541581, -77.2803933, 0.0], [46.0188544, 5.4592601, 0.25], [46.097995, -64.80011, 0.146875], [44.3893113, -79.6901736, 0.0], [49.8879177, -119.495902, 0.25], [40.1541581, -77.2803933, 0.1], [49.8879177, -119.495902, 0.02500000000000001], [37.1815024, -77.2153144, 0.0], [54.3126572, -130.32549, 0.04545454545454545], [46.8137431, -71.2084061, 0.0909090909090909], [50.724140500000004, -3.6607788161410735, -0.05583333333333333], [-36.5986096, 144.6780052, 0.25], [43.2560802, -79.8728583, 0.0], [-36.5986096, 144.6780052, 0.04545454545454545], [49.2608724, -123.113952, 0.0], [49.8955367, -97.1384584, -0.041666666666666664], [45.5031824, -73.5698065, -0.011111111111111118], [43.2560802, -79.8728583, 0.35], [44.648618, -63.5859487, 0.28125], [43.8801166, -79.4392925, 0.0], [-36.5986096, 144.6780052, 0.25], [43.685832, -79.7599366, 0.10909090909090909], [43.8801166, -79.4392925, 0.06666666666666667], [49.8879177, -119.495902, 0.016666666666666666], [44.648618, -63.5859487, 0.04727272727272727], [43.6534817, -79.3839347, 0.06818181818181818], [43.6534817, -79.3839347, 0.0], [-36.5986096, 144.6780052, 0.0], [53.5462055, -113.491241, 0.13766233766233765], [47.5614705, -52.7126162, -0.06333333333333332], [45.4208777, -75.6901106, 0.02787878787878788], [45.5031824, -73.5698065, 0.0]],
{"blur": 15, "maxZoom": 18, "minOpacity": 0.5, "radius": 25}
).addTo(map_dd60e944c61175d2c2320efafe6079ce);
</script>
</html>