Hi Yanming,
The optimized map won't change odometry values (the mapping module doesn't talk to odometry module), it will just add a correction transform on its side. This transform is always Identity if the graph is optimized from the last node.
In ROS, the correction is published under TF /map -> /odom with the transform saved
here. On standalone in the GUI, the map correction is saved
here.
cheers,
Mathieu