Commit e499b4ba by jlc

update:火箭发射卫星入轨案例的添加

parent f17241c8
......@@ -10,6 +10,7 @@ import vueCodeVehicle from '@/examples/movingTarget/vehicle/vehicle.vue?raw'
import vueCodeAircraft from '@/examples/movingTarget/aircraft/aircraft.vue?raw'
import vueCodeCoordinateAxis from '@/examples/movingTarget/coordinateAxis/coordinateAxis.vue?raw'
import vueCodeRocket from '@/examples/movingTarget/rocket/rocket.vue?raw'
import vueCodeRocketLaunchIntoOrbit from '@/examples/movingTarget/rocketLaunchIntoOrbit/rocketLaunchIntoOrbit.vue?raw'
// 图元
import vueCodePoint from '@/examples/graphicElement/point/point.vue?raw'
......@@ -52,6 +53,7 @@ const vueCodeMap = {
飞机: vueCodeAircraft,
坐标轴: vueCodeCoordinateAxis,
火箭发射: vueCodeRocket,
火箭发射卫星入轨: vueCodeRocketLaunchIntoOrbit,
// 图元
: vueCodePoint,
......
......@@ -10,6 +10,7 @@ import functionCodeVehicle from '@/examples/movingTarget/vehicle/vehicle-functio
import functionCodeAircraft from '@/examples/movingTarget/aircraft/aircraft-function.js?raw'
import functionCodeCoordinateAxis from '@/examples/movingTarget/coordinateAxis/coordinateAxis-function.js?raw'
import functionCodeRocket from '@/examples/movingTarget/rocket/rocket-function.js?raw'
import functionCodeRocketLaunchIntoOrbit from '@/examples/movingTarget/rocketLaunchIntoOrbit/rocketLaunchIntoOrbit-function.js?raw'
// 图元
import functionCodePoint from '@/examples/graphicElement/point/point-function.js?raw'
......@@ -51,6 +52,7 @@ const functionCodeMap = {
飞机: functionCodeAircraft,
坐标轴: functionCodeCoordinateAxis,
火箭发射: functionCodeRocket,
火箭发射卫星入轨: functionCodeRocketLaunchIntoOrbit,
// 图元
: functionCodePoint,
......
<template>
<div id="cesiumContainer" class="cesium-container"></div>
</template>
<script setup>
import { onMounted } from 'vue';
import { addRocketLaunchIntoOrbit } from './function';
onMounted(() => {
addRocketLaunchIntoOrbit()
});
</script>
<style>
.cesium-container {
width: 100%;
height: 100vh;
}
</style>
\ No newline at end of file
......@@ -36,6 +36,10 @@ export const elementMovingMap = {
title: '火箭发射',
pngUrl: '/src/assets/Rocket.png'
},
火箭发射卫星入轨: {
title: '火箭发射卫星入轨',
pngUrl: '/src/assets/RocketLaunchIntoOrbit.png'
}
}
// 图元
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment