<script>
import amap from '@/static/libs/amap-wx.130.js';
export default {
data() {
return {
key: '高德key',
amapPlugin: null,
}
}
}
/*
this.amapPlugin = new amap.AMapWX({
key: this.key
});
this.amapPlugin.getRegeo({
success: function(data) {
console.log(data[0])
},
fail: function(info) {
//失败回调
console.log(info)
}
}) */
/* this.amapPlugin.getPoiAround({
success: function(data) {
console.log(data)
},
fail: function(info) {
//失败回调
console.log(info)
}
}) */
05-19
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交