|
|
@ -140,8 +140,10 @@ export const FeatureAirZone = props => { |
|
|
|
for (let i = 0; i < 4; i++) { |
|
|
|
for (let i = 0; i < 4; i++) { |
|
|
|
angle += 90; |
|
|
|
angle += 90; |
|
|
|
let buffer = 0; |
|
|
|
let buffer = 0; |
|
|
|
for (let j = 0; j < 4; j++) { |
|
|
|
// for (let j = 0; j < 4; j++) {
|
|
|
|
buffer += 2000; |
|
|
|
for (let j = 0; j < 9; j++) { |
|
|
|
|
|
|
|
// buffer += 2000;
|
|
|
|
|
|
|
|
buffer += 1000; |
|
|
|
|
|
|
|
|
|
|
|
const coord = new naver.maps.EPSG3857.getDestinationCoord( |
|
|
|
const coord = new naver.maps.EPSG3857.getDestinationCoord( |
|
|
|
position, |
|
|
|
position, |
|
|
@ -151,13 +153,27 @@ export const FeatureAirZone = props => { |
|
|
|
|
|
|
|
|
|
|
|
let reduce = 0; |
|
|
|
let reduce = 0; |
|
|
|
if (j === 0) { |
|
|
|
if (j === 0) { |
|
|
|
reduce = 218.6; |
|
|
|
// reduce = 218.6;
|
|
|
|
|
|
|
|
reduce = 54.4; |
|
|
|
} else if (j === 1) { |
|
|
|
} else if (j === 1) { |
|
|
|
reduce = 905.4; |
|
|
|
// reduce = 905.4;
|
|
|
|
|
|
|
|
reduce = 218.6; |
|
|
|
} else if (j === 2) { |
|
|
|
} else if (j === 2) { |
|
|
|
reduce = 2195; |
|
|
|
// reduce = 2195;
|
|
|
|
|
|
|
|
reduce = 500; |
|
|
|
} else if (j === 3) { |
|
|
|
} else if (j === 3) { |
|
|
|
reduce = 4560.2; |
|
|
|
// reduce = 4560.2;
|
|
|
|
|
|
|
|
reduce = 905.4; |
|
|
|
|
|
|
|
} else if (j === 4) { |
|
|
|
|
|
|
|
reduce = 1459.8; |
|
|
|
|
|
|
|
} else if (j === 5) { |
|
|
|
|
|
|
|
reduce = 2195; |
|
|
|
|
|
|
|
} else if (j === 6) { |
|
|
|
|
|
|
|
reduce = 3173.5; |
|
|
|
|
|
|
|
} else if (j === 7) { |
|
|
|
|
|
|
|
reduce = 4552.5; |
|
|
|
|
|
|
|
} else if (j === 8) { |
|
|
|
|
|
|
|
reduce = 6952.5; |
|
|
|
} |
|
|
|
} |
|
|
|
if (angle % 180 == 0) { |
|
|
|
if (angle % 180 == 0) { |
|
|
|
const polyEW = new naver.maps.Polyline({ |
|
|
|
const polyEW = new naver.maps.Polyline({ |
|
|
|