-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (43 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="{CHARSET}">
<title>地铁关键点GPS获取</title>
<script src="jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
html,body{
width: 100%;
height: 100%;
overflow: hidden;
}
#path .odd{
width: 100%;
word-wrap: break-word;
word-break: break-all;
}
#path .odd:nth-child(odd){
background: burlywood;
}
</style>
</head>
<body>
<div id="">
<label>城市</label><input type="text" name="" id="city" value="" placeholder="城市" disabled="disabled"/><br /><br />
<label>起始站点</label><input type="text" name="" id="start" value="" placeholder="起始站点"/>
<button onclick="changeValue()">←→</button>
<label>结束站点</label><input type="text" name="" id="end" value="" placeholder="结束站点"/>
<span style="font-size: 12px;color: red;">站点由地理位置获取,务必加上“地铁站”,如“***地铁站”</span><br /><br />
<button onclick="getgps()">获取站点</button>
<div >
path(仅公交线路):
</div>
<div id="path">
</div>
</div>
</body>
<script src="gps.js" type="text/javascript" charset="utf-8"></script>
</html>