vue 地图 切换地图组件
Vue2传单 (Vue2Leaflet)
Vue2 component that helps with leaflet interaction
Vue2组件,有助于小叶交互
如何用标记显示地图 (How to display a map with a marker)
Register Map and TileLayer components from Vue2Leaflet
从Vue2Leaflet注册Map和TileLayer组件
Vue.component('v-map', Vue2Leaflet.Map);
Vue.component('v-tilelayer', Vue2Leaflet.TileLayer);
Vue.component('v-marker', Vue2Leaflet.Marker);
Add the map to your page
<div id="app" style="height: 100%">
<v-map :zoom=13 :center="[47.413220, -1.219482]">
<v