This is some sort of function that gets the map element of the first part of a track segment. It is also used to update the flashing colour when in construct mode