# Map Embedding

[Show mobile version](https://farmapper.gitbook.io/farmapper/mobile/embedding_m)

## 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, click the Projects button and select Generate embedded Figure 1. You can also click on Show all projects and in the Projects window, in the Your projects tab, select the Action button next to the selected project. After expanding the Action menu, click Generate Embedded.

![Figure 1: Projects button](/files/-Mkj3LVERTiywg7vUl8l)

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, click Generate Embedded Figure 2.

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

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/-Mkj3LVGQ3SMogXKtbc3)

If you have generated previous embeds, you will see a list of them in the Generate Embedded window. After clicking 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/-Mkj3LVHjxusjhbsKzt9)

[Show mobile version](https://farmapper.gitbook.io/farmapper/mobile/embedding_m)


---

# 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://farmapper.gitbook.io/farmapper/desktop/embedding_d.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.
