Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the current location using the device geolocation capability.
Available for
Model-driven (mobile client) and canvas apps
Syntax
context.device.getCurrentPosition()
Return Value
Type: Promise<Position>
Exceptions
Related articles
Device
Power Apps component framework API reference
Power Apps component framework overview