User Location
The Avonni User Location component provides a way to capture and display the user's current geographic location.
Last updated
The Avonni User Location component provides a way to capture and display the user's current geographic location.
Last updated
The main property around the User Location component is the button configuration. A button can be configured to trigger the user location request.
Interactions define what happens when users interact with the User Location component. A list of interactions is available here.
Here are the available interactions for the List component:
On Successful Location
: The event is fired when a user clicks the button to share his location.
From the Styles panel, you can customize styling attributes for the Progress Circle:
Button
: customize the button styling settings.
You can find the instructions for styling here.
Get Current Position on load
Boolean
If true, the component will automatically get the current location when the flow screen is loaded.
Button Label
String
The Label text is diplayed on the button.
Variant
String
Change the visual appearance of the button.
Icon Name
String
Changes the appearance of the progress indicator for the base type only.
Icon Position
String
Set the position of the icon
Type
String
To specify the type of button.