1
如何使用bing map api獲取地址(zipcode)auto geolacate?使用bing map api獲取地址(zipcode)自動geolacate?
發現這個代碼以下,但不工作
$.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
}
})
有誰知道如何完成的呢?預先感謝您的工作示例
沒有給我郵政編碼或地址的號碼 – johns
您傳遞了什麼經度/緯度值。可能沒有任何地址信息可用於該位置。 – rbrundritt
獲取經緯度的自動地理定位獲取郵政編碼 – johns