Browse Source

김포공항 3등분 공역 수정

master
이준희 2 months ago
parent
commit
aadb28ef39
  1. 9770
      src/components/map/geojson/flatGimpoAirportAirArea.json
  2. 14
      src/views/control/main/ControlMain.js

9770
src/components/map/geojson/flatGimpoAirportAirArea.json

File diff suppressed because it is too large Load Diff

14
src/views/control/main/ControlMain.js

@ -247,11 +247,11 @@ const ControlMain = () => {
<span>기온</span>
<span>
{!isClickObject
? controlWheather.items.item.length > 0
? controlWheather?.items?.item.length > 0
? controlWheather?.items?.item[12]?.fcstValue
: 0
: controlDetail.items.item.length > 0
? controlDetail?.items.item[12].fcstValue
: controlDetail?.items?.item.length > 0
? controlDetail?.items?.item[12].fcstValue
: 0}
</span>
</div>
@ -262,10 +262,10 @@ const ControlMain = () => {
className='navigation-icon'
style={{
transform: !isClickObject
? controlWheather.items.item.length > null
? controlWheather?.items?.item.length > null
? `rotate(${controlWheather?.items?.item[3]?.fcstValue}deg)`
: 0
: controlDetail.items.item.length > 0
: controlDetail?.items?.item.length > 0
? `rotate(${controlDetail?.items.item[3].fcstValue}deg)`
: 0
}}
@ -276,10 +276,10 @@ const ControlMain = () => {
<span>풍속</span>
<span>
{!isClickObject
? controlWheather.items.item.length > 0
? controlWheather?.items?.item.length > 0
? controlWheather?.items?.item[4]?.fcstValue
: 0
: controlDetail.items.item.length > 0
: controlDetail?.items?.item.length > 0
? controlDetail?.items.item[4].fcstValue
: 0}
m/s

Loading…
Cancel
Save