![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
百度地图
步履蹒跚
这个作者很懒,什么都没留下…
展开
-
vue 百度地图点聚合MarkerClusterer,缩放拖拽后label消失
本地创建MarkerClusterer.jsvar BMapLib = window.BMapLib = BMapLib || {}; (function() { var getExtendedBounds = function(map, bounds, gridSize) { bounds = cutBoundsInRange(bounds); var pixelNE = map.pointToPixel(bounds.getNorthEast());原创 2020-07-21 16:38:28 · 1290 阅读 · 0 评论 -
Vue组件单独引入百度地图,不在index.html引入
1:问题在日常项目中,通常引入百度地图的方法有在index.html引入<script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=*******"></script>但vue项目中仅某一两个页面需要用到百度地图,所以不想在 index.html 中全局引用这是就用...原创 2020-05-08 10:33:32 · 1132 阅读 · 2 评论