Loading js-apps/frontend/src/js/containers/sandbox/map-info.js +5 −2 Changes for js-apps/frontend/src/js/containers/sandbox/map-info.js: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -437,13 +437,16 @@ class MapInfo extends Component { var table = this.getTable(); if (marker && table && table.entries) { var latlng = marker.getLatLng(); var hasPath = (marker.options.meep.ue.path) ? true : false; var msg = '<b>id: ' + marker.options.meep.ue.id + '</b><br>'; var ownMac = getElemFieldVal(table.entries[marker.options.meep.ue.id], FIELD_UE_MAC_ID); if (ownMac !== '') { msg += 'mac: ' + ownMac + '<br>'; } msg += 'velocity: ' + (hasPath ? marker.options.meep.ue.velocity : '0') + ' m/s<br>'; var velocity = marker.options.meep.ue.velocity; if (velocity === null || velocity === undefined || velocity === '') { velocity = 0; } msg += 'velocity: ' + velocity + ' m/s<br>'; if (this.isConnected(marker.options.meep.ue.id)) { var poa = this.getUePoa(marker.options.meep.ue.id); Loading Loading
js-apps/frontend/src/js/containers/sandbox/map-info.js +5 −2 Changes for js-apps/frontend/src/js/containers/sandbox/map-info.js: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -437,13 +437,16 @@ class MapInfo extends Component { var table = this.getTable(); if (marker && table && table.entries) { var latlng = marker.getLatLng(); var hasPath = (marker.options.meep.ue.path) ? true : false; var msg = '<b>id: ' + marker.options.meep.ue.id + '</b><br>'; var ownMac = getElemFieldVal(table.entries[marker.options.meep.ue.id], FIELD_UE_MAC_ID); if (ownMac !== '') { msg += 'mac: ' + ownMac + '<br>'; } msg += 'velocity: ' + (hasPath ? marker.options.meep.ue.velocity : '0') + ' m/s<br>'; var velocity = marker.options.meep.ue.velocity; if (velocity === null || velocity === undefined || velocity === '') { velocity = 0; } msg += 'velocity: ' + velocity + ' m/s<br>'; if (this.isConnected(marker.options.meep.ue.id)) { var poa = this.getUePoa(marker.options.meep.ue.id); Loading