Hidden data structure

August 12, 2020 @WAT

Lurking in the code

if (attributes.type === "landmark") {
    text = "LM";
} else if (attributes.type === "benchmark") {
    text = "BM";
} else if (attributes.type === "pointofinterest") {
    text = "POI";
} else if (attributes.type === "accidentpoint") {
    text = "ACC";
} else if (attributes.type === "evidencepoint") {
    text = "EVD";
} else if (attributes.type === "eventlocation") {
    text = "EVT";
} else if (attributes.type === "startingpoint") {
    text = "STR";
} else if (attributes.type === "turningpoint") {
    text = "TRN";
}