Browse Source

드론관제 시스템 허용고도 알림 정보 선형, 격자 이슈 수정

pull/1/head
김장현 9 months ago
parent
commit
a812f1fb45
  1. 5
      src/components/map/mapbox/MapBoxMap.js

5
src/components/map/mapbox/MapBoxMap.js

@ -120,7 +120,8 @@ export default function MapBoxMap() {
} }
) => { ) => {
// useGeoJson = mapControl.liner // useGeoJson = mapControl.liner
useGeoJson = mapControl.areaType useGeoJson =
mapControl.areaType === 'linear'
? { ? {
...geoJson, ...geoJson,
...flatGimpo, ...flatGimpo,
@ -135,7 +136,7 @@ export default function MapBoxMap() {
map.removeLayer('maine'); map.removeLayer('maine');
map.removeSource('maine'); map.removeSource('maine');
} }
console.log(mapControl.areaType);
if (altitudeMarker.length > 0) { if (altitudeMarker.length > 0) {
altitudeMarker.map(i => { altitudeMarker.map(i => {
i.remove(); i.remove();

Loading…
Cancel
Save