added map function to home page

also fixed mapdata maybe