【发布时间】:2017-01-26 22:58:43
【问题描述】:
如何使用 bing map api 获取地址(邮政编码)自动地理定位?
在下面找到此代码但无法正常工作
$.ajax({
url: 'http://dev.virtualearth.net/REST/v1/Locations/' + latitude + ',' + longitude,
data: {
o: 'xml',
key: BingMapsKey
},
jsonp: "jsonp",
success: function (data) {
//Process the result
},
error: function(){
//Process the error
}
})
有谁知道如何完成它?提前感谢您提供工作示例
【问题讨论】:
标签: javascript jquery geolocation bing-maps bing