04-28-2020 23:04 PM
A nonvisual component that signals when the mobile device enters or leaves a particular area within a certain radius. This component will only be visible in the PowerApps Studio and will not render when the app is running. Given Latitude, Longitude and a radius, this control will compute given the current geo-location of the device whether we are within the specified radius.
|Latitude||Sets the latitude of the target location.|
|Longitude||Sets the longitude of the target location.|
|Radius||Radius in Kilometer|
|IsWithinRadius||Gets a boolean value signaling whether the distance between current location and specified location (Latitude and Longitude) is within the radius.|
|Distance||Gets the distance in Kilometer between current location and specified location|
Could this component be used in the opposite fashion? For example, lets say I was completing work onsite & I opened my app to close off my task and then any other open work orders could be displayed nearby.
So instead of comparing my location against a set point, it would compare set points against my location?
Thanks @Anonymous for sharing this with us,
So, now I am going to import this component into my app, then how to set it up for using?
My purpose in this is to use it for attendance for employees, to see if the employee attends in the assigned location or not? So I am going to compare his current location with the predefined location in the app.