getCurrentPosition
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
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle