-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
107 lines (73 loc) · 4.54 KB
/
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
<!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/[email protected]/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/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/[email protected]/dist/leaflet.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/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/[email protected]/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_e714de2b4ff9be3a73d056f89f18ca44 {
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_e714de2b4ff9be3a73d056f89f18ca44" ></div>
</body>
<script>
var map_e714de2b4ff9be3a73d056f89f18ca44 = L.map(
"map_e714de2b4ff9be3a73d056f89f18ca44",
{
center: [5.543367, -73.361205],
crs: L.CRS.EPSG3857,
zoom: 15,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_0493599f95f5b3a01c83a961c2406ee3 = L.tileLayer(
"https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png",
{"attribution": "\u0026copy; \u003ca href=\"https://www.stadiamaps.com/\" target=\"_blank\"\u003eStadia Maps\u003c/a\u003e \u0026copy; \u003ca href=\"https://openmaptiles.org/\" target=\"_blank\"\u003eOpenMapTiles\u003c/a\u003e \u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors", "detectRetina": false, "maxNativeZoom": 20, "maxZoom": 20, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);
tile_layer_0493599f95f5b3a01c83a961c2406ee3.addTo(map_e714de2b4ff9be3a73d056f89f18ca44);
var marker_0218b7232dddc18d133fb1940bdabc71 = L.marker(
[39.9794685510204, -75.13791995918368],
{}
).addTo(map_e714de2b4ff9be3a73d056f89f18ca44);
var icon_5e57254b8048427aee6dfd7eb8edd202 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "glyphicon glyphicon-plus", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
);
marker_0218b7232dddc18d133fb1940bdabc71.setIcon(icon_5e57254b8048427aee6dfd7eb8edd202);
var popup_fa52cd9df47a373009acaab0d79a001f = L.popup({"maxWidth": "100%"});
var html_2d0747d6fff44413e23f29ab6527e6ba = $(`<div id="html_2d0747d6fff44413e23f29ab6527e6ba" style="width: 100.0%; height: 100.0%;">crash</div>`)[0];
popup_fa52cd9df47a373009acaab0d79a001f.setContent(html_2d0747d6fff44413e23f29ab6527e6ba);
marker_0218b7232dddc18d133fb1940bdabc71.bindPopup(popup_fa52cd9df47a373009acaab0d79a001f)
;
marker_0218b7232dddc18d133fb1940bdabc71.bindTooltip(
`<div>
car crash
</div>`,
{"sticky": true}
);
</script>
</html>