-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfootprint.html
More file actions
90 lines (62 loc) · 3.99 KB
/
Copy pathfootprint.html
File metadata and controls
90 lines (62 loc) · 3.99 KB
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
<!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_5508aa709445d8444a15e5d072c0ef9c {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
</head>
<body>
<div class="folium-map" id="map_5508aa709445d8444a15e5d072c0ef9c" ></div>
</body>
<script>
var map_5508aa709445d8444a15e5d072c0ef9c = L.map(
"map_5508aa709445d8444a15e5d072c0ef9c",
{
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
zoom: 2,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_41d4e5b269116b96724f9dcf6deb09b4 = L.tileLayer(
"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",
{"attribution": "Map tiles by \u003ca target=\"_blank\" href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. 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_5508aa709445d8444a15e5d072c0ef9c);
var marker_6d159e297630b44c505b98510c79d93d = L.marker(
[13.736717, 100.523186],
{}
).addTo(map_5508aa709445d8444a15e5d072c0ef9c);
var popup_17892d4df63cd394fd4281c5d89dcef5 = L.popup({"maxWidth": "100%"});
var html_a792f25406830680eddd9d16ab2e71f1 = $(`<div id="html_a792f25406830680eddd9d16ab2e71f1" style="width: 100.0%; height: 100.0%;">Thailand</div>`)[0];
popup_17892d4df63cd394fd4281c5d89dcef5.setContent(html_a792f25406830680eddd9d16ab2e71f1);
marker_6d159e297630b44c505b98510c79d93d.bindPopup(popup_17892d4df63cd394fd4281c5d89dcef5)
;
</script>
</html>