Improved assiging, out sourced google map preview