# Map Edit Control for Record

User can add this control on any of the field with the Data type ‘Single Line of Text’ of the record to view the respective record plotted on the map. User can hover on the pushpin to see the coordinates as well as the address of the pushpin. User can further drag the pushpin around and drop it on the required location to update the new Address and the geo-coordinates for the record. As the user drags the pushpin, the address will get auto-populated in the address-field as well. User can also type in the address in the space provided and click on the update button to update the Address and the geo-coordinates for the record. Before updating this, the user will be shown a message where user can also choose if they want to save address and the geo coordinates or only the geo coordinates.

**Steps to Add control:** To add the control to a field within a record form, user can follow the steps mentioned in [Map view control for record](https://docs.maplytics.com/features/powerapps-component-framework/map-view-control-for-record) while selecting ‘Map Edit Control for Record’ in the Step2. After adding the control user can open any record of the entity to view this control added on the field.

<figure><img src="https://3017709171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPnKwzedQAh8ohtXMDq%2Fuploads%2FkcQUWlhibTwoGBIqN5jl%2Fimage.png?alt=media&#x26;token=bc8ec774-6f6d-4305-b13d-3759546ec4cf" alt=""><figcaption></figcaption></figure>

Users can select the choice of map view and zoom in or out of the map as required.

​

<figure><img src="https://3017709171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPnKwzedQAh8ohtXMDq%2Fuploads%2FkuvUdc0LMjc0n6Oo9I2Q%2Fimage.png?alt=media&#x26;token=da4631f3-f570-4d5f-8e70-f786a0640517" 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.maplytics.com/features/powerapps-component-framework/map-edit-control-for-record.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.
