map locations and fit on window resize