# Snap

Most of the tools for drawing map objects (measurement tools, selection tools, editing tools, etc.) can be used with the snap function, which snaps the pointer to existing elements. This is useful to measure the exact distance between two elements, for example.

The menu found on the status bar of the map displays the parts of elements on which you can snap the pointer.&#x20;

Press the arrow to open the menu and select by checking the snap options.&#x20;

Click on ![img](/files/Vh2MsM09zcY3ipSjh5Q1) to enable the snap feature. The icon goes dark.&#x20;

Press the icon again to disable the function. Your snap options remain selected.

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

## **Line**

You can snap the pointer to the closest line on the map. The black x indicates the snap position.

<figure><img src="/files/9NWOJ2aqfy82J86FAsQC" alt=""><figcaption></figcaption></figure>

## **Node**

You can snap the pointer to the closest node on the map.

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

## **Middle**

This option allows you to snap the pointer in the middle of a line or of a polygon's segment.

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

## **Intersection**

This option allows you to snap the pointer at the intersection of two lines.

<figure><img src="/files/5GUjAIOIAnVDOnkkKP4u" alt=""><figcaption></figcaption></figure>

## **Perpendicular**

This option allows you to snap the pointer to a line or polygon segment perpendicularly.

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


---

# 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://docs-jmapserver-lima.k2geospatial.com/e/applications/jmap-pro-user-guide/tools/snap.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.
