|
@@ -42,6 +42,7 @@
|
|
|
<button @click="test('轨迹回放')">轨迹回放</button>
|
|
|
<button @click="test('结束回放')">结束回放</button>
|
|
|
<button @click="test('维护水深面')">维护水深面</button>
|
|
|
+ <button @click="test('维护水深面-定位')">维护水深面-定位</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -53,7 +54,7 @@
|
|
|
import {setBoat, setBoatPath, onLocationBoat, locationBoat, boatDriving, drawArea, setMultiBoatHistory, playAreaBoatHistory,djldBoatHistory} from '@/utils/map/Boat'
|
|
|
import {setCenter, setVideoCamera} from '@/utils/map/Common'
|
|
|
import {addDefaultServer,addLayerByName,closeAllLayer} from '@/utils/map/Layer'
|
|
|
- import {compareSjBeforeAfter,showWhss} from '@/utils/map/Channel'
|
|
|
+ import {compareSjBeforeAfter, locationOneWhss, showWhss} from '@/utils/map/Channel'
|
|
|
|
|
|
export default {
|
|
|
name: "MapHome",
|
|
@@ -241,6 +242,10 @@
|
|
|
this.isWhss = !this.isWhss
|
|
|
showWhss(this.isWhss);
|
|
|
break
|
|
|
+ case '维护水深面-定位':
|
|
|
+ this.isWhss = !this.isWhss
|
|
|
+ locationOneWhss('H44-H71',this.isWhss);
|
|
|
+ break
|
|
|
default:
|
|
|
}
|
|
|
},
|