modify map tmx to line.