renders map inside parent