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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk