Can anyone explain, how in Powerapps sample apps - Site Inspector, the address field is being updated using the GPS option? Because i am also trying to do the same for my app.
In the Site inspector template app, the user location is calling bing map REST API to convert the latitude and longitude from location function into actual address.
The formula used in the corresponding map image is the following:
"http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/" & Location.Latitude
&"," & Location.Longitude & "/15?mapSize=400,400&pp=" & Location.Latitude
&"," & Location.Longitude
And the template is using the following URL format:
Combining the point value with the Bing map URL, then put the combined URL with the Image property of an image control, then you would get the location shown as in the template.
For the location function, check:
Thanks a lot. Calling the static bing map api worked.
Also can i store the address hence obtained(in the image using Map API) as text in a sharepoint list?
Hi @v-micsh-msft ,
Thanks for this solution. Can you please also let us know if its possible to capture these location details in a Sharepoint list and how.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.