Tutorials

/

Location Search Element: How Do You Use It?

By following these steps, you can set up a Location Search feature that allows users to search for a location by entering an address or place name, and that instantly marks the selected location on the Location Picker map.

‍

‍

The “Location Search” element is a text-based location search element that allows users to search for a location within the app by entering an address or place name and then select that location. As the user types, matching locations are listed, and the desired location can be easily selected.
First, add the “Location Search” element to your page, along with the “Location Picker” element to display the searched location on the map. Add two “Set Value Of” actions to mark the selected location on the map. Within the “Set Value Of” action, configure the “Component to Change,” “Prop name to set,” and “value” fields.
When the application is tested, the “Location Search” field appears blank. At this stage, the user can enter an address, place name, or location information into the search field. Based on the entered text, the system displays a list of relevant location suggestions.