show long and short names for neighbour tooltips
This commit is contained in:
@ -2448,7 +2448,7 @@
|
|||||||
distance = `${distanceInKilometers} kilometers`;
|
distance = `${distanceInKilometers} kilometers`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const tooltip = `<b>${escapeString(node.short_name)}</b> heard <b>${escapeString(neighbourNode.short_name)}</b>`
|
const tooltip = `<b>[${escapeString(node.short_name)}] ${escapeString(node.long_name)}</b> heard <b>[${escapeString(neighbourNode.short_name)}] ${escapeString(neighbourNode.long_name)}</b>`
|
||||||
+ `<br/>SNR: ${neighbour.snr}dB`
|
+ `<br/>SNR: ${neighbour.snr}dB`
|
||||||
+ `<br/>Distance: ${distance}`
|
+ `<br/>Distance: ${distance}`
|
||||||
+ `<br/><br/>ID: ${node.node_id} heard ${neighbourNode.node_id}`
|
+ `<br/><br/>ID: ${node.node_id} heard ${neighbourNode.node_id}`
|
||||||
@ -2565,7 +2565,7 @@
|
|||||||
distance = `${distanceInKilometers} kilometers`;
|
distance = `${distanceInKilometers} kilometers`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const tooltip = `<b>${escapeString(neighbourNode.short_name)}</b> heard <b>${escapeString(node.short_name)}</b>`
|
const tooltip = `<b>[${escapeString(neighbourNode.short_name)}] ${escapeString(neighbourNode.long_name)}</b> heard <b>[${escapeString(node.short_name)}] ${escapeString(node.long_name)}</b>`
|
||||||
+ `<br/>SNR: ${neighbour.snr}dB`
|
+ `<br/>SNR: ${neighbour.snr}dB`
|
||||||
+ `<br/>Distance: ${distance}`
|
+ `<br/>Distance: ${distance}`
|
||||||
+ `<br/><br/>ID: ${neighbourNode.node_id} heard ${node.node_id}`
|
+ `<br/><br/>ID: ${neighbourNode.node_id} heard ${node.node_id}`
|
||||||
@ -2786,7 +2786,7 @@
|
|||||||
distance = `${distanceInKilometers} kilometers`;
|
distance = `${distanceInKilometers} kilometers`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const tooltip = `<b>${escapeString(node.long_name)}</b> heard <b>${escapeString(neighbourNode.long_name)}</b>`
|
const tooltip = `<b>[${escapeString(node.short_name)}] ${escapeString(node.long_name)}</b> heard <b>[${escapeString(neighbourNode.short_name)}] ${escapeString(neighbourNode.long_name)}</b>`
|
||||||
+ `<br/>SNR: ${neighbour.snr}dB`
|
+ `<br/>SNR: ${neighbour.snr}dB`
|
||||||
+ `<br/>Distance: ${distance}`
|
+ `<br/>Distance: ${distance}`
|
||||||
+ `<br/><br/>ID: ${neighbourNode.node_id} -> ${node.node_id}`
|
+ `<br/><br/>ID: ${neighbourNode.node_id} -> ${node.node_id}`
|
||||||
|
Reference in New Issue
Block a user