> For the complete documentation index, see [llms.txt](https://wpmaps-docs.mapster.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpmaps-docs.mapster.me/polygons/flat-polygons.md).

# Flat Polygons

To add a polygon to your Polygon post, press "Replace Drawing" and start to click on the map, clicking twice on a point to finish the polygon area. You can also upload a geoJSON if you prefer.

Flat polygons are standard polygons that just cover an area on the map. There are other types of polygons available as well (3D and image).

### Color

Set the color of the polygon.

### Opacity

Set the transparency of the polygon.

### Outline Color

The outline color is a 1 pixel border around polygons. Unfortunately the width *cannot* be adjusted. To make an adjustable border around your polygon, the best strategy is to make a line that has the same geography as your polygon.

### Hover Color <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Color of polygon when hovered.

### Hover Opacity <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Transparency of polygon when hovered.

### Hover Outline Color <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Color of outer border when hovered.


---

# 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:

```
GET https://wpmaps-docs.mapster.me/polygons/flat-polygons.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.
