Solving the problem of initial not showing of map