> For the complete documentation index, see [llms.txt](https://farmapper.gitbook.io/farmapper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://farmapper.gitbook.io/farmapper/mobile/embedding_m.md).

# Map Embedding

[Show desktop version](https://farmapper.gitbook.io/farmapper/desktop/embedding_d)

## Introduction

We have added another function "Map Embedding” allowing Farmapper maps to be placed into your website. It’s an easy two step process:

1\. First generate a preview image of your map in our application.

2\. Then add the image to your site, where every user will be able to access your Farmapper project quickly.

## Generating the map

To generate embed, tap the Projects button to expand projects menu and select Generate embedded Figure 1.

![Figure 1: Manage button](/files/-Mksw2qcVlxo35gZP8pM)

In the Generate Embedded window you can choose the size of your map image, there are three sizes; small (150x150), medium (300x300), and large (450x450). There is also a customizable size by selecting the "Custom" option. After selecting the size, tap Generate Embedded Figure 2.

![Figure 2: Generate Embedded](/files/-Mksw2qdALG8aVw0govB)

After generating the image, Farmapper generates HTML code which will embed it properly on your site Figure 3. Copy and Paste to your site.

![Figure 3: HTML code](/files/-Mksw2qeTidg0335CJEm)

If you have generated previous embeds, you will see a list of them in the Generate Embedded window. After tapping Show code next to the selected embedding, you will see this code above Figure 4.

Of course you can also delete any generated embed and any references to it from your site will stop working.

![Figure 4: List of Existing Embedded](/files/-Mksw2qfySijSPn75L0z)

[Show desktop version](https://farmapper.gitbook.io/farmapper/desktop/embedding_d)


---

# 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://farmapper.gitbook.io/farmapper/mobile/embedding_m.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.
