The Problem
After upgrading to iOS 11 on the iPhone, you may notice the location information is being shared perpetually. This is evident because of a compass needle icon in the upper right corner of your screen as shown in the image above.
How to Fix It
This could be due to the Weather App having access to your weather even when it’s not visibly in use. If you have the Weather widget in your Notifications screen, the app could perpetually be checking your information. Instead, manually add your current location — and any future locations when you travel.
You should also check for other apps that may be continually using your location. Some apps, such as those that track your auto mileage, need to be tracking your location all the time to automatically know when you’re driving. So, reconsider whether or not there’s a better alternative such as MotionX-GPS track recording on demand.
Location Services
Go to Settings > Privacy > Location Services and review the list of programs. It’s best to have apps configured to use location services only when the app is in use, or never.
A few examples are below. At the bottom of the the applications list you’ll find a key explaining what the location services icons mean.