【问题标题】:Can't get location detail from bing map?无法从 bing 地图获取位置详细信息?
【发布时间】:2013-10-15 03:05:54
【问题描述】:

我正在使用 bing 地图从纬度和经度值获取位置。

这是获取位置详细信息的代码。

http://dev.virtualearth.net/REST/v1/Locations/51.5063249319792,-0.127144753932953?key=Mybingkey

结果:

{"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2013 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","resourceSets":[{"estimatedTotal":0,"resources":[]}],"statusCode":200,"statusDescription":"OK","traceId":"a5c5302525354c90a6d265121d5634b2|SINM001004|02.00.183.2300|SINMSNVM000146"}

即使我使用新的 bing 键,它也只返回空值。为什么会发生。任何人请帮助我。

【问题讨论】:

    标签: javascript jquery bing-api bing-maps


    【解决方案1】:

    再试一次。这工作正常。请注意,您不需要 12 位小数。 5 位小数的精度约为一米。所有其他小数位只会增加查询被混淆为地址的机会。请参阅 Bing 地图 REST 服务的提示和技巧列表:http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/02/14/bing-maps-rest-service-tips-amp-tricks.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多