//列子:美音 发音api:
http://dict.youdao.com/dictvoice?type=0&audio=goods
//列子:英音 发音api:
http://dict.youdao.com/dictvoice?type=1&audio=goods
// 根据经纬度获取地址
https://apis.map.qq.com/ws/geocoder/v1?location=39.983424,116.322987&get_poi=0&key=OA4BZ-FX43U-E5VV2-45M6S-C4HD3-NIFFI&output=json
// 腾讯 获取地址
$.getScript('https://apis.map.qq.com/ws/location/v1/ip?callback=showLocation&key=腾讯地图密匙&output=jsonp');
function showLocation(data) {
console.log(data.result.ad_info.city)
}
// 百度 获取地址
function showLocation(data) {
console.log(data.content.address_detail.city);
}
$.getScript("http://api.map.baidu.com/location/ip?ak=百度地图密匙&callback=showLocation");
// 搜狐 获取地址
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
console.log(returnCitySN)
//返回对象Object {cip: "122.70.200.146", cid: "110000", cname: "北京市"}
</script>
有道获取单词读音api,获取经纬度api以及地图展示
于 2022-04-09 18:22:49 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)