auto_stories Bilgi Bankası chevron_right Form chevron_right Makale

Map

It provides to show the given coordinate on the map.

b40.jpg

 Map tool icon at Toolbox

mceclip0.png

How it looks like on the Canvas

 

Compatibility

Free Form Responsive Form Mobile
icons8-check-circle-48.png icons8-check-circle-48.png icons8-check-circle-48.png

 

 

Remarks

To show the location of the database on the map You can update the value of the map with an update value operation, after editing the Field Style field as SQL Query in the properties of the Map tool.

 

Properties

Properties of the form tool;

b42.jpg

 

  • Name: The name of the tool will be written here.

  • Field Style: Select whether the information entered is fixed or SQL query.

  • Location: The coordinates of the location to be displayed are entered.

  • Zoom: The zoom level to the map is set.

  • Help Text: It is the text that is entered for comment when the mouse is placed on the tool.

  • Height / Width: Adjusts the height and width of the tool (The width field has been removed from Responsive Forms).

  • From Left / Top: Adjusts the distance of the tool from the left and top (This field has been removed from responsive forms).

  • Values (Text*Value): The values to be displayed are entered.

  • SQL Query: SQL queries will be written here.

  • Fit Horizontal: Fits the tool to the full screen on the user’s screen.

  • Display: Makes the tool not appear on the screen.

Actions

  • When Clicked: Assign an “Action” as a click handler. For more information please click here.

Example Usage:

The map tool is dragged and dropped from the Tools panel onto the form page.

mceclip0.png

In the Values ​​field, the value that will appear when the Pin is hovered is entered.

mceclip1.png

Since we want the values ​​in the Map tool to appear when the form page is opened, the value update action is given to the form opening.

After doing this, the client image will be as follows.

mceclip2.png

Image on the client screen

Example Usage 2:

You can send a query for the values ​​you want to appear on the map.

mceclip3.pngMap values ​​can be updated with the update value action given to the form opening.

mceclip4.png

Image on the client screen

If you want the coordinates of the pins to appear in a field when you click on the pins, the following method is applied.

First, a new text box is added to your form page. Then click on the Map tool and add a new action from the action tab. The action content is as follows.

mceclip0.png 

Note: Location in the Value Area is the name of the text box we have added. The query field of the action is left blank and saved.

map.pngHow it looks on the client screen.