added view action to map controller