我是WP7開發人員。我有經度和位置的緯度和定義獲取完整信息的座標,即通過使用Bing地圖API使用Bing Maps REST API獲取國家/地區代碼
http://dev.virtualearth.net/REST/v1/Locations/37.09024,-95.712891?o=json&key=APIKEY
以上的經度和緯度是美國的位置的經度和緯度,我能夠得到addressLine
,adminDistrict
, adminDistrict2
,countryRegion
,formattedAddress
和postalCode
但不是country code(ISO ALPHA-2 Code) like IN for India, US for United States
,countryRegion
在json響應中包含國家名稱,我的應用程序限制是使用國家代碼而不是國家/地區名稱。任何我錯過的API網址。請幫我