-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (66 loc) · 1.85 KB
/
index.html
File metadata and controls
76 lines (66 loc) · 1.85 KB
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
<!DOCTYPE html>
<html>
<head>
<title>ThinkGeo Vector Tile Map</title>
<link rel="stylesheet" href="mapsuite.css">
<script src="./webfontloader.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html,
body {
margin: 0;
padding: 0;
color: #333;
font-family: Arial, Verdana, Helvetica, Sans-Serif;
width: 100%;
height: 100%;
}
#map {
height: 100%;
}
#olzoom {
position: absolute;
z-index: 1000;
top: 9.5em;
left: .5em;
}
#info {
z-index: 1;
opacity: 0;
position: absolute;
bottom: 0;
left: 0;
margin: 0;
background: rgba(0, 60, 136, 0.7);
color: white;
border: 0;
transition: opacity 100ms ease-in;
}
</style>
<script src="webfontloader.js"></script>
<script>
WebFont.load({
custom: {
families: ["vectormap-icons"],
urls: ["vectormap-icons/fonteditor/vectormap-icons.css"]
}
});
</script>
<script src="../../src/ol/ol-debug.js"></script>
<script src="dist/ol.mapsuite.js"></script>
</head>
<body>
<label id="olzoom"></label>
<div id="map" class="map" tabindex="0">
<pre id="info" />
</div>
<!-- <button id='test' style="position: absolute; top: 130px; left: 10px;">test</button> -->
<!-- <select id="type">
<option value="LineString">LineString</option>
<option value="Polygon">Polygon</option>
<option value="Circle">Circle</option>
<option value="None">None</option>
</select> -->
<script src="index.js"></script>
</body>
</html>