# Configuring Display Rules

***

This page covers every setting in the Display Rule editor. If you are not yet familiar with what Display Rules are or how inheritance works, start with [Display Rules](https://docs.mapsindoors.com/products/cms/display-rules) first.

The editor is divided into sections. Each section controls a different visual element and can be toggled and configured independently.

***

### General

The General section controls the top-level visibility of the Location on the map. If this is turned off, no other Display Rule settings apply — the Location will not appear at all.

**Visibility** — whether the Location is visible on the map.

![General Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-13de5282349e4d6f789cacf7a00cfee946d1e3b3%252FScreenshot%25202023-12-06%2520at%252010.34.26.png%3Falt%3Dmedia%26token%3D37698c6f-3621-4d24-9bc9-7c0d13e45ae6\&width=768\&dpr=3\&quality=100\&sign=efc3ea10\&sv=2)

***

### Icon

The Icon section controls the map marker image shown for the Location.

**Visibility** — whether the icon is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the icon is visible. Values run from 1 (very far out) to 999 (max zoom). The recommended setting for Zoom to is to check the **Max zoom** checkbox, which sets the value to 999.

**Icon** — the image used as the map marker. In the CMS, click the Icon field to open the Media Library, where you can choose from a pre-loaded set of icons or upload your own.

![Icon Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-415282ed2e13b3dcbf8f4503eb590e3019e0d2ff%252FScreenshot%25202023-12-06%2520at%252010.38.02.png%3Falt%3Dmedia%26token%3D8cdd257d-f737-4bdc-81d7-e9bfcf5201cb\&width=768\&dpr=3\&quality=100\&sign=b848de08\&sv=2)

<details>

<summary><strong>Map provider zoom level limits</strong></summary>

Google Maps supports a maximum zoom level of 22.&#x20;

Mapbox supports up to 25.&#x20;

Setting a Zoom from or Zoom to value above the supported maximum for your map provider will result in the icon not appearing at those levels.

</details>

***

### Label

The Label section controls the text shown near the Location's marker on the map.

{% hint style="info" %}
**Note:** Labels are only visible in the CMS when a Location is being actively edited. In the default map view, labels are not shown.
{% endhint %}

**Visibility** — whether the label is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the label is visible. The recommended setting for Zoom to is to check the **Max zoom** checkbox.

**Template** — controls what text the label displays. Options are:

* Location Name
* External ID
* External ID & Location Name (External ID first)
* Location Name & External ID (Location Name first)

**Max width** — how wide the label can be before the text wraps to a new line. A value of `0` disables line-breaking entirely.

![Label Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-c24ca2e37c18b3d64c45278d71235836f0c6c7ac%252Fimage%2520%2820%29.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=4909fbce\&sv=2)

<details>

<summary><strong>Max width units differ by map provider</strong></summary>

On Google Maps, Max width is measured in pixels.

On Mapbox, it is measured in EM units (relative to font size — at the default size of 16px, 1 EM ≈ 1 character width).

</details>

***

### Label Style

The Label Style section controls the visual appearance of the label text. **This section is only supported on Mapbox — it has no effect on Google Maps.**

**Label Type** — controls the type of label rendered. Options are:

* **Text Label** (default) — a floating text label positioned relative to the icon
* **Flat Label** — text rendered flat on the map surface, rotatable with a bearing value
* **Graphic Label** — text with a custom background image

**Text Size** — the size of the label text, from 1 to 255.

**Text Color** — the color of the label text. Use the color picker in the CMS or provide a 6-digit HEX code (e.g. `#3071D9`) when setting in-app.

**Text Opacity** — opacity of the text, from `0` (fully transparent) to `1` (fully opaque).

**Halo Color** — the color of the halo surrounding the text.

**Halo Width** — the thickness of the halo in pixels.

**Halo Blur** — how far into the halo width the blur effect starts. For example, with Halo Width = 10px and Halo Blur = 5px, blurring begins at the midpoint of the halo.

![Label Style Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-e3e705c7e2d47d712aa474be69c62b0bbffe9d4c%252Fimage%2520%2822%29.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=cd72116\&sv=2)

#### Sub-sections by Label Type

<details>

<summary><strong>Text Label → Label Position</strong> </summary>

Controls where the floating label appears relative to the Location's anchor point. Options are: top, bottom, left, right.

![Label Position sub-section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-fe806ba48bc01af650a17e88d231645a7e3586d5%252FScreenshot%25202024-08-28%2520at%252009.57.09.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=6e80d900\&sv=2)

</details>

<details>

<summary><strong>Text Label → Label Position</strong> <strong>Flat Label → Bearing</strong> </summary>

&#x20;Controls the rotation of the flat label on the map surface, measured in degrees like a compass bearing (0–360).

![Bearing sub-section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-f7bbf42dd1ec26ea0fa5c497aae2571735600df0%252Fimage.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=c3cfc41a\&sv=2)

</details>

<details>

<summary><strong>Graphic Label → Add Graphic Label</strong> </summary>

Opens the Media Library, pre-filtered for graphic label background images. Select or upload the background image to use behind the label text.

![Graphic Label sub-section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-18e2f1ba0f201ac2a978aad2d3bfed5f084b03a5%252FScreenshot%25202024-03-26%2520at%252018.11.37.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=544b728d\&sv=2)

![Media Library for Graphic Labels](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-7ecec1964398c054bff502348beb9781b89e08d6%252FScreenshot%25202024-04-09%2520at%252013.41.26.png%3Falt%3Dmedia\&width=768\&dpr=3\&quality=100\&sign=65f7933e\&sv=2)

</details>

***

### Polygon

The Polygon section controls the filled overlay drawn on top of Rooms and Areas. Polygons are independent from the map tiles underneath — they are an additional overlay layer, so opacity settings affect how the tile appears through the polygon.

> **Note:** It is not possible to override the appearance of the base map tiles themselves.

**Visibility** — whether the polygon is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the polygon is visible.

**Stroke color** — the color of the polygon border. Use the color picker in the CMS or provide a 6-digit HEX code when setting in-app.

**Stroke width** — the width of the polygon border in pixels.

**Stroke opacity** — the opacity of the border, from `0` to `1`.

**Fill color** — the interior color of the polygon.

**Fill opacity** — the opacity of the interior, from `0` to `1`.

![Polygon Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-7b59d7ce35c3d0f32ce000fe1207005906d1f571%252FScreenshot%25202023-12-06%2520at%252011.01.53.png%3Falt%3Dmedia%26token%3D81dff701-19d8-4d31-a464-2283d0a9e5fd\&width=768\&dpr=3\&quality=100\&sign=5ae93175\&sv=2)

***

### 2D Model

{% hint style="info" %}
This feature must be enabled for your Solution by MapsPeople before it is available. Contact your MapsPeople representative to have it enabled.
{% endhint %}

2D Models are images placed on the map surface at a fixed real-world size. Unlike icons, they scale with zoom level — making them well suited for exhibitor logos, store branding, or any image that should occupy a defined area on the map.

**Visibility** — whether the 2D model is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the 2D model is visible.

**2D Model** — opens the Media Library to select or upload the image to display.

**Width × Height** — the real-world dimensions of the model in meters. Width and height are locked to the original aspect ratio and cannot be changed independently. Use the **Fit to Location** option to automatically size the model to fill the Location's polygon as much as possible, based on the anchor point position.

**Bearing** — the rotation of the 2D model on the map, measured in degrees like a compass bearing (0–360).

![2D Model Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-b86daf7359aa173b23063a164e87786365116b0c%252FScreenshot%25202023-12-06%2520at%252011.05.55.png%3Falt%3Dmedia%26token%3Dcfb69dc3-fb2d-46ad-9f35-387ab3656ec8\&width=768\&dpr=3\&quality=100\&sign=426a215d\&sv=2)

***

### 3D Walls

The 3D Walls section controls the extruded walls shown around a Location in 3D view. This applies to Rooms and Areas. For requirements and setup, see [3D Maps](https://docs.mapsindoors.com/3d-maps).

**Visibility** — whether the 3D walls are shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the walls are visible. Mapbox supports up to zoom level 25. Values above the supported maximum will result in walls not appearing.

**Wall color** — the color of the walls. Use the color picker in the CMS or provide a 6-digit HEX code when setting in-app.

**Wall height** — the height of the walls in meters.

![3D Walls Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-681fa36c308c753a90ac2cc271490b50fddb333e%252FScreenshot%25202023-12-06%2520at%252011.08.14.png%3Falt%3Dmedia%26token%3D0eec71f5-8f10-42da-93c7-44de49d0960b\&width=768\&dpr=3\&quality=100\&sign=db76052e\&sv=2)

***

### 3D Extrusions

The 3D Extrusions section controls per-room height extrusions in 3D view — useful for visually highlighting specific rooms such as an important meeting room or a featured space. For requirements and setup, see [3D Maps](https://docs.mapsindoors.com/3d-maps).

**Visibility** — whether the extrusion is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the extrusion is visible.

**Extrusion color** — the color of the extruded room. Use the color picker in the CMS or provide a 6-digit HEX code when setting in-app.

**Extrusion height** — the height of the extrusion in meters.

![3D Extrusions Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-c594779b07747901d07983b0bd4186a295243faf%252FScreenshot%25202023-12-06%2520at%252011.08.55.png%3Falt%3Dmedia%26token%3D8630ef00-9fc3-4510-a2a5-db63cd9484b2\&width=768\&dpr=3\&quality=100\&sign=13a5ad36\&sv=2)

***

### 3D Model

The 3D Model section places a GLB 3D model at the Location's anchor point on the map. Models are uploaded via the Media Library. For requirements and setup, see [3D Maps](https://docs.mapsindoors.com/3d-maps).

**Visibility** — whether the 3D model is shown on the map.

**Zoom from / Zoom to** — the zoom level range within which the 3D model is visible. Mapbox supports up to zoom level 25.

**3D Model** — opens the Media Library to upload and select the GLB model to display.

**X-axis rotation** — rotation of the model around the X-axis, in degrees (0–360).

**Y-axis rotation** — rotation of the model around the Y-axis, in degrees (0–360).

**Z-axis rotation** — rotation of the model around the Z-axis, in degrees (0–360).

**Scale** — a multiplier applied to the model's original size. Use this to make the model larger or smaller relative to its uploaded dimensions.

![3D Model Display Rules section](https://docs.mapsindoors.com/~gitbook/image?url=https%3A%2F%2F2554025873-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYZLXDaaclvaSK6Q7eigW%252Fuploads%252Fgit-blob-6a03e7c90fc47f3d5d2ad05897e9d8f9c69cd0d9%252FScreenshot%25202023-12-06%2520at%252011.09.42.png%3Falt%3Dmedia%26token%3D71bf0af0-b3a3-4cc4-8e8d-e36626c3cf6b\&width=768\&dpr=3\&quality=100\&sign=e98218cf\&sv=2)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mapsindoors.com/cms/core-concepts/display-rules/configuring-display-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
