Populations of hippocampal neurons were recorded simultaneously in rats shuttling on a track between a fixed reward site at one end and a movable reward site, mounted in a sliding box, at the opposite end. While the rat ran toward the fixed site, the box was moved. The rat returned to the box in its new position. On the initial part of all journeys, cells fired at fixed distances from the origin, whereas on the final part, cells fired at fixed distances from the destination. Thus, on outward journeys from the box, with the box behind the rat, the position representation must have been updated by path integration. Farther along the journey, the place field map became aligned on the basis of external stimuli. The spatial representation was quantified in terms of population vectors. During shortened journeys, the vector shifted from an alignment with the origin to an alignment with the destination. The dynamics depended on the degree of mismatch with respect to the full-length journey. For small mismatches, the vector moved smoothly through intervening coordinates until the mismatch was corrected. For large mismatches, it jumped abruptly to the new coordinate. Thus, when mismatches occur, path integration and external cues interact competitively to control place-cell firing.When the same box was used in a different environment, it controlled the alignment of a different set of place cells. These data suggest that although map alignment can be controlled by landmarks, hippocampal neurons do not explicitly represent objects or events.