|
|
@ -9,6 +9,10 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import point1 from "@/assets/images/symbol1.png";
|
|
|
|
|
|
|
|
import point2 from "@/assets/images/symbol2.png";
|
|
|
|
|
|
|
|
import linePoint1 from "@/assets/images/linePoint1.png";
|
|
|
|
|
|
|
|
import linePoint2 from "@/assets/images/linePoint2.png";
|
|
|
|
import MarsMap from "@/components/mars-map";
|
|
|
|
import MarsMap from "@/components/mars-map";
|
|
|
|
// import province from "@/assets/images/province.png";
|
|
|
|
// import province from "@/assets/images/province.png";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
@ -186,16 +190,10 @@ export default {
|
|
|
|
const lineColor = ["#fff", "#f6fb05", "#00fcff"];
|
|
|
|
const lineColor = ["#fff", "#f6fb05", "#00fcff"];
|
|
|
|
|
|
|
|
|
|
|
|
// 城市点位图标
|
|
|
|
// 城市点位图标
|
|
|
|
const symbolList = [
|
|
|
|
const symbolList = ["image://" + point1, "image://" + point2];
|
|
|
|
"image://http://mars3d.cn/img/icon/symbol1.png",
|
|
|
|
|
|
|
|
"image://http://mars3d.cn/img/icon/symbol2.png",
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 线上的动态运动点图标
|
|
|
|
// 线上的动态运动点图标
|
|
|
|
const pointSymbol = [
|
|
|
|
const pointSymbol = ["image://" + linePoint1, "image://" + linePoint2];
|
|
|
|
"image://http://mars3d.cn/img/icon/linePoint1.png",
|
|
|
|
|
|
|
|
"image://http://mars3d.cn/img/icon/linePoint2.png",
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// level = 1的地点添加图标
|
|
|
|
// level = 1的地点添加图标
|
|
|
|
items.forEach((el) => {
|
|
|
|
items.forEach((el) => {
|
|
|
|