【问题标题】:setting the culture info in bing maps in Metro Style Apps在 Metro Style Apps 的 bing 地图中设置文化信息
【发布时间】:2012-10-08 18:16:13
【问题描述】:

我目前正在使用 Windows 8 Metro Style Apps 中的 Bing 地图。

一切正常,除了网站总是使用不同的语言。现在我想设置文化信息来修复它,但是当我在谷歌中搜索它时,我没有找到可以工作的东西。

我使用 javascript 作为编程语言。

有人知道如何设置文化信息吗?

【问题讨论】:

    标签: javascript windows-8 bing-maps


    【解决方案1】:

    我遇到了和你一样的问题,如果你希望 bing 地图为你提供你想要的文化数据,你必须在 REST 请求中使用参数文化精确它:culture=culture_code。

    看这个例子:

    "http://dev.virtualearth.net/REST/V1/Routes?wp.0=" + me.location.latitude + "," + me.location.longitude + "&wp.1=" + latitude + "," + 经度 + "&routePathOutput=Points&output=json&culture=fr-FR&key=" + credentials

    回复结果必须是法语

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-24
      相关资源
      最近更新 更多