forked from fumitaka/shin-takaoka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
214 lines (184 loc) · 10.3 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>シン・タカオカ・ランド - 楽しめる新高岡・高岡エリア</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/shin-takaoka.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">シン・タカオカ・ランド</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a href="#about">はじめに</a>
</li>
<li>
<a href="#services">使い方</a>
</li>
<li>
<a href="#contact">お問い合わせ</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Full Width Image Header -->
<header class="header-image">
<div class="headline">
<h1 style="height:115px;"><img src="img/title.png" alt="シン・タカオカ・ランドへようこそ" /></h1>
<h2></h2>
</div>
</header>
<!-- Page Content -->
<div class="container">
<main class="featurette">
<div id="map-main"></div>
<div id="foot-sub-item">
<a href="TwitterMain.html" target="_top" class="btn btn-sm btn-primary"><span class="glyphicon glyphicon-share"></span>Twitter</a><br/>
<button onclick="$('#routeDetail').dialog('close'); $('#recommendCoure').dialog('close'); $('#callTaxi').dialog('open'); getAddress();" class="btn btn-sm btn-success">
<span class="glyphicon glyphicon-taxi"></span>タクシーを呼ぶ
</button>
<div><input id="searchKeyword" type="text"/><button onClick="landMap.addressMatching($('#searchKeyword').val(),function(){});">検索</button></div>
<button onClick="$('#routeDetail').dialog('close');$('#recommendCoure').dialog('open');">おすすめコース</button>
</div>
</main>
<div class="panel panel-primary">
<div class="panel-heading">つぎのシャトルバス(新高岡~高岡駅)</div>
<div class="panel-body">
<span class="glyphicon glyphicon-ok-sign"></span>新高岡発 → 高岡方面 つぎは 13:43 ⑤番のりば
</div>
</div>
<div id="recommendCoure" title="おすすめコース">
所要時間<select id="freeTime"><option value="1">1時間</option><option value="2">2時間</option><option value="3">3時間</option></select>
出発時刻<input id="startTime" type="text" value="10:00"/><br />
出発<select id="startSta"><option value="takaoka" selected>高岡駅</option><option value="shin">新高岡駅</option></select>
到着<select id="returnSta"><option value="takaoka">高岡駅</option><option value="shin" selected>新高岡駅</option></select><br />
移動手段<select id="transportation"><option value="walk">徒歩</option><option value="bicycle">自転車</option></select>
<input id="useBus" type="checkbox">バスを使う<br />
足の長さ<select id="footLength"><option value="short">短め</option><option value="normal" selected>普通</option><option value="long">長め</option></select>
<button onclick='$("#recommendCoure").dialog("close");landMap.searchRoute();'>検索</button>
</div>
<div id="routeDetail" title="コース詳細"></div>
<div id="callTaxi" title="タクシーを呼ぶ">
<div id="nowAddress">現在地:</div>
<hr>
<ul>
<li> 高岡交通株式会社 - TEL:0766231212 </li>
<li> 昭和交通株式会社 - TEL:0120189252 </li>
<li> 株式会社新和タクシー - TEL:0766270500 </li>
</ul>
</div>
<!--<textarea id="myconsole"></textarea><a onclick='$("#myconsole").html("");'>クリア</a>-->
<hr class="featurette-divider">
<!-- First Featurette -->
<div class="featurette" id="about">
<img class="featurette-image img-circle img-responsive pull-right" src="img/bus.jpg">
<h2 class="featurette-heading">はじめに
<span class="text-muted">北陸新幹線の新高岡駅から高岡駅って行きづらいと感じていませんか? </span>
</h2>
<p class="lead">実はこの<strong class="text-primary">2駅の間はたったの1.5km</strong>しか離れていません。しかもこのエリアには国宝をはじめ様々な見所があります。そこでこのゾーンを<strong class="text-primary">シン・タカオカ・ランド</strong>と名付けました。歩いてよし、バスに乗るのもよし。のんびり城端線を待つのもよし。TDL ならぬ STL をお楽しみください。</p>
</div>
<hr class="featurette-divider">
<!-- Second Featurette -->
<div class="featurette" id="services">
<img class="featurette-image img-circle img-responsive pull-left" src="img/zuiryuji.jpg">
<h2 class="featurette-heading">使い方
<span class="text-muted">スマホで行きたい場所を選ぶだけのカンタン操作</span>
</h2>
<p class="lead">新高岡駅または高岡駅に着いたらあなたはもうシン・タカオカ・ランドの入園者です。
宿泊予定のホテルから、あなたが興味を持つスポットを<strong class="text-primary">地図から選択するだけ</strong>で、今滞在している場所から最適な移動手段、経路、時間が表示されます。
バスや電車の時刻だけでなく乗り方もバッチリわかるので安心です。まずは気になるポイントを選んでみましょう。</p>
</div>
<hr class="featurette-divider">
<!-- Third Featurette -->
<div class="featurette" id="contact">
<img class="featurette-image img-circle img-responsive pull-right" src="img/ai.jpg">
<h2 class="featurette-heading">お問い合わせ
<span class="text-muted">困ったときはお聞きください</span>
</h2>
<p class="lead">目的のお店が見つからない、今自分がどこにいるのか知りたいなど、シン・タカオカ・ランドについてお気軽にお問い合わせください。
<strong class="text-primary">「中の人」(住人)が親切に答えてくれる</strong>(かもしれません)。誰も手が離せないときは人工知能の利長くんが答えてくれるかも!?</p>
</div>
<hr class="featurette-divider">
<!-- Footer -->
<footer class="footer">
<div class="row">
<div class="col-lg-12">
<p>Copyright © 2016 <a href="http://code4takaoka.org/">Code for Takaoka</a> and friends</p>
</div>
</div>
</footer>
</div>
<!-- /.container -->
<!-- jQuery -->
<script src="js/jquery.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="./js/base.js" type="application/ecmascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?callback=initMap&key=AIzaSyBSMXIHZDkgif3AV35qm38k2e7ZZNraS4o" async defer></script>
<script src="./js/map.js" type="text/javascript"></script>
<script src="./js/gpsMain.js" type="text/javascript"></script>
<script type="text/javascript">
shinTakaoka.started
.then(function(){
var map = shinTakaoka.map;
landMap = new LandMap();
landMap.Init(map);
$("#recommendCoure").dialog({
autoOpen: false,
position: {
of: '#map-main',
at: 'right top',
my: 'right top'
}
});
$("#routeDetail").dialog({
autoOpen: false,
position: {
of: '#map-main',
at: 'right top',
my: 'right top'
}
});
$("#callTaxi").dialog({
autoOpen: false,
position: {
of: '#map-main',
at: 'right top',
my: 'right top'
}
});
});
</script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>