-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.html
53 lines (47 loc) · 1.76 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
44
45
46
47
48
49
50
51
52
53
<!doctype html>
<html lang="en">
<head>
<title>Leaflet layers control minimap Demo</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<script src="L.Control.Layers.Minimap.js"></script>
<style>
html {
height: 100%;
vertical-align: baseline;
}
body, #map { height: 100%; margin: 0; padding: 0;}
.info {
margin-left: 180px !important;
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.info h4 {
margin: 0 0 5px;
color: #777;
}
</style>
<!--Fork Me on Github ribbon, we're using the awsome version from simonwhitaker available at https://github.com/simonwhitaker/github-fork-ribbon-css -->
<link rel="stylesheet" href="example/gh-fork-ribbon.css" />
<!--[if IE]>
<link rel="stylesheet" href="example/gh-fork-ribbon.ie.css" />
<![endif]-->
<link rel="stylesheet" href="control.layers.minimap.css" />
</head>
<body>
<div class="github-fork-ribbon-wrapper left">
<div class="github-fork-ribbon">
<a href="https://github.com/jieter/Leaflet.layerscontrol-minimap">Fork me on GitHub</a>
</div>
</div>
<div id="map" class="map"></div>
<script src="example/example.js"></script>
</body>
</html>