> 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/lines/lines.md).

# Lines

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

### Bezier Line

By default, lines are drawn exactly straight between your coordinates. But you can draw a curved bezier line if you prefer. Just look for this symbol, click it, and press **Alt while dragging** to adjust the bezier curve of your line.

<details>

<summary>Bezier Line Examples</summary>

<figure><img src="/files/q5xh9OskhlHPp2UFoM1R" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0tAnQNyMWHSMKMpQdHed" alt=""><figcaption></figcaption></figure>

</details>

### Color

Adjust the color of the line.

### Width

Adjust the line thickness.

### Opacity

Adjust the transparency of the line.

### Dashed Line <sup><sub>*<mark style="color:blue;">\[Mapbox]</mark>*<sub></sup>

Mapbox allows customized dashed lines. You can adjust the **dash length** and the **gap length**.

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

Adjust color when hovered.

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

Adjust thickness when hovered over.

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

Adjust transparency when hovered over.
