Wrote function in LocationEntry to build the location URI.