vue2.0leaflet

github源码在此,记得点星:https://github.com/brandonxiang/vueleaflet

参考文档:https://korigan.github.io/Vue2Leaflet/#/?id=breaking-changes-from-v0xx-to-v1xx

参考例子:https://blog.csdn.net/huangli0/article/details/80144544

参考例子(源出处):https://giser.xyz/2018/04/02/20180402-Vue-Leaflet/

vue 引入leaflet 命令 :  cnpm install leaflet --save

高德地图开发:lbs.amap.com/console/show/picker

Leaflet Draw API reference:http://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html

会出现错误

 

 参考解决办法:https://blog.csdn.net/qmzmzxk/article/details/81608675

中间有个  style lang="scss"

 回头给Vue项目安装scss 预处理

参考:https://blog.csdn.net/zhouzuoluo/article/details/81010331

posted @ 2019-04-10 15:16  阴翳公子  阅读(382)  评论(0编辑  收藏  举报