> For the complete documentation index, see [llms.txt](https://fatos-doc.fatos.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fatos-doc.fatos.biz/fatos-api/map/map-control/layers/style-specification/fill.md).

# Fill

#### Paint Property

<table><thead><tr><th>Property Name</th><th width="222.28571428571428">Description</th><th width="150">Type</th><th>Defaults</th></tr></thead><tbody><tr><td>fill-antialias</td><td>Whether or not the fill should be antialiased.</td><td>boolean</td><td>true</td></tr><tr><td>fill-color</td><td>The color of the filled part of this layer.</td><td>hex values, RGB, RGBA, HSL, HSLA,<br>Colors Name</td><td>#000000</td></tr><tr><td>fill-opacity</td><td>The opacity of the entire fill layer. In contrast to the <code>fill-color</code>, this value will also affect the 1px stroke around the fill, if the stroke is used.<br>between <code>0</code> and <code>1</code> inclusive.</td><td>number</td><td>1</td></tr><tr><td>fill-outline-color</td><td>The outline color of the fill. Matches the value of <code>fill-color</code> if unspecified.</td><td>hex values, RGB, RGBA, HSL, HSLA,<br>Colors Name</td><td>X</td></tr><tr><td>fill-translate</td><td><p>The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.</p><p><br></p></td><td>array of numbers</td><td>[0,0]</td></tr><tr><td>fill-translate-anchor</td><td><p>Controls the frame of reference for <code>fill-translate</code>.<br><code>"map"</code>:</p><p>The fill is translated relative to the map.</p><p><code>"viewport"</code>:</p><p>The fill is translated relative to the viewport.</p></td><td>String (map or viewport)</td><td>map</td></tr></tbody></table>

#### Layout Property

<table><thead><tr><th>Property Name</th><th width="226">Description</th><th width="150">Type</th><th>Defaults</th></tr></thead><tbody><tr><td>visibility</td><td><p>Whether this layer is displayed.</p><p><code>"visible"</code>:</p><p>The layer is shown.</p><p><code>"none"</code>:</p><p>The layer is not shown.</p></td><td>String( visible or none)</td><td>visible</td></tr></tbody></table>

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://fatos-doc.fatos.biz/fatos-api/map/map-control/layers/style-specification/fill.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
