这里按链接映射 [英] here maps by link

查看:66
本文介绍了这里按链接映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

到目前为止我用过

                _map = "http://here.com/43.62807,0.87578";
                WebBrowserTask webBrowserTask = new WebBrowserTask();
                webBrowserTask.Uri = new Uri(_map, UriKind.Absolute);
                webBrowserTask.Show();

我的HERE地图在最后打开。

and my HERE maps open at the end.

我安装了8.1(DP)但现在链接只是在Internet Explorer中停止而不是继续在这里映射。

I installed 8.1 (DP) but now the link just stop in the Internet Explorer and not continue to here maps.

我唯一想要的是这里的地图应用程序打开

The only I want is the here maps app open

应该我改变了什么?

提前感谢

推荐答案

您是否特别需要启动HERE地图或任何地图应用程序?

Do you specifically need to launch HERE maps or will any mapping application do?

要在Windows Phone 8应用程序中启动默认地图应用程序,请使用MapsTask,请参阅:

http://msdn.microsoft.com/en-us/ library / windows / apps / xaml / dn614996.aspx

For launching the default map application in a Windows Phone 8 application use MapsTask, see: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn614996.aspx

要在Windows Phone 8.1应用程序中启动默认地图应用程序,请使用带有"bingmaps:"的LaunchUriAsync。 Uri计划如下所示:

http:// msdn.microsoft.com/en-us/library/windows/apps/xaml/dn614996.aspx

For launching the default map application in a Windows Phone 8.1 application use LaunchUriAsync with "bingmaps:" Uri scheme as shown here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn614996.aspx

---

要启动特定的地图应用程序,例如HERE地图,该应用程序需要注册自定义Uri方案,您需要知道预期的Uri格式,以便您的应用程序可以构建适当的Uri并调用LaunchUriAsync。

To launch a specific map application, like HERE maps, that application needs to register a custom Uri scheme and you need to know the expected Uri format so that your app can build an appropriate Uri and call LaunchUriAsync.

在上面的案例中,当网站检测到请求设备是Windows Phone时,该网站似乎会重定向到自定义Uri。

In the case above, the site appears to redirect to a custom Uri when it detects that the requesting device is Windows Phone.


这篇关于这里按链接映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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