2017-01-26 69 views
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 
     } 
    }) 

有谁知道如何完成的呢?预先感谢您的工作示例

回答

相关问题