moved map into wait check if location is ready