From c42fafcfba7aa2d32176533be368ee77bc0150d6 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期三, 03 三月 2021 17:42:37 +0800
Subject: [PATCH] 修改图层控制

---
 src/conf/Styles.js |   37 +++++++++++++++++--------------------
 1 files changed, 17 insertions(+), 20 deletions(-)

diff --git a/src/conf/Styles.js b/src/conf/Styles.js
index 42416e5..22d6256 100644
--- a/src/conf/Styles.js
+++ b/src/conf/Styles.js
@@ -1,24 +1,21 @@
-export const LineStyles = {
+const defaultLineStyle = {
+  fill: true,
+  weight: 2,
+  fillColor: '#73b2ff',
+  color: '#73b2ff',
+  fillOpacity: 0.2,
+  opacity: 1,
+  dashArray: '10,4',
+  dashSpeed: -10,
+  size: [20, 20]
+}
+
+const customStyles = {
   pipeline: {
-    fill: true,
-    weight: 2,
-    fillColor: '#06cccc',
-    color: '#06cccc',
-    fillOpacity: 0.2,
-    opacity: 0.8,
-    dashArray: '10,4',
-    dashSpeed: -10
   }
 }
-export const PointStyles = {
-  pipeline: {
-    fill: true,
-    weight: 2,
-    fillColor: '#06cccc',
-    color: '#06cccc',
-    fillOpacity: 0.2,
-    opacity: 0.8,
-    dashArray: '10,4',
-    dashSpeed: -10
-  }
+
+export default {
+  defaultLineStyle,
+  customStyles
 }

--
Gitblit v1.8.0