Turning on Airplane Mode only turns off the cellular services and the Wi-Fi, and the feature does not affect the location services as it only disconnects your smartphone from the cellular network.