获取用户位置,并在单击按钮时为其指示。 UWP [英] Get user location and give them directions when the click a button. UWP

查看:95
本文介绍了获取用户位置,并在单击按钮时为其指示。 UWP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用bing maps门户插入了一张地图,但现在我需要访问用户位置,如果点击POI,我希望他们获取路线。如何才能做到这一点?谢谢。这是在UWP



我尝试过:



获取位置显示在文本块中但不是那么准确(点击按钮)但我需要更高的准确性,以及一种向用户提供POI位置指示的方法。 (有14个POI)

解决方案

获取用户的位置 - UWP app developer | Microsoft Docs [ ^ ]

I inserted a map using bing maps portal, but now I need to access the users location and I want them to get the directions if the click on the POI. How can this be done? thanks. This is in UWP

What I have tried:

Got location to display in textblock but it is not that accurate( was on a button click) but I need more accuracy, and a way to give the user directions to the POI location. (there are 14 POI)

解决方案

Get the user's location - UWP app developer | Microsoft Docs[^]


这篇关于获取用户位置,并在单击按钮时为其指示。 UWP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆