There are a few ways to enable display over other apps. One way is to go into the settings for the app that you want to display over other apps and turn on the “Display Over Other Apps” setting. Another way is to use a third-party app like DisplayOverlapEnabler.
The “Display Over Other Apps” setting is usually found in the Advanced Settings section for an app. For example, in the Google Maps app, you would go to Settings > Advanced settings and toggle on the “Display over other apps” setting. Once this setting is enabled, your map will be displayed over other apps when you have it open.
If an app doesn’t have a “Display Over Other Apps” setting, you can try using a third-party app like DisplayOverlapEnabler. This app allows you to enable display over other apps for any app on your device. Just open the app and select the app that you want to enable display overlapping for from the list of installed apps. Then, tap on the “Enable Overlapping” button and reboot your device for changes to take effect.