-
Notifications
You must be signed in to change notification settings - Fork 0
/
your_map.html
241 lines (142 loc) · 9.65 KB
/
your_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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE 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/[email protected]/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/[email protected]/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://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_fa522bc07f05497c8e70b8fd269629ee {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_fa522bc07f05497c8e70b8fd269629ee" ></div>
</body>
<script>
var map_fa522bc07f05497c8e70b8fd269629ee = L.map(
"map_fa522bc07f05497c8e70b8fd269629ee",
{
center: [0, 0],
crs: L.CRS.EPSG3857,
zoom: 1,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_6555fb9439a048118f902d211d9c0f6c = 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_fa522bc07f05497c8e70b8fd269629ee);
var feature_group_1d32108014c947b1b7929b8419709a6e = L.featureGroup(
{}
).addTo(map_fa522bc07f05497c8e70b8fd269629ee);
var marker_97a7d6e984ef4f8e91a5652a68d674b3 = L.marker(
[43.1009031, -75.2326641],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_328e8e70feab490bbce72e14c3ab1a77 = L.popup({"maxWidth": "100%"});
var html_4e559dd322ac4f4e880a44974801baa5 = $(`<div id="html_4e559dd322ac4f4e880a44974801baa5" style="width: 100.0%; height: 100.0%;">Adirondack Paradise</div>`)[0];
popup_328e8e70feab490bbce72e14c3ab1a77.setContent(html_4e559dd322ac4f4e880a44974801baa5);
marker_97a7d6e984ef4f8e91a5652a68d674b3.bindPopup(popup_328e8e70feab490bbce72e14c3ab1a77)
;
var marker_4f77f632bff64a469a91c71a4655dd18 = L.marker(
[1.5333554, 32.2166578],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_12f44ca437ff4531ab00e5ef9e233d1a = L.popup({"maxWidth": "100%"});
var html_2676ea19b72f40d089e657fe8d7762d8 = $(`<div id="html_2676ea19b72f40d089e657fe8d7762d8" style="width: 100.0%; height: 100.0%;">Admitted</div>`)[0];
popup_12f44ca437ff4531ab00e5ef9e233d1a.setContent(html_2676ea19b72f40d089e657fe8d7762d8);
marker_4f77f632bff64a469a91c71a4655dd18.bindPopup(popup_12f44ca437ff4531ab00e5ef9e233d1a)
;
var marker_2a6ac3b7366844909c76034579819cbb = L.marker(
[19.4326296, -99.1331785],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_d35b660e6e524753abbf8f2b2fe47469 = L.popup({"maxWidth": "100%"});
var html_5e4e74a8dc044bc99d7e4472d805ff00 = $(`<div id="html_5e4e74a8dc044bc99d7e4472d805ff00" style="width: 100.0%; height: 100.0%;">Adri�n Villar Rojas: Los Teatros De Saturno</div>`)[0];
popup_d35b660e6e524753abbf8f2b2fe47469.setContent(html_5e4e74a8dc044bc99d7e4472d805ff00);
marker_2a6ac3b7366844909c76034579819cbb.bindPopup(popup_d35b660e6e524753abbf8f2b2fe47469)
;
var marker_43c05b69dff44630bd2d45a13b4cffa6 = L.marker(
[43.6534817, -79.3839347],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_1aedd15f68a34c70be8f910f9b310278 = L.popup({"maxWidth": "100%"});
var html_0b1cbf6b9f5c475ea70f8735c8d76e38 = $(`<div id="html_0b1cbf6b9f5c475ea70f8735c8d76e38" style="width: 100.0%; height: 100.0%;">American Heist</div>`)[0];
popup_1aedd15f68a34c70be8f910f9b310278.setContent(html_0b1cbf6b9f5c475ea70f8735c8d76e38);
marker_43c05b69dff44630bd2d45a13b4cffa6.bindPopup(popup_1aedd15f68a34c70be8f910f9b310278)
;
var marker_e9a1ef43cbf94e2ebc062c111dd8d4be = L.marker(
[40.4416941, -79.9900861],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_1203dad17ea74cf7b7cdf9320f0edf0f = L.popup({"maxWidth": "100%"});
var html_184e4eb662d64c1caeabdf94cb58ee12 = $(`<div id="html_184e4eb662d64c1caeabdf94cb58ee12" style="width: 100.0%; height: 100.0%;">Astronomer's Dream</div>`)[0];
popup_1203dad17ea74cf7b7cdf9320f0edf0f.setContent(html_184e4eb662d64c1caeabdf94cb58ee12);
marker_e9a1ef43cbf94e2ebc062c111dd8d4be.bindPopup(popup_1203dad17ea74cf7b7cdf9320f0edf0f)
;
var marker_61a750cc945c47afae2bb6da3d5a01c0 = L.marker(
[47.6038321, -122.3300624],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_80af2a1b307f4fb0984ed22406915857 = L.popup({"maxWidth": "100%"});
var html_59bed58b5fcf4ffabfcb7bb184a349ef = $(`<div id="html_59bed58b5fcf4ffabfcb7bb184a349ef" style="width: 100.0%; height: 100.0%;">Blackroot</div>`)[0];
popup_80af2a1b307f4fb0984ed22406915857.setContent(html_59bed58b5fcf4ffabfcb7bb184a349ef);
marker_61a750cc945c47afae2bb6da3d5a01c0.bindPopup(popup_80af2a1b307f4fb0984ed22406915857)
;
var marker_c05b0f0d85894f88aae25440a06ca52b = L.marker(
[62.60162565, 8.138620840166594],
{}
).addTo(feature_group_1d32108014c947b1b7929b8419709a6e);
var popup_602289dff369489b8ad5d3ce4abf99be = L.popup({"maxWidth": "100%"});
var html_d79bc7472064451097f1fcb46d79be49 = $(`<div id="html_d79bc7472064451097f1fcb46d79be49" style="width: 100.0%; height: 100.0%;">Brist</div>`)[0];
popup_602289dff369489b8ad5d3ce4abf99be.setContent(html_d79bc7472064451097f1fcb46d79be49);
marker_c05b0f0d85894f88aae25440a06ca52b.bindPopup(popup_602289dff369489b8ad5d3ce4abf99be)
;
var feature_group_8407a2bc8e2e4992b27e2800a4b5a7d1 = L.featureGroup(
{}
).addTo(map_fa522bc07f05497c8e70b8fd269629ee);
var marker_093a8553fcb2451e907975670d07d895 = L.marker(
[49.8397, 24.0297],
{}
).addTo(feature_group_8407a2bc8e2e4992b27e2800a4b5a7d1);
var popup_a6ce6bf0eb544da0bf2bc45f5dce506e = L.popup({"maxWidth": "100%"});
var html_f7b0b60ee03947a293cc00a871e3423f = $(`<div id="html_f7b0b60ee03947a293cc00a871e3423f" style="width: 100.0%; height: 100.0%;">Lviv</div>`)[0];
popup_a6ce6bf0eb544da0bf2bc45f5dce506e.setContent(html_f7b0b60ee03947a293cc00a871e3423f);
marker_093a8553fcb2451e907975670d07d895.bindPopup(popup_a6ce6bf0eb544da0bf2bc45f5dce506e)
;
var layer_control_48e9b6b3a7ff426e8bafbdbaed9c65f5 = {
base_layers : {
"openstreetmap" : tile_layer_6555fb9439a048118f902d211d9c0f6c,
},
overlays : {
"closest locations" : feature_group_1d32108014c947b1b7929b8419709a6e,
"Lviv location" : feature_group_8407a2bc8e2e4992b27e2800a4b5a7d1,
},
};
L.control.layers(
layer_control_48e9b6b3a7ff426e8bafbdbaed9c65f5.base_layers,
layer_control_48e9b6b3a7ff426e8bafbdbaed9c65f5.overlays,
{"autoZIndex": true, "collapsed": true, "position": "topright"}
).addTo(map_fa522bc07f05497c8e70b8fd269629ee);
</script>