Add a train value item to the map box
Correct a lint warning