getting location from map