diff --git a/src/components/map/mapbox/MapBoxMap.js b/src/components/map/mapbox/MapBoxMap.js index 1c13bc2..3b23d21 100644 --- a/src/components/map/mapbox/MapBoxMap.js +++ b/src/components/map/mapbox/MapBoxMap.js @@ -38,7 +38,7 @@ import * as THREE from 'three'; import uamGltf from './models/out.glb'; import uamVertipad from './models/scene.glb'; -const ghlfkd = [ +const arabetgilRoute = [ [126.6243464, 37.5642352, 0], [126.6243464, 37.5642352, 30], [126.6243464, 37.5642352, 60], @@ -72,6 +72,38 @@ const ghlfkd = [ [126.62751314, 37.572045020000004, 600], [126.627865, 37.57291277777778, 600] ]; +const yeouidoRoute = [ + [126.9184781388889, 37.52345361111111, 0], + [126.9184781388889, 37.52345361111111, 30], + [126.9184781388889, 37.52345361111111, 60], + [126.9184781388889, 37.52345361111111, 90], + [126.9184781388889, 37.52345361111111, 120], + [126.9184781388889, 37.52345361111111, 150], + [126.9184781388889, 37.52345361111111, 180], + [126.9184781388889, 37.52345361111111, 210], + [126.9184781388889, 37.52345361111111, 240], + [126.9184781388889, 37.52345361111111, 270], + [126.9184781388889, 37.52345361111111, 300], + [126.9184781388889, 37.52345361111111, 330], + [126.9184781388889, 37.52345361111111, 360], + [126.9184781388889, 37.52345361111111, 390], + [126.9184781388889, 37.52345361111111, 420], + [126.9184781388889, 37.52345361111111, 450], + [126.9184781388889, 37.52345361111111, 480], + [126.9184781388889, 37.52345361111111, 510], + [126.9184781388889, 37.52345361111111, 540], + [126.9184781388889, 37.52345361111111, 570], + [126.9184781388889, 37.52345361111111, 600], + [126.91982516666667, 37.52435527777777, 600], + [126.92117219444445, 37.525256944444436, 600], + [126.92251922222222, 37.52615861111111, 600], + [126.92386625, 37.52706027777778, 600], + [126.92521327777779, 37.52796194444444, 600], + [126.92656030555555, 37.528863611111106, 600], + [126.92790733333334, 37.52976527777778, 600], + [126.9292543611111, 37.53066694444445, 600], + [126.93060138888889, 37.53156861111111, 600] +]; let gridCoords = []; let altitudeMarker = []; let linerAltitude = [ @@ -477,9 +509,9 @@ export default function MapBoxMap() { ); /*************************************************************** 3D UAM Model Layer 추기 코드 start */ - + // 아라벳길 기체 map.addLayer({ - id: 'custom-threebox-model', + id: 'arabetgil-model', type: 'custom', renderingMode: '3d', onAdd: function () { @@ -533,10 +565,121 @@ export default function MapBoxMap() {