Virtual mapping

How will the robot know its location on the map?