|
@@ -289,9 +289,7 @@ export default {
|
|
|
'centroid': res.properties.centroid,
|
|
|
'adcode': res.properties.adcode,
|
|
|
}
|
|
|
- console.log(res.geometry.coordinates, "res.geometry");
|
|
|
res.geometry.coordinates.forEach((item) => {
|
|
|
- console.log(item, "item");
|
|
|
|
|
|
const twoDArray = item[0];
|
|
|
const oneDArray = twoDArray.reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
|