|
@@ -104,7 +104,7 @@ export const useMapStore = defineStore('mapStore', () => {
|
|
|
if (autoNum.value >= timeArr.value.length) {
|
|
|
autoNum.value = 0;
|
|
|
}
|
|
|
- }, 10000);
|
|
|
+ }, 1000);
|
|
|
};
|
|
|
|
|
|
// 地图地图类型
|
|
@@ -270,6 +270,11 @@ export const useMapStore = defineStore('mapStore', () => {
|
|
|
}
|
|
|
case '3dChange': {
|
|
|
initChangeMap(true);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 'autoPlay': {
|
|
|
+ autoPlayFun();
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
} catch (error) {
|
|
@@ -303,6 +308,10 @@ export const useMapStore = defineStore('mapStore', () => {
|
|
|
} else if (value == '3dChange') {
|
|
|
change3DTheme(false);
|
|
|
initChangeMap();
|
|
|
+ } else if (value == 'autoPlay') {
|
|
|
+ autoNum.value = 0;
|
|
|
+ clearInterval(timeInterval.value);
|
|
|
+ timeInterval.value = null;
|
|
|
} else {
|
|
|
closePoint(value);
|
|
|
}
|