2013-10-15 2 views
0

위도와 경도 값에서 위치를 가져 오기 위해 빙지도를 사용하고 있습니다.빙지도에서 위치 정보를 가져올 수 없습니까?

위치 정보를 얻기위한 코드입니다.

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"} 

그것은 심지어 내가 새 빙 키를 사용하는 경우에만 빈 값을 반환합니다. 왜 그렇게 된거야. 아무도 나를 도와 주지마.

답변

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