Maps Element Properties

Located in the Properties panel:

  • Datasources: Allows you to select the data source of the locations to be shown on the map. Open the Datasources module and select the data source you want to use. Supported data sources include REST API, Swagger, SQL Actions, AI Actions, MSSQL DB, Oracle, C#, Bluetooth. Give your chosen data source a name and create it by making the necessary settings.some text
    • If you are using the REST API, enter the Service Base URL and add statements like /pins and getPins to the API Endpoint to display the pins on the map. The GET method is used to list and display data in the API service. For other data sources, continue with the connection settings required by that source.
    • Add actions appropriate for the backend/API or the selected data source. In the Properties panel, select the appropriate action for the selected data source from the drop-down list with Add Actions (for example, Custom → Google Maps → Get Pins From Google Maps action).
  • Setting the action: After adding the actions, in Properties → Datasources, make the final adjustments according to the data source used.
  • Show Circle Center: Show the center of the specified Radius value. If Radius is not specified, this feature is not available.
  • Auto Center: Allows you to specify the location you want to show as fixed on the map. No matter where you go on the map, no matter how much you zoom in or out on the map, you can set the location to be opened when Auto Center is clicked with this parameter.
  • Latitude This is the field where the central latitude value is given at the map opening. It can be static or dynamic, such as the value of an element or the result of an action with Symbol Picker.
  • Longitude: This is the field where the central longitude value at the map opening is entered. It can be static or it can take dynamic values such as the value of an element and the result of an action with Symbol Picker. By entering latitude and longitude, the user specifies which coordinate the map will be centered at the first opening of the map.

Latitude and Longitude values must be in “Decimal” format.

The Maps element opens the map screen and displays other locations even when the latitude and longitude values are Null (empty).

Getting Latitude and Longitude Values in Google Maps

First, go to Google Maps in your browser. Select the desired location or area on the map and right-click. In the window that opens, you will find latitude and longitude in decimal format at the top. To copy the coordinates automatically, left-click on the latitude and longitude values. The values will be copied.

It is not recommended to use latitude and longitude values taken from a URL because they may be inaccurate.

  • Circle Radius In Km: A circle is created with the given diameter size on the map. This is the section where the circular diameter value of the area whose data will be displayed is entered. You can specify the diameter of the search area in kilometers.
  • Group Picker Icon: You can customize the icon where the icons are displayed one by one when zoomed in the application you have developed, and when zoomed out, they are grouped and turned into a single pin icon.
  • Group Picker Color: Determines the color of the markers in the same group on the map. With the Group Picker Color feature, you can easily distinguish markers in the same group.
  • Current Location Icon: Allows you to show the current location on the map with a custom icon.
  • Current Location Color: Allows you to customize the color of the current location on the map.
  • Keep Center On Zoom: As the user scrolls in the Map, the center changes. This center is automatically selected and the event is called again.
  • Marker Pop-up On Width: Allows you to control whether the marker pop-up will be active when the map width reaches a certain size (For example, pop-ups will appear if the map width is more than 600 pixels).
  • Selected Location Icon: Allows you to set the icon for the location you have selected on the map. You can use a custom icon to visually highlight the selected location.
  • Selected Location Color: You can set the color of the location you have selected on the map with the Selected Location Color feature.