Adding route filtering for map.