Kompakt allows you to either turn all location sharing off or on, or manage location sharing for individual apps.
To turn all location sharing off or on:
Press the Control Center button
Tap Settings icon
Tap Location Sharing
Tap the Toggle switch to turn location sharing for all apps off or on
To manage location sharing for individual apps:
Press the Control Center button
Tap Settings icon
Tap Location Sharing
Select the app you want to manage
Select the level of sharing you want