|
|
@@ -1336,8 +1336,14 @@ export default {
|
|
|
this.measureTooltipsGroup = L.layerGroup().addTo(map); // 专门管理提示框
|
|
|
|
|
|
// 显示提示
|
|
|
- this.showMeasureTip = true;
|
|
|
- this.measureTipText = "点击地图添加测距点,双击结束";
|
|
|
+ if(this.isMobile == true){
|
|
|
+ this.showMeasureTip = false;
|
|
|
+ this.measureTipText = "";
|
|
|
+ }else{
|
|
|
+ this.showMeasureTip = true;
|
|
|
+ this.measureTipText = "点击地图添加测距点,双击结束";
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
// 监听地图点击事件
|
|
|
map.on("click", this.addMeasurePoint);
|
|
|
@@ -2000,7 +2006,7 @@ export default {
|
|
|
font-size: 14px;
|
|
|
color: #3165FF;
|
|
|
}
|
|
|
-.buff-tip[data-v-1c94735a] {
|
|
|
+.buff-tip {
|
|
|
position: fixed;
|
|
|
top: 20px;
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|