Turn off GPS

One question, if I turn off the GPS from the ground control, the topic mavros/local_position/odom doens’t have GPS? I ask this because I seen the code for this topic, and I can’t quite understand how can i use the odometry without GPS.

Thanks in advance for the help!