我是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网址。请帮我