Browse Source

feat: dxf render

isv-robot 2 năm trước cách đây
mục cha
commit
f3aee48227
2 tập tin đã thay đổi với 44 bổ sung34 xóa
  1. 10 0
      public/gis/index.css
  2. 34 34
      public/gis/static/threeMap/set.json

+ 10 - 0
public/gis/index.css

@@ -55,6 +55,10 @@ button.active {
 
 }
 
+.maplibregl-canvas-container{
+  cursor: default !important;
+}
+
 #actions {
     width: 100%;
     height: 100%;
@@ -235,6 +239,12 @@ button.active {
     cursor: pointer;
 
 }
+.site-tag-tpl{
+  cursor: default;
+}
+.site-tag-tpl[clickable=true]{
+  cursor: pointer;
+}
 .site-tag-tpl[clickable=true]:hover{
     border: 1px solid teal;
     background: rgba(1, 9, 21, 0.6);

+ 34 - 34
public/gis/static/threeMap/set.json

@@ -316,7 +316,7 @@
       127.289887,
       43.768179
     ],
-    "威虎北牵引变电所": [
+    "威虎北牵引变电所": [
       127.832047,
       43.561264
     ],
@@ -388,7 +388,7 @@
         "marker": false
       },
       "event": {
-        "clickable": false
+        "clickable": true
       },
       "style": {
         "offset": [
@@ -408,7 +408,7 @@
         "marker": false
       },
       "event": {
-        "clickable": false
+        "clickable": true
       },
       "style": {
         "offset": [
@@ -448,8 +448,8 @@
       },
       "style": {
         "offset": [
-          -0.0005,
-          -0.0005,
+          0.002,
+          0.006,
           0.001
         ],
         "fontSize": "20"
@@ -646,8 +646,8 @@
       },
       "style": {
         "offset": [
-          -0.001,
-          -0.0015,
+          0.001,
+          0.002,
           -0.001
         ],
         "fontSize": "10"
@@ -664,8 +664,8 @@
       },
       "style": {
         "offset": [
-          -0.001,
-          -0.0009,
+          0.001,
+          0.0025,
           -0.001
         ],
         "fontSize": "10"
@@ -736,8 +736,8 @@
       },
       "style": {
         "offset": [
-          0,
-          0,
+          -0.0003,
+          0.004,
           -0.001
         ],
         "fontSize": "10"
@@ -826,8 +826,8 @@
       },
       "style": {
         "offset": [
-          0,
-          0,
+          -0.0005,
+          0.002,
           -0.001
         ],
         "fontSize": "10"
@@ -844,8 +844,8 @@
       },
       "style": {
         "offset": [
-          0,
-          0,
+          -0.0008,
+          0.003,
           -0.001
         ],
         "fontSize": "10"
@@ -916,7 +916,7 @@
       },
       "style": {
         "offset": [
-          0,
+          0.001,
           0,
           -0.001
         ],
@@ -934,7 +934,7 @@
       },
       "style": {
         "offset": [
-          0,
+          0.0003,
           0,
           -0.001
         ],
@@ -953,7 +953,7 @@
       },
       "style": {
         "offset": [
-          0,
+          0.0005,
           0,
           -0.001
         ],
@@ -1008,7 +1008,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.0008,
           -0.001
         ],
         "fontSize": "10"
@@ -1025,8 +1025,8 @@
       },
       "style": {
         "offset": [
-          0,
-          0,
+          0.001,
+          0.0005,
           -0.001
         ],
         "fontSize": "10"
@@ -1061,7 +1061,7 @@
       },
       "style": {
         "offset": [
-          0,
+          0.001,
           0,
           -0.001
         ],
@@ -1079,7 +1079,7 @@
       },
       "style": {
         "offset": [
-          0,
+          0.002,
           0,
           -0.001
         ],
@@ -1116,14 +1116,14 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
       }
     },
     {
-      "name": "威虎北牵引变电所",
+      "name": "威虎北牵引变电所",
       "ident": {
         "type": 2,
         "marker": true
@@ -1134,7 +1134,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
@@ -1152,7 +1152,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.004,
           -0.001
         ],
         "fontSize": "10"
@@ -1223,8 +1223,8 @@
       },
       "style": {
         "offset": [
-          0,
-          0,
+          -0.001,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
@@ -1241,7 +1241,7 @@
       },
       "style": {
         "offset": [
-          0,
+          -0.0005,
           0,
           -0.001
         ],
@@ -1260,7 +1260,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
@@ -1278,7 +1278,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
@@ -1296,7 +1296,7 @@
       "style": {
         "offset": [
           0,
-          0,
+          0.001,
           -0.001
         ],
         "fontSize": "10"
@@ -1387,7 +1387,7 @@
     },
     {
       "pathPoints": [
-        "四平东",
+        "长春",
         "辽源市",
         "通化西"
       ],