This node allows you to search for a location using a form field with autocomplete assistance, where the user can enter a location or capture it from their device. The locations found will then be those close to the entered location, respecting the delimitation configured in the node as the established search area and, if desired, the bounding box to delimit the search quadrant.
To use it, in the Studio platform, locate the "ASE Search Location" node in the "Engageware" category and configure its parameters.
In the video, we'll show you how to access it and the parameters for configuring it:
Download an example of flows related to nodes in the Engageware category in Studio at this link.
Below, you also have the description of the properties mentioned in the video and Outputs
.
Properties:
- Name: optional name of the node.
- Bot: corresponding bot that is being worked on.
- Next Step: name of the "step in" in studio, corresponding to the selected bot that will receive the data.
- Block input: defines whether or not the text box will be enabled for the web channel when this add-in is displayed (the default is false).
- Ref: unique identifier that will provide information to the user in the next step within the "Payload" property of the "msg" object.
- Label: a label that is displayed to the end user in the add-in.
- Country Restrictions: the country in which the Location Selection Wizard will be restricted.
- Bounding box: checkbox to enable clipping, this limitation represents the geographic area in which the location search will be restricted. When you turn it on, you'll see the following fields:
- Latitude (double): the central latitude coordinate of the bounding box (latitude format example: 40.76778620751953).
- Longitude (double): the central longitude coordinate of the bounding box (longitude format example: -73.09190222252344).
- Radius: the radius from the intersection of both coordinates to construct the bounding box (radius format example: 50).
- Preview Bounds (Button): this button is used to see in google maps the area delimited by the configured limits.
Outputs:
- Search Location form: in case of failure, an error will be displayed and the flow execution will be terminated.