本文共 158 字,大约阅读时间需要 1 分钟。
实现效果:
vue2.x百度地图官网:
百度地图开发者平台申请的密钥ak:
官网的API还是比较全面的,日常功能都能实现,简单易上手。
简单介绍一下用法:
安装:
npm install vue-baidu-map --save
注册(只是实现某一功能的话,建议在组件内按需引入,减少工程打包后的体积):
所有代码:
转载地址:http://yzrgn.baihongyu.com/