| | |
| | | { 'name': '卵石', 'color': 'rgba(54,83,173,1)' }, |
| | | { 'name': '泥岩', 'color': 'rgba(47,30,13,1)' }, |
| | | { 'name': '细砂', 'color': 'rgba(93,88,15,1)' }, |
| | | { 'name': '中砂', 'color': 'rgba(164,140,21,1)' } |
| | | { 'name': '中砂', 'color': 'rgba(164,140,21,1)' }, |
| | | { 'name': '淤泥质土', 'color': 'rgba(75,74,78,1)' }, |
| | | { 'name': '其他', 'color': 'rgba(225,225,225,1)' }, |
| | | ] |
| | | } |
| | | }, |
| | |
| | | return res |
| | | } |
| | | }) |
| | | console.log(1, col) |
| | | if (col.length == 0) { |
| | | col = outlineList.filter((ste) => { |
| | | if (ste.name == '其他') { |
| | | return res |
| | | } |
| | | }) |
| | | } |
| | | line = col[0].color |
| | | |
| | | var height = num - std[i].botdepth |
| | |
| | | { 'name': '卵石', 'color': [54, 83, 173, 1] }, |
| | | { 'name': '泥岩', 'color': [47, 30, 13, 1] }, |
| | | { 'name': '细砂', 'color': [93, 88, 15, 1] }, |
| | | { 'name': '中砂', 'color': [164, 140, 21, 1] } |
| | | { 'name': '中砂', 'color': [164, 140, 21, 1] }, |
| | | { 'name': '淤泥质土', 'color': [75, 74, 78, 1] }, |
| | | { 'name': '其他', 'color': [225, 225, 225, 1] } |
| | | ] |
| | | for (var i = 0; i < list.length; i++) { |
| | | var out_color = list[i].color |