> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.metalocator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Territory boundary display

## Overview

MetaLocator supports the ability to visually display **Territory Boundaries** on the map. This feature allows website visitors to quickly understand the geographic areas where a business provides services.  
​  
Territory boundaries are drawn as semi-transparent boundaries on the map whenever a location is selected.  
​

Supported territory types include:

* **Country**
* **State/Province**
* **County** (U.S. FIPS only)
* **Postal Code** (U.S. ZIP Codes only)

An example below shows county-level territories displayed for a sample location.

[![](https://storage.crisp.chat/users/helpdesk/website/-/a/0/a/0/a0a0a679ce1db800/4311ade7-bb1d-42bb-b519-460e48_1717c2x.png)](https://downloads.intercomcdn.com/i/o/yn1vvwtq/1730637135/4fc6b5902f3e1e51d53604783028/image.png?expires=1794513600&signature=11d72d4698e8c150b50b125a2b460e08cf87b5b69ca8983c2c3e6e9761dba560&req=dSckFs99moBcXPMW1HO4zek2RVK7YmEegfsWN0rI7Pmx%2B33PNge1Ab5SAb30%0ABlTjReR34uBWLESuwJE%3D%0A)

## Why Use Service Territories?

By displaying territory boundaries directly on the map, users can:

* See whether they are inside a location’s service area.
* Compare service territories between nearby providers.
* Make faster, more confident decisions without guesswork.

## How it Works

Each location in MetaLocator can include one or more associated [territory fields](https://support.metalocator.com/en/articles/1656283-using-territories). These fields store a list of service areas defined by the business. For example:

* **Territory Country**: CSV list of countries
* **Territory State**: CSV list of states
* **Territory County**: CSV list of U.S. FIPS county codes
* **Territory Postal Code**: CSV list of U.S. ZIP codes

When a visitor interacts with the map marker or results list, MetaLocator will highlight the appropriate territory for the selected location.

## Interaction Behavior

* **Click a Result Card or Map Marker**  
The location’s service territory boundaries are displayed on the map as a semi-transparent polygon.
* **Hover Over a Territory Polygon**

* A tooltip displays the **territory name** and **location name**. This content is controlled by the `LOCATOR_TERRITORY_TOOLTIP` language constant.
* **Select Another Result or Close a Popup**  
The current territory highlight is removed.

## Configuration Options

Administrators can configure how territory boundaries are displayed. In the Interface Builder, click the Territories Tab.

Settings include:

* **Show Territory Boundaries?**: This is a Yes or No option to enable this feature.
* **Territory Boundary Fill Color:** The color used to fill the territory areas.
* **Territory Boundary Border Color:** The color used for the border of the territory areas.
* **Territory Boundary Border Width:** The thickness of the border used to outline the territory areas.

These options can be adjusted to match your brand and improve visibility on different map styles.