diff --git a/tabs/gps.js b/tabs/gps.js
index 07c4f95ff..87aee1637 100644
--- a/tabs/gps.js
+++ b/tabs/gps.js
@@ -229,10 +229,10 @@ TABS.gps.initialize = function (callback) {
var feature = mapHandler.forEachFeatureAtPixel(mapHandler.getEventPixel(evt.originalEvent), function(feature, layer) {
return feature;
});
-
+
if (feature && feature.get('data') && feature.get('name')) {
TABS.gps.toolboxAdsbVehicle.setContent(
- `icao: ` + feature.get('name') + `
`
+ `callsign: ` + feature.get('name') + `
`
+ `lat: `+ (feature.get('data').lat / 10000000) + `
`
+ `lon: `+ (feature.get('data').lon / 10000000) + `
`
+ `ASL: `+ (feature.get('data').altCM ) / 100 + `m
`
@@ -357,7 +357,7 @@ TABS.gps.initialize = function (callback) {
mapHandler.addLayer(vehicleLayer);
}
- if (vehicle.lat > 0 && vehicle.lon > 0 && vehicle.ttl > 0) {
+ if (vehicle.lat != 0 && vehicle.lon != 0 && vehicle.ttl > 0) {
let vehicleIconStyle = new ol.style.Style({
image: new ol.style.Icon(({
opacity: 1,