-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (53 loc) · 2.85 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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150351954-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('set', {'user_id': 'USER_ID'}); // 使用已登入的 user_id 設定 User ID。
//ga('set', 'userId', 'USER_ID'); // 使用已登入的 user_id 設定 User ID。
gtag('config', 'UA-150351954-1');
</script>
<meta name="google-site-verification" content="tuoxq-w1wlZAiAEFOozS1tn4iw1Uoy-L_GOEyKV5RqM" />
<meta charset='utf-8' />
<title>巴士王</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.4.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.4.0/mapbox-gl.css' rel='stylesheet' />
<link href="index.css" type="text/css" rel="stylesheet">
<meta name="description" content="大天龍巴士王!大台北地區公車站點及公車路線地圖。透過點擊地圖上的站點得到公車路線資訊,或直接搜尋站名或路線。">
<meta property="og:title" content="巴士王">
<meta property="og:description" content="大天龍巴士王!大台北地區公車站點及路線地圖。透過點擊地圖上的站點得到公車路線資訊,或直接搜尋站名或路線。">
<meta property="og:image" content="https://imgur.com/mJRlP6F.png" />
</head>
<body>
<div id='map'></div>
<div class='stationInfo'>
<div><strong>公車站:</strong> <span id='station'></span></div>
<div><strong>路線:</strong> <span id='routes'></span></div>
</div>
<div class='map-overlay'>
<fieldset>
<input id='feature-filter' type='text' placeholder='輸入公車路線或站名' />
<div id="matchBox">
<input type="checkbox" id="exact" name="matchAnswer" value="exact" onclick="OnChangeCheckbox(this)">
<label for="exact">exact match</label>
</div>
<div id='direction'>
<label class='dir_style'>Direction:</label>
<input type="radio" class="direction" name="direction" id='dir0' value="dir0" onclick="OnChangeRadioBox(this)">
<label class='dir_style' for="direction0">To</label>
<input type="radio" class="direction" name="direction" id='dir1' value="dir1" onclick="OnChangeRadioBox(this)">
<label class='dir_style' for="direction1">Back</label>
<input type="radio" class="direction" name="direction" id='dir2' value="dir2" onclick="OnChangeRadioBox(this)" checked>
<label class='dir_style' for="direction2">Both</label>
</div>
</fieldset>
<div id='feature-listing' class='listing'></div>
</div>
<script src="./index.js"></script>
</body>
</html>