By default, the OnePlus smartphone's location history is sent to Google and stored to provide us with personalized maps and services.

Google's location history settings can be (de)activated at any time directly in the Google Account settings.

Android 10 | OxygenOS 10.0
Step 1:  Open the  Settings
Step 2:  Tap on  Location
Step 3:  Tap on  Advanced
Step 4:  Tap on  Google Location History
Step 5:  Enable or disable  Location History
  1. Open the Settings
  2. Tap on Location
  3. Tap on Advanced
  4. Tap on Google Location History
  5. Enable or disable Location History

OnePlus Instructions