【问题标题】:Generate URL to Maps application in Windows 8 [closed]在 Windows 8 中生成地图应用程序的 URL [关闭]
【发布时间】:2012-12-14 12:58:17
【问题描述】:

我有该位置的坐标,我想在 Windows 8 中生成一个 URL / 地图请求,以便根据坐标位置显示给定位置。这可能吗,如果可以,您有什么想法吗?)

【问题讨论】:

    标签: c# windows-8 geolocation bing-maps


    【解决方案1】:

    通过LaunchUriAsync 使用协议激活。检查 Uri Scheme for maps applications 以查看格式化 URI 的各种选项

    例如,

    await Windows.System.Launcher.LaunchUriAsync(new Uri("bingmaps:?cp=40.726966~-74.006076"));
    

    打开以纽约市为中心的地图应用程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-03-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多