-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (40 loc) · 1.15 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Panel Manager</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.2/dist/leaflet.css" />
<link rel="stylesheet" href="styles/mapConfig.css" />
<link href="styles/panelManager.css" rel="stylesheet" />
<script src="https://unpkg.com/leaflet@1.0.2/dist/leaflet.js"></script>
<!-- Compiled and minified CSS -->
</head>
<body>
<div id="map"></div>
<script src="mapConfig.js"></script>
<script src="panelManager.js"></script>
<script>
L.PanelManager.addTo(map);
map.PanelManager.newPanel({
position: "bottom",
toggleHide: true,
title: "Suh fam"
}).addTo(map);
map.PanelManager.newPanel({
position: "right",
toggleHide: true,
title: "Suh fam"
}).addTo(map);
map.PanelManager.newPanel({
position: "right",
toggleHide: "button",
title: "Suh fam"
}).addTo(map);
map.PanelManager.newPanel({
position: "top",
toggleHide: true,
title: "Suh fam"
}).addTo(map);
</script>
</body>
</html>