Commit 3d33ab683a9eabedc119c0d17454805319d99d44
1 parent
8abb11d4
基础信息文件夹
Showing
5 changed files
with
38 additions
and
1 deletions
.gitignore
src/main/resources/static/index.html
| ... | ... | @@ -29,6 +29,8 @@ |
| 29 | 29 | <link href="metronic_v4.5.4/plugins/icheck/skins/all.css" rel="stylesheet" type="text/css" /> |
| 30 | 30 | <!-- 日期控件 --> |
| 31 | 31 | <link href="metronic_v4.5.4/plugins/bootstrap-datetimepicker-2/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" /> |
| 32 | + | |
| 33 | +<link href="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.css" rel="stylesheet" type="text/css" /> | |
| 32 | 34 | <style type="text/css"> |
| 33 | 35 | .searchForm{ |
| 34 | 36 | } |
| ... | ... | @@ -267,6 +269,11 @@ tr.row-active td { |
| 267 | 269 | <script src="assets/plugins/pinyin.js"></script> |
| 268 | 270 | <!-- 日期控件 --> |
| 269 | 271 | <script src="metronic_v4.5.4/plugins/bootstrap-datetimepicker-2/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script> |
| 272 | +<!-- 百度地图 --> | |
| 273 | +<script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> | |
| 274 | +<!-- 路况 --> | |
| 275 | +<script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> | |
| 276 | + | |
| 270 | 277 | <script src="assets/js/common.js"></script> |
| 271 | 278 | <script type="text/javascript"> |
| 272 | 279 | ... | ... |
src/main/resources/static/pages/base/line/list.html
0 → 100644
| 1 | +<div class="page-head"> | |
| 2 | + <div class="page-title"> | |
| 3 | + <h1>线路信息</h1> | |
| 4 | + </div> | |
| 5 | +</div> | |
| 6 | + | |
| 7 | +<ul class="page-breadcrumb breadcrumb"> | |
| 8 | + <li><a href="/pages/home.html" data-pjax>首页</a> <i class="fa fa-circle"></i></li> | |
| 9 | + <li><span class="active">基础信息</span> <i class="fa fa-circle"></i></li> | |
| 10 | + <li><span class="active">线路信息</span></li> | |
| 11 | +</ul> | |
| 0 | 12 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/mapmonitor/playback/playback.html
0 → 100644
src/main/resources/static/pages/mapmonitor/real/real.html
0 → 100644
| 1 | +<div id="mapContainer" style="width: 100%; margin-top: -15px;"></div> | |
| 2 | + | |
| 3 | +<script> | |
| 4 | + $(function() { | |
| 5 | + //实例化地图 | |
| 6 | + var map = new BMap.Map("mapContainer"); | |
| 7 | + | |
| 8 | + $('#mapContainer').height($(pjaxContainer).height() + 30); | |
| 9 | + | |
| 10 | + map.centerAndZoom("上海", 13); | |
| 11 | + map.enableScrollWheelZoom(); | |
| 12 | + | |
| 13 | + var ctrl = new BMapLib.TrafficControl(); | |
| 14 | + map.addControl(ctrl); | |
| 15 | + ctrl.setAnchor(BMAP_ANCHOR_BOTTOM_RIGHT); | |
| 16 | + }); | |
| 17 | +</script> | |
| 0 | 18 | \ No newline at end of file | ... | ... |