0

緯度と経度の値から位置を取得するために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キーを使用しても、空の値しか返されません。なぜそれが起こるのか.誰でも私を助けてください.

4

1 に答える 1

0

これをもう一度試してください。これはうまくいきます。小数点以下 12 桁は必要ないことに注意してください。小数点以下 5 桁の精度は約 1 メートルです。他のすべての小数点以下の桁数は、クエリが住所と混同される可能性を高めるだけです. Bing Maps REST サービスのヒントとコツのリストを参照してください: http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/02/14/bing-maps-rest-service-tips- amp-tricks.aspx

于 2014-01-15T14:58:46.467 に答える