Follow the steps below to hide locations of categories in tabs settings:
Step 1: Go to Add or Edit Map scroll down to the ‘Tabs Settings’ section.
Step 2: Enable ‘Display Categories Tab ’ inside the Display Tabs.
Step 3: Then check ‘Hide Locations’ tab. (see screenshot)
Step 4: Save the map and open it in a browser.
Now You’ll see locations hide from the categories tab.