-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
141 lines (116 loc) · 5 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
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<!-- required libs -->
<link rel="stylesheet" href="css/reset-min.css" type="text/css">
<link rel="stylesheet" href="css/base-min.css" type="text/css">
<link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.16.custom.css" type="text/css">
<link rel="stylesheet" href="css/fancybox/jquery.fancybox-1.3.4.css" type="text/css">
<link rel="stylesheet" href="css/iPhone-checkbox.css" type="text/css">
<link rel="stylesheet" href="css/main.css" type="text/css">
<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
<script src="js/jqueryTimer.js" type="text/javascript"></script>
<script src="js/iphone-style-checkboxes.js" type="text/javascript"></script>
<script src="js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<!-- own programs -->
<script src="js/configuration.js" type="text/javascript"></script>
<!--<script src="js/application.js" type="text/javascript"></script>-->
<script src="js/application.js" type="text/javascript"></script>
<script src="js/application.init.js" type="text/javascript"></script>
<script src="js/application.timer.js" type="text/javascript"></script>
<script src="js/application.markers.js" type="text/javascript"></script>
<script src="js/application.debugfunctionality.js" type="text/javascript"></script>
<script src="js/application.automode.js" type="text/javascript"></script>
<script src="js/parser.js" type="text/javascript"></script>
<script src="js/ais-formatter.js" type="text/javascript"></script>
<script type="text/javascript">
var map = 'undefined';
var infowindow = 'undefined';
var timer = {};
$(function() {
map = initMap();
infowindow = new google.maps.InfoWindow({disableAutoPan: true});
var elems = initButtons(map);
initAutoOnOff(map, elems);
if (!showAutoOnOffButton){
$("#on_off_button_area").css("display","none");
}
initShowCam(map,onCamOrImageBoxClose);
if (!showShowCamButton){
$("#show-cam").css("display", "none");
}
refreshMarkersAndCycleAreas(url);
$("#on_off").oneTime(timerTimeout, "cycling", function(){ setCurrentArea(0); refreshMarkersAndCycleAreas(url);});
$("#noAISDataOverlayText").text(noAISDataInfo);
// maximize the map's size at when starting the application
var mapCanvasSize = $(window).height()-$("#radio").outerHeight();
$("#map_canvas").attr("style","width:100%; height:"+mapCanvasSize+"px");
// adjust the map's size whenever the browser window is resized
$(window).resize(function() {
mapCanvasSize = $(window).height()-$("#radio").outerHeight();
$("#map_canvas").attr("style","width:100%; height:"+mapCanvasSize+"px");
});
});
</script>
</head>
<body>
<div id="radio">
<form>
<input type="radio" id="radio1" name="radio" checked="checked"
data-lat-sw="53.854349" data-long-sw="10.647726"
data-lat-ne="53.878946" data-long-ne="10.732956"
/>
<label for="radio1">Altstadt</label>
<input type="radio" id="radio2" name="radio"
data-lat-sw="53.878643" data-long-sw="10.647297"
data-lat-ne="53.912396" data-long-ne="10.735517"
/>
<label for="radio2">Konstinkai, Nordlandkai</label>
<input type="radio" id="radio3" name="radio"
data-lat-sw="53.887952" data-long-sw="10.734844"
data-lat-ne="53.910584" data-long-ne="10.833721"
/>
<label for="radio3">Lehmannkai, Seelandkai, Terminal Schlutup</label>
<input type="radio" id="radio4" name="radio"
data-lat-sw="53.936132" data-long-sw="10.838563"
data-lat-ne="53.952627" data-long-ne="10.877616"
/>
<label for="radio4">Skandinavienkai</label>
<input type="radio" id="radio5" name="radio"
data-lat-sw="53.952321" data-long-sw="10.856527"
data-lat-ne="53.96366" data-long-ne="10.894"
/>
<label for="radio5">Travemünde</label>
</form>
<div id="on_off_button_area" style="position:absolute; right:10px; top:11px;">
<input type="checkbox" id="on_off"/>
</div>
<div style="position:absolute; right:128px; top:10px;">
<button id="show-cam">Kamera auf der Passat Travemünde</button>
</div>
</div>
<div id="map_canvas" style="width:100%; height:92%"></div>
<div style="display:none">
<div id="big-image">
<img src="http://images.vesseltracker.com/images/vessels/hires/-663579.jpg"/>
</div>
<div id="data" style="height:376px;width:720px;">
<OBJECT id="data">
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="720"
height="376"
rtsp-caching="80"
target="rtsp://80.152.52.88:554/v2"
id="vlc">
</embed>
</OBJECT>
</div>
<div id="noAISDataOverlay">
<div id="noAISDataOverlayText">
</div>
</div>
</div>
</body>
</html>