-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
106 lines (101 loc) · 5.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>地图下载器</title>
<link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/leaflet/0.7.7/leaflet.css" rel="stylesheet">
<link href="static/node_modules/leaflet.label/dist/leaflet.label.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/leaflet.draw/0.2.3/leaflet.draw.css" rel="stylesheet">
<link rel="stylesheet" href="static/app.css">
</head>
<body>
<div id="map"></div>
<!-- setting -->
<div class="modal fade" id="setting" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">设置</h4>
</div>
<div class="modal-body">
<form data-toggle="validator" role="form">
<div class="form-group">
<label class="control-label" for="name">项目名</label>
<input type="text" class="form-control" id="name" placeholder="项目名" required>
<span class="glyphicon form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group">
<label for="type">底图类型</label>
<select class="form-control" id="type">
<option>高德影像</option>
<option>天地图影像</option>
<option>esrisat</option>
<option>MapQuest影像</option>
<option>谷歌影像</option>
<option>高德路网</option>
</select>
</div>
<div class="form-group">
<label class="control-label" for="bound">范围</label>
<input type="text" class="form-control" disabled id="bound">
</div>
<div class="form-group">
<label class="control-label" for="zoom">级别(1-18)</label>
<input type="number" min="1" max="19" class="form-control" id="zoom" placeholder="级别" required>
<span class="glyphicon form-control-feedback" aria-hidden="true"></span>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
<button type="button" class="btn btn-primary" id="downloadstart">下载</button>
</div>
</div>
</div>
</div>
<!-- download -->
<!--
<div class="modal fade" id="download" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">下载</h4>
</div>
<div class="modal-body">
<div class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100"
style="width: 45%">
<span class="sr-only">45% Complete</span>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
-->
<script>
if (typeof module === 'object') {
window.module = module;
module = undefined;
}
</script>
<script src="http://cdn.bootcss.com/jquery/2.2.4/jquery.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="http://cdn.bootcss.com/1000hz-bootstrap-validator/0.10.2/validator.min.js"></script>
<script src="http://cdn.bootcss.com/leaflet/0.7.7/leaflet-src.js"></script>
<script src="http://cdn.bootcss.com/leaflet.draw/0.2.3/leaflet.draw-src.js"></script>
<script src="static/node_modules/leaflet.label/dist/leaflet.label-src.js"></script>
<script src="static/locale/zh-cn.js"></script>
<script src="static/coordtransform.js" type="text/javascript"></script>
<script src="static/app.js" type="text/javascript"></script>
<script>
if (window.module) module = window.module;
</script>
</body>
</html>