随笔分类 -  vue+百度地图

摘要:<template> <div class="box-circle-map"> <baidu-map ref="bCircleMap" class="map" :center="mapCenter" :zoom="15" :scroll-wheel-zoom="true" :inertial-dra 阅读全文
posted @ 2020-06-01 10:30 日升月恒 阅读(2892) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-05-25 10:13 日升月恒 阅读(2425) 评论(0) 推荐(0)
摘要:思路: 用百度地图提供的API画出矩形,根据画出的矩形得到矩形的对角线。移动对角线,再根据移动后的对角线计算得到新的矩形。 引用vue-baidu-map <template> <div> <div :style="{height: tableHeight + 'px'}"> <baidu-map 阅读全文
posted @ 2020-04-13 10:16 日升月恒 阅读(548) 评论(0) 推荐(0)
摘要:Vue Baidu Map API文档:https://dafrok.github.io/vue-baidu-map/#/zh/map/baidu-map npm install vue-baidu-map --save插入点位页面 <template> <div> <p style="color: 阅读全文
posted @ 2020-03-20 17:38 日升月恒 阅读(2878) 评论(0) 推荐(0)