File tree 4 files changed +2
-10
lines changed
4 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 115
115
printFirstJs ($ debug );
116
116
?>
117
117
118
- <script>
119
- function startMarkers(){
120
- initMarkers(true);
121
- //initMarkers(false);
122
- }
123
- </script>
124
-
125
118
</head>
126
119
<body>
127
120
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ $(document).ready(function(){
72
72
. text ( _isLive ? "on" : "off" ) ;
73
73
74
74
if ( _isLive ) {
75
- _invervalId = setInterval ( function ( ) { webSocket . send ( "getLocations " ) ; } , 250 ) ;
75
+ _invervalId = setInterval ( function ( ) { webSocket . send ( "getPlayerData " ) ; } , 250 ) ;
76
76
} else {
77
77
clearInterval ( _invervalId ) ;
78
78
}
Original file line number Diff line number Diff line change 1
1
function globalInit ( ) {
2
2
mapInit ( "map-canvas" ) ;
3
- startMarkers ( ) ;
4
3
initPage ( )
5
4
}
6
5
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ function doPlayerUpdate(players){
207
207
//update popup with the information we have been sent
208
208
var html = getPlayerInfoHtml ( plr ) ;
209
209
210
- var infoContent = '<div class="info-window"><div class="info-header-box"><div class="info-icon"></div><div class="info- header">' + plr . name + '</div></div><div class="clear"></div><div id=info-body>' + html + "</div></div>" ;
210
+ var infoContent = '<div class="info-window"><div class="info-header-box"><div class="info-header">' + plr . name + '</div></div><div class="clear"></div><div id=info-body>' + html + "</div></div>" ;
211
211
var infoBox = new google . maps . InfoWindow ( {
212
212
content : infoContent
213
213
} ) ;
You can’t perform that action at this time.
0 commit comments