-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
47 lines (47 loc) · 1.41 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
<!DOCTYPE html>
<html>
<head>
<title>Leaflet Based Tile Server Demo Page</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="leaflet.css" />
<link rel="stylesheet" href="leaflet.contextmenu.min.css" />
<style>
.grid-tile {
border: 1px dotted black;
width: 254px;
text-align: center;
height: 134px;
padding-top: 120px;
font-size: 14px;
}
.grid-tile span {
background-color: #ffffff;
padding: 0px 4px;
}
.marker-controls {
/*position: fixed;
visibility: hidden;
right: 56px;
top: 42px;
z-index: 900;*/
background-repeat: no-repeat;
background-position: 50% 50%;
display: block;
background-color: white;
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
border-radius: 5px;
width: 44px;
height: 44px;
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
}
</style>
<script src="leaflet-src.js"></script>
<script src="leaflet.contextmenu.min.js"></script>
</head>
<body>
<div id="mapid" style="position: absolute; width: 97%; height: 97%;"></div>
<script src="map.js"></script>
</body>
</html>