Example Usage of Location Picker Element

When the application is run, let's consider a sample application where the location with latitude value 2.219 and longitude value 46.76 is selected and when the button is clicked, it goes to the location with latitude value 51.5072 and longitude value -0.1275.

After adding the Location Picker element selected from the element panel in the application to the canvas, click on the element.

Enter longitude value 2.219 and latitude value 46.76 from the Properties panel.

Then add the Button element from the Elements panel under the location picker. Click on the button.

In the button, select +Add Action → OnClick → UI Control → Set Value Of.

In the Action Screen that opens, select Location Picker1 from Component to Change field.

Select latitude in Promp name to set field. Enter 51.5072 in the Value field. Repeat the same process once more and select langitude in the promp name to set field. In the Value field, select the value -0.1275.

After entering the values, you can test the entered value by clicking the RUN button in the header.

When the app opens, it will open with the location near France.

When the button is clicked, the location near London will be selected.