Created projection function in map