|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import point1 from "@/assets/images/symbol1.png";
|
|
|
|
|
import point1 from "@/assets/images/levelcity.png";
|
|
|
|
|
import point2 from "@/assets/images/symbol2.png";
|
|
|
|
|
import linePoint1 from "@/assets/images/linePoint1.png";
|
|
|
|
|
import linePoint2 from "@/assets/images/linePoint2.png";
|
|
|
|
@ -139,7 +139,7 @@ export default {
|
|
|
|
|
label: item.city,
|
|
|
|
|
value: this.cityAttr[item.city].center,
|
|
|
|
|
symbol: "",
|
|
|
|
|
symbolSize: [30, 30],
|
|
|
|
|
symbolSize: [65, 65],
|
|
|
|
|
};
|
|
|
|
|
} else {
|
|
|
|
|
item = {
|
|
|
|
@ -152,6 +152,7 @@ export default {
|
|
|
|
|
speed: 6,
|
|
|
|
|
value: this.cityAttr[item.city].center,
|
|
|
|
|
belong: res.data[0].city,
|
|
|
|
|
symbolSize: [40, 40],
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -256,6 +257,7 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
type: "effectScatter",
|
|
|
|
|
layout: "none",
|
|
|
|
|
showEffectOn: "emphasis",
|
|
|
|
|
// coordinateSystem: "cartesian2d",
|
|
|
|
|
coordinateSystem: "mars3dMap",
|
|
|
|
|
symbolSize: [20, 20],
|
|
|
|
@ -268,11 +270,13 @@ export default {
|
|
|
|
|
normal: {
|
|
|
|
|
show: true,
|
|
|
|
|
position: "bottom",
|
|
|
|
|
formatter: "{b}",
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
formatter: function (e) {
|
|
|
|
|
return e.data.level == 1 ? "" : e.name;
|
|
|
|
|
},
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: "#fff",
|
|
|
|
|
textBorderColor: "#2aa4e8",
|
|
|
|
|
offset: [0, 10],
|
|
|
|
|
offset: [0, 0],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
itemStyle: {
|
|
|
|
|