Updating east-facing APRS symbols

This commit is contained in:
Marat Fayzullin 2023-09-15 20:35:21 -04:00
parent 703febbc75
commit b0b347abf7
1 changed files with 2 additions and 4 deletions

View File

@ -401,9 +401,6 @@ FeatureMarker.prototype.getInfoHTML = function(name, receiverMarker = null) {
function AprsMarker() {}
// These symbols are all facing east (mostly vehicles)!
AprsMarker.FACING_EAST = "(*<=>CFPTUXYabefghjkpsuv[";
AprsMarker.prototype = new Marker();
AprsMarker.prototype.update = function(update) {
@ -434,7 +431,8 @@ AprsMarker.prototype.update = function(update) {
};
AprsMarker.prototype.isFacingEast = function(symbol) {
var eastward = symbol.table === '/' ? '(*<=>CFPUXYabefghjkpsuv[' : 'hkluv';
var eastward = symbol.table === '/' ?
'(*<=>CFPUXYZabefgjkpsuv[' : '(T`efhjktuvw';
return eastward.includes(symbol.symbol);
};