From 93a9b3228d214602a899791992726a01925c5ac4 Mon Sep 17 00:00:00 2001
From: ChenZeping02609 <chenzeping02609@163.com>
Date: 星期四, 13 五月 2021 14:20:07 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/components/LayerController/service/BusiLayerService.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/components/LayerController/service/BusiLayerService.js b/src/components/LayerController/service/BusiLayerService.js
index 0a8f958..65166db 100644
--- a/src/components/LayerController/service/BusiLayerService.js
+++ b/src/components/LayerController/service/BusiLayerService.js
@@ -22,7 +22,8 @@
var busiLayer = new BusiLayer()
busiLayer.init(layer, this.L)
if (busiLayer.bindTooltip) {
- layer.bindTooltip(busiLayer.bindTooltip)
+ // 鍏ㄥ眬tips浣嶇疆
+ layer.bindTooltip(busiLayer.bindTooltip, { direction: 'top', offset: [0, -15], sticky: false })
}
// 璋冪敤click浜嬩欢
if (busiLayer.clickListener) {
--
Gitblit v1.8.0