-
Notifications
You must be signed in to change notification settings - Fork 1
/
mymap.html
575 lines (356 loc) · 20.9 KB
/
mymap.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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>L_PREFER_CANVAS=false; L_NO_TOUCH=false; L_DISABLE_3D=false;</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.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://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_a9dbe196d1dd439683bbce0d24a91907 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_a9dbe196d1dd439683bbce0d24a91907" ></div>
</body>
<script>
var bounds = null;
var map_a9dbe196d1dd439683bbce0d24a91907 = L.map(
'map_a9dbe196d1dd439683bbce0d24a91907', {
center: [0, 0],
zoom: 2,
maxBounds: bounds,
layers: [],
worldCopyJump: false,
crs: L.CRS.EPSG3857,
zoomControl: true,
});
var tile_layer_8c022f560f1e4f359d3a340ec831a878 = L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
"attribution": null,
"detectRetina": false,
"maxNativeZoom": 18,
"maxZoom": 18,
"minZoom": 0,
"noWrap": false,
"opacity": 1,
"subdomains": "abc",
"tms": false
}).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var marker_4d3c869d4982499e87f759c5941ec5a6 = L.marker(
[31.22222, 121.45806],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_35d0581c0d09480a9ffc7defaef36d55 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_4d3c869d4982499e87f759c5941ec5a6.setIcon(icon_35d0581c0d09480a9ffc7defaef36d55);
var popup_307ea755b0104a25a2fb07ee97c3d88f = L.popup({maxWidth: '300'
});
var html_4fc73ff5cbd1411099bce3475dd3c244 = $(`<div id="html_4fc73ff5cbd1411099bce3475dd3c244" style="width: 100.0%; height: 100.0%;">Shanghai<br/>22315474</div>`)[0];
popup_307ea755b0104a25a2fb07ee97c3d88f.setContent(html_4fc73ff5cbd1411099bce3475dd3c244);
marker_4d3c869d4982499e87f759c5941ec5a6.bindPopup(popup_307ea755b0104a25a2fb07ee97c3d88f)
;
var marker_98493b6c5eb3447ea6498c90dd71c8a6 = L.marker(
[41.01384, 28.949659999999998],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_c6e9a7e25f6f4acfbdd91f2aab1c049b = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_98493b6c5eb3447ea6498c90dd71c8a6.setIcon(icon_c6e9a7e25f6f4acfbdd91f2aab1c049b);
var popup_46614c47462242ffac682be1162c1662 = L.popup({maxWidth: '300'
});
var html_8106f5891be54f648f51b6f2e69b3253 = $(`<div id="html_8106f5891be54f648f51b6f2e69b3253" style="width: 100.0%; height: 100.0%;">Istanbul<br/>14804116</div>`)[0];
popup_46614c47462242ffac682be1162c1662.setContent(html_8106f5891be54f648f51b6f2e69b3253);
marker_98493b6c5eb3447ea6498c90dd71c8a6.bindPopup(popup_46614c47462242ffac682be1162c1662)
;
var marker_7a47b4046d8b4f7e8b46475dee64c625 = L.marker(
[-34.61315, -58.377230000000004],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_4fd7c1907b024e33a99f086b59ea719e = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_7a47b4046d8b4f7e8b46475dee64c625.setIcon(icon_4fd7c1907b024e33a99f086b59ea719e);
var popup_52d4530874d9477193f1f54a11754f24 = L.popup({maxWidth: '300'
});
var html_c896265a56104f95b312b91cff86a564 = $(`<div id="html_c896265a56104f95b312b91cff86a564" style="width: 100.0%; height: 100.0%;">Buenos Aires<br/>13076300</div>`)[0];
popup_52d4530874d9477193f1f54a11754f24.setContent(html_c896265a56104f95b312b91cff86a564);
marker_7a47b4046d8b4f7e8b46475dee64c625.bindPopup(popup_52d4530874d9477193f1f54a11754f24)
;
var marker_d98939df75984ae4af88f46d8183a1ee = L.marker(
[19.07283, 72.88261],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_efd53210ddee4795ba0213334d8df1d5 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_d98939df75984ae4af88f46d8183a1ee.setIcon(icon_efd53210ddee4795ba0213334d8df1d5);
var popup_84d5050979444fbcb08f71cecb6aff00 = L.popup({maxWidth: '300'
});
var html_eac13e489e68490b8ea935f70958b049 = $(`<div id="html_eac13e489e68490b8ea935f70958b049" style="width: 100.0%; height: 100.0%;">Mumbai<br/>12691836</div>`)[0];
popup_84d5050979444fbcb08f71cecb6aff00.setContent(html_eac13e489e68490b8ea935f70958b049);
marker_d98939df75984ae4af88f46d8183a1ee.bindPopup(popup_84d5050979444fbcb08f71cecb6aff00)
;
var marker_7a8e481d448545b2a323a3a9216c65b0 = L.marker(
[19.42847, -99.12765999999999],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_8dbafeb0a2f54e78beadb8fdfd33859b = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_7a8e481d448545b2a323a3a9216c65b0.setIcon(icon_8dbafeb0a2f54e78beadb8fdfd33859b);
var popup_954bec715c314ad4b2881e33cfb7ae04 = L.popup({maxWidth: '300'
});
var html_3e3601ad6d23403e8c8ce85e46e6d965 = $(`<div id="html_3e3601ad6d23403e8c8ce85e46e6d965" style="width: 100.0%; height: 100.0%;">Mexico City<br/>12294193</div>`)[0];
popup_954bec715c314ad4b2881e33cfb7ae04.setContent(html_3e3601ad6d23403e8c8ce85e46e6d965);
marker_7a8e481d448545b2a323a3a9216c65b0.bindPopup(popup_954bec715c314ad4b2881e33cfb7ae04)
;
var marker_4922ef93a0344e139a45e1f9934d2c30 = L.marker(
[39.9075, 116.39723000000001],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_bff2de5f2a984ea3bf29b32c024f2573 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_4922ef93a0344e139a45e1f9934d2c30.setIcon(icon_bff2de5f2a984ea3bf29b32c024f2573);
var popup_3b55d818eab743269a79c160950c125b = L.popup({maxWidth: '300'
});
var html_a16b26947a07469eb3332423533cdfa9 = $(`<div id="html_a16b26947a07469eb3332423533cdfa9" style="width: 100.0%; height: 100.0%;">Beijing<br/>11716620</div>`)[0];
popup_3b55d818eab743269a79c160950c125b.setContent(html_a16b26947a07469eb3332423533cdfa9);
marker_4922ef93a0344e139a45e1f9934d2c30.bindPopup(popup_3b55d818eab743269a79c160950c125b)
;
var marker_559ea033b26540c1a3ab42c875d0cff0 = L.marker(
[24.8608, 67.0104],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_ad28a967fdcf43698cde9d6199cc0428 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_559ea033b26540c1a3ab42c875d0cff0.setIcon(icon_ad28a967fdcf43698cde9d6199cc0428);
var popup_eebf0ac4b42947d1a5bc46c56493adf0 = L.popup({maxWidth: '300'
});
var html_6448c5e1be804ef79b723733af1c2869 = $(`<div id="html_6448c5e1be804ef79b723733af1c2869" style="width: 100.0%; height: 100.0%;">Karachi<br/>11624219</div>`)[0];
popup_eebf0ac4b42947d1a5bc46c56493adf0.setContent(html_6448c5e1be804ef79b723733af1c2869);
marker_559ea033b26540c1a3ab42c875d0cff0.bindPopup(popup_eebf0ac4b42947d1a5bc46c56493adf0)
;
var marker_813b8a85b24a4b10809d494f79286663 = L.marker(
[39.14222, 117.17667],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_6af9436cbc064357877b5f7d398dfa47 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_813b8a85b24a4b10809d494f79286663.setIcon(icon_6af9436cbc064357877b5f7d398dfa47);
var popup_ccab5cad90234e87882841ab03ca097a = L.popup({maxWidth: '300'
});
var html_7831cee85b8740edb7cb591e828c81f3 = $(`<div id="html_7831cee85b8740edb7cb591e828c81f3" style="width: 100.0%; height: 100.0%;">Tianjin<br/>11090314</div>`)[0];
popup_ccab5cad90234e87882841ab03ca097a.setContent(html_7831cee85b8740edb7cb591e828c81f3);
marker_813b8a85b24a4b10809d494f79286663.bindPopup(popup_ccab5cad90234e87882841ab03ca097a)
;
var marker_7ea55e9a8d524469aa8af86395ca4f36 = L.marker(
[23.116670000000003, 113.25],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_404ee43c1f034bcb8d78bd8b800254e0 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_7ea55e9a8d524469aa8af86395ca4f36.setIcon(icon_404ee43c1f034bcb8d78bd8b800254e0);
var popup_9928221182de4e68a649196acca8a2d2 = L.popup({maxWidth: '300'
});
var html_8718386197594628ac1c7a58ebf79ee6 = $(`<div id="html_8718386197594628ac1c7a58ebf79ee6" style="width: 100.0%; height: 100.0%;">Guangzhou<br/>11071424</div>`)[0];
popup_9928221182de4e68a649196acca8a2d2.setContent(html_8718386197594628ac1c7a58ebf79ee6);
marker_7ea55e9a8d524469aa8af86395ca4f36.bindPopup(popup_9928221182de4e68a649196acca8a2d2)
;
var marker_5a1ee851526940a3ad862ffc9fc1c99a = L.marker(
[28.65195, 77.23149000000001],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_223f42e9c9444985bc04527205aebb0e = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_5a1ee851526940a3ad862ffc9fc1c99a.setIcon(icon_223f42e9c9444985bc04527205aebb0e);
var popup_d582fb6330424e7f8d177b08ee6f4926 = L.popup({maxWidth: '300'
});
var html_d45d4bb7dafd494f99aa6391a4b54b95 = $(`<div id="html_d45d4bb7dafd494f99aa6391a4b54b95" style="width: 100.0%; height: 100.0%;">Delhi<br/>10927986</div>`)[0];
popup_d582fb6330424e7f8d177b08ee6f4926.setContent(html_d45d4bb7dafd494f99aa6391a4b54b95);
marker_5a1ee851526940a3ad862ffc9fc1c99a.bindPopup(popup_d582fb6330424e7f8d177b08ee6f4926)
;
var marker_1e3b161e1e134149aed05dabba88a841 = L.marker(
[55.752219999999994, 37.615559999999995],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_7ccf678c9b9942bab3b18cb8925536f7 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_1e3b161e1e134149aed05dabba88a841.setIcon(icon_7ccf678c9b9942bab3b18cb8925536f7);
var popup_2e3c8faf792742328abcd9ad91e7cea7 = L.popup({maxWidth: '300'
});
var html_18afa028ca104b7485bd1ee994ce2ee4 = $(`<div id="html_18afa028ca104b7485bd1ee994ce2ee4" style="width: 100.0%; height: 100.0%;">Moscow<br/>10381222</div>`)[0];
popup_2e3c8faf792742328abcd9ad91e7cea7.setContent(html_18afa028ca104b7485bd1ee994ce2ee4);
marker_1e3b161e1e134149aed05dabba88a841.bindPopup(popup_2e3c8faf792742328abcd9ad91e7cea7)
;
var marker_42566822ee6e4330867b02c5cb9a9ac2 = L.marker(
[22.54554, 114.0683],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_88b22e4850894ef08a89cb7b0da6eb70 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_42566822ee6e4330867b02c5cb9a9ac2.setIcon(icon_88b22e4850894ef08a89cb7b0da6eb70);
var popup_bc91358fd0f64986bd2b23cd700a9346 = L.popup({maxWidth: '300'
});
var html_9018d2d6b5194f9aa9122f0713e470c4 = $(`<div id="html_9018d2d6b5194f9aa9122f0713e470c4" style="width: 100.0%; height: 100.0%;">Shenzhen<br/>10358381</div>`)[0];
popup_bc91358fd0f64986bd2b23cd700a9346.setContent(html_9018d2d6b5194f9aa9122f0713e470c4);
marker_42566822ee6e4330867b02c5cb9a9ac2.bindPopup(popup_bc91358fd0f64986bd2b23cd700a9346)
;
var marker_e420bfc848654d3585714dda3bf8347d = L.marker(
[23.7104, 90.40744000000001],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_edd2c4c31bec429ba40946721c249c27 = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_e420bfc848654d3585714dda3bf8347d.setIcon(icon_edd2c4c31bec429ba40946721c249c27);
var popup_9706658f55b04ae5b8652f8fe094b416 = L.popup({maxWidth: '300'
});
var html_b2e6a623c3bd41d6b66628f8c2bf8a7b = $(`<div id="html_b2e6a623c3bd41d6b66628f8c2bf8a7b" style="width: 100.0%; height: 100.0%;">Dhaka<br/>10356500</div>`)[0];
popup_9706658f55b04ae5b8652f8fe094b416.setContent(html_b2e6a623c3bd41d6b66628f8c2bf8a7b);
marker_e420bfc848654d3585714dda3bf8347d.bindPopup(popup_9706658f55b04ae5b8652f8fe094b416)
;
var marker_b171e0ff7e864d4b9c73c53ce563938a = L.marker(
[37.566, 126.9784],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_3593b984e9a74182bf5962a8b97438ad = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_b171e0ff7e864d4b9c73c53ce563938a.setIcon(icon_3593b984e9a74182bf5962a8b97438ad);
var popup_bc06f4af6dd54c938a9973037188065b = L.popup({maxWidth: '300'
});
var html_a2938e366b504c8ebe040260faeef7b6 = $(`<div id="html_a2938e366b504c8ebe040260faeef7b6" style="width: 100.0%; height: 100.0%;">Seoul<br/>10349312</div>`)[0];
popup_bc06f4af6dd54c938a9973037188065b.setContent(html_a2938e366b504c8ebe040260faeef7b6);
marker_b171e0ff7e864d4b9c73c53ce563938a.bindPopup(popup_bc06f4af6dd54c938a9973037188065b)
;
var marker_ad22b3caf0334fc79346649c9674ed4d = L.marker(
[-23.5475, -46.636109999999995],
{
icon: new L.Icon.Default()
}
).addTo(map_a9dbe196d1dd439683bbce0d24a91907);
var icon_f5b0a0a1d7ca4781911effada038a76d = L.AwesomeMarkers.icon({
icon: 'home',
iconColor: 'white',
markerColor: 'red',
prefix: 'fa',
extraClasses: 'fa-rotate-0'
});
marker_ad22b3caf0334fc79346649c9674ed4d.setIcon(icon_f5b0a0a1d7ca4781911effada038a76d);
var popup_cba98222f9a84047a80ba50cba7f7aec = L.popup({maxWidth: '300'
});
var html_9ff4195648134846b2866d3ab2779006 = $(`<div id="html_9ff4195648134846b2866d3ab2779006" style="width: 100.0%; height: 100.0%;">São Paulo<br/>10021295</div>`)[0];
popup_cba98222f9a84047a80ba50cba7f7aec.setContent(html_9ff4195648134846b2866d3ab2779006);
marker_ad22b3caf0334fc79346649c9674ed4d.bindPopup(popup_cba98222f9a84047a80ba50cba7f7aec)
;
</script>