Followed tutorial at https://coderwall.com/p/fajmvq to fix the map not loading immediately