gushoubang 9 місяців тому
батько
коміт
0ac66f66f2

+ 2 - 2
onemap-api/onemap-api-system/src/main/java/com/onemap/system/api/domain/WktsVo.java

@@ -20,7 +20,7 @@ public class WktsVo {
         private String borderColor = "#ff0000";
         private float borderOpacity = 1;
 
-        private String fillColor = "#0000ff";
-        private float fillOpacity = 0.5F;
+        private String fillColor = "#ffffff";
+        private float fillOpacity = 0.3F;
     }
 }

+ 2 - 2
onemap-modules/onemap-spatial/src/main/java/com/onemap/spatial/domain/WktsVo.java

@@ -18,7 +18,7 @@ public class WktsVo {
         private String borderColor = "#ff0000";
         private float borderOpacity = 1;
 
-        private String fillColor = "#0000ff";
-        private float fillOpacity = 0.5F;
+        private String fillColor = "#ffffff";
+        private float fillOpacity = 0.3F;
     }
 }

+ 0 - 1
onemap-modules/onemap-spatial/src/main/java/com/onemap/spatial/service/impl/ImageServiceImpl.java

@@ -116,7 +116,6 @@ public class ImageServiceImpl implements IImageService {
         // 将地图绘制到图片
         File outputFile = new File(filePath);
         try (FileOutputStream fileOutputStream = new FileOutputStream(outputFile); ImageOutputStream outputImageFile = ImageIO.createImageOutputStream(fileOutputStream);) {
-
             int w = 400;
             int h = (int) (w * (combinedBounds.getHeight() / combinedBounds.getWidth()));
             BufferedImage bufferedImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);