# Map View 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 further view the Address and geo-coordinates on the hover of the pushpin.

Steps to add control: To add the control to a field within a record form, user can follow the steps mentioned below:

1. ***Go to Settings > Advanced Settings > Customizations > Customize the System > Components > Entities > Required Entity***

Here, we have taken the Lead entity for an instance. Within Leads, go to ***Forms > Main Form > Select a field > Change Properties***

![](/files/-MbdkEG2Wm2HjM0tamL4)

{% hint style="info" %}
***The data type of the field on which user needs to add control should be ‘Single Line of Text’.***
{% endhint %}

2\. ***Go to Controls > Add Control > Select Map View Control for Record > Add***

![](/files/-MbdkJ7Ljq8gTNW5TYN3)

{% hint style="info" %}
***Please uncheck the option of ‘Display label’ within the field properties for better visualization.***
{% endhint %}

![](/files/-M_H4N0soBozjbySQpC7)

![](/files/-M_H4SQMEAFGIHe3TRrg)

3\. User can choose to allow the control on Web, Phone or Tablet. Click on ***‘OK’ > Save & Publish.***

![](/files/-MbdkV677cwhzRtRHtMs)

4\. User can open any record of the entity to view this control added on the field.

![](/files/-MbdkXhkaPYD2xW58uz9)


---

# 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/maplytics/azure-map/features/powerapps-component-framework/map-view-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.
