# Drawing shapes on a map

The Beautiful Maps - Mapbox plugin allows you to draw the following shapes onto a map:

* Polygons
* Points
* Lines

To enable drawing mode you need to run the 'Enabled Drawing Mode' action on page load:

<figure><img src="/files/8eOP2rml7z0akno1Jqu0" alt=""><figcaption></figcaption></figure>

You can also choose which shapes you want your users to be able to draw

## Demo app

You can view an example of how to draw shapes on a map in the '**Drawing on a map and saving coordinates**' section of the demo app below:

{% embed url="<https://beautiful-maps-mapbox.bubbleapps.io/>" %}


---

# 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://cranford-tech.gitbook.io/beautiful-maps-mapbox/drawing-mode/drawing-shapes-on-a-map.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.
