[refactoring] separting maps logic from show route