If I remember right (don't have any books around), it uses the present position to get the longitude info, and then it measures the speed at which you are moving (through space, not relative to the earth's surface, obviously) to compute the latitude info (since you move slower toward the poles and faster toward the equator).