Browse Source

修改真实材质前

JXDS18FUJT 10 months ago
parent
commit
ce0eff18c9
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/about1/index.vue

+ 5 - 2
src/views/about1/index.vue

@@ -8,7 +8,9 @@ import geoJson from "@/assets/json/福州市v2_full.json"; //该文件路径改
 import * as echarts from "echarts";
 import "echarts-gl"; //3D地图插件
 import { onMounted } from "vue";
-
+import img149 from "@/assets/img/about/149.png";
+  var imageDom = document.createElement("img");
+  imageDom.src = "http://www.bigemap.com/map_source/satel/small/14.png";
 // 定义echarts方法
 const chartMap = () => {
   var myChart = echarts.init(document.getElementById("mapEchart"));
@@ -35,8 +37,9 @@ const chartMap = () => {
     geo3D: {
       map: "zhejiang",
       roam: true,
+    //  environment:"#ff4400",
       itemStyle: {
-        color: "#007aff",
+        color: imageDom,
         opacity: 0.8,
         borderWidth: 0.4,
         borderColor: "#000",