geolocation and add window as param