From 47af46140c4ca30488030e93d20a1965b2c848a2 Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期一, 08 三月 2021 17:57:23 +0800 Subject: [PATCH] 天地图瓦片切换增加淡入淡出效果 --- src/main.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 45c8a84..28cfbd5 100644 --- a/src/main.js +++ b/src/main.js @@ -11,9 +11,11 @@ import 'leaflet/dist/leaflet.css' import L from 'leaflet' import 'leaflet.markercluster' +import 'leaflet-canvas-markers' +import './components/plugin/Leaflet.GridLayer.FadeOut' Vue.config.productionTip = false -Vue.use(ElementUI, { size: 'small' }) +Vue.use(ElementUI) Vue.prototype.$cancels = [] Vue.prototype.L = L // 娉ㄥ唽鎸囦护 -- Gitblit v1.8.0