remove debugging
This commit is contained in:
parent
3b2b51f07c
commit
f5f23e6fbc
@ -26,10 +26,8 @@
|
|||||||
if (update.location.type != 'latlon') return;
|
if (update.location.type != 'latlon') return;
|
||||||
var pos = new google.maps.LatLng(update.location.lat, update.location.lon)
|
var pos = new google.maps.LatLng(update.location.lat, update.location.lon)
|
||||||
if (markers[update.callsign]) {
|
if (markers[update.callsign]) {
|
||||||
console.info("updating");
|
|
||||||
markers[update.callsign].setPosition(pos);
|
markers[update.callsign].setPosition(pos);
|
||||||
} else {
|
} else {
|
||||||
console.info("initializing");
|
|
||||||
markers[update.callsign] = new google.maps.Marker({
|
markers[update.callsign] = new google.maps.Marker({
|
||||||
position: pos,
|
position: pos,
|
||||||
map: map,
|
map: map,
|
||||||
|
Loading…
Reference in New Issue
Block a user