|
9 | 9 | "resources": { |
10 | 10 | "propertyMap": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/propertyMap.png" |
11 | 11 | }, |
12 | | - "deckglSpecPatch": [ |
13 | | - { |
14 | | - "op": "replace", |
15 | | - "path": "", |
16 | | - "value": { |
17 | | - "initialViewState": { |
18 | | - "target": [ |
19 | | - 434962.5, |
20 | | - 6478095.5, |
21 | | - 0 |
22 | | - ], |
23 | | - "zoom": -3 |
24 | | - }, |
25 | | - "layers": [ |
26 | | - { |
27 | | - "@@type": "ColormapLayer", |
28 | | - "id": "colormap-layer", |
29 | | - "bounds": [ |
30 | | - 432205, |
31 | | - 6475078, |
32 | | - 437720, |
33 | | - 6481113 |
34 | | - ], |
35 | | - "image": "@@#resources.propertyMap", |
36 | | - "colormap": "https://cdn.jsdelivr.net/gh/kylebarron/deck.gl-raster/assets/colormaps/plasma.png", |
37 | | - "valueRange": [ |
38 | | - 2782, |
39 | | - 3513 |
40 | | - ], |
41 | | - "pickable": true |
42 | | - }, |
43 | | - { |
44 | | - "@@type": "Hillshading2DLayer", |
45 | | - "id": "hillshading-layer", |
46 | | - "bounds": [ |
47 | | - 432205, |
48 | | - 6475078, |
49 | | - 437720, |
50 | | - 6481113 |
51 | | - ], |
52 | | - "valueRange": [ |
53 | | - 2782, |
54 | | - 3513 |
55 | | - ], |
56 | | - "opacity": 1.0, |
57 | | - "image": "@@#resources.propertyMap", |
58 | | - "pickable": true |
59 | | - }, |
60 | | - { |
61 | | - "@@type": "WellsLayer", |
62 | | - "id": "wells-layer", |
63 | | - "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/volve_wells.json", |
64 | | - "logData": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/volve_logs.json", |
65 | | - "opacity": 1.0, |
66 | | - "lineWidthScale": 5, |
67 | | - "logRadius": 6, |
68 | | - "logrunName": "BLOCKING", |
69 | | - "logName": "ZONELOG", |
70 | | - "pointRadiusScale": 8, |
71 | | - "outline": true, |
72 | | - "logCurves": true |
73 | | - }, |
74 | | - { |
75 | | - "@@type": "FaultPolygonsLayer", |
76 | | - "id": "fault-polygons-layer", |
77 | | - "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/fault_polygons.geojson", |
78 | | - "lineWidthMinPixels": 2 |
79 | | - }, |
80 | | - { |
81 | | - "@@type": "PieChartLayer", |
82 | | - "id": "pie-layer", |
83 | | - "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/piechart.json" |
84 | | - }, |
85 | | - { |
86 | | - "@@type": "DrawingLayer", |
87 | | - "id": "drawing-layer", |
88 | | - "mode": "drawLineString", |
89 | | - "data": { |
90 | | - "type": "FeatureCollection", |
91 | | - "features": [] |
92 | | - } |
93 | | - } |
| 12 | + "deckglSpecBase": { |
| 13 | + "initialViewState": { |
| 14 | + "target": [ |
| 15 | + 434962.5, |
| 16 | + 6478095.5, |
| 17 | + 0 |
| 18 | + ], |
| 19 | + "zoom": -3 |
| 20 | + }, |
| 21 | + "layers": [ |
| 22 | + { |
| 23 | + "@@type": "ColormapLayer", |
| 24 | + "id": "colormap-layer", |
| 25 | + "bounds": [ |
| 26 | + 432205, |
| 27 | + 6475078, |
| 28 | + 437720, |
| 29 | + 6481113 |
| 30 | + ], |
| 31 | + "image": "@@#resources.propertyMap", |
| 32 | + "colormap": "https://cdn.jsdelivr.net/gh/kylebarron/deck.gl-raster/assets/colormaps/plasma.png", |
| 33 | + "valueRange": [ |
| 34 | + 2782, |
| 35 | + 3513 |
| 36 | + ], |
| 37 | + "pickable": true |
| 38 | + }, |
| 39 | + { |
| 40 | + "@@type": "Hillshading2DLayer", |
| 41 | + "id": "hillshading-layer", |
| 42 | + "bounds": [ |
| 43 | + 432205, |
| 44 | + 6475078, |
| 45 | + 437720, |
| 46 | + 6481113 |
94 | 47 | ], |
95 | | - "views": [ |
96 | | - { |
97 | | - "@@type": "OrthographicView", |
98 | | - "id": "main", |
99 | | - "controller": { |
100 | | - "doubleClickZoom": false |
101 | | - }, |
102 | | - "x": "0%", |
103 | | - "y": "0%", |
104 | | - "width": "100%", |
105 | | - "height": "100%", |
106 | | - "flipY": false |
107 | | - } |
108 | | - ] |
| 48 | + "valueRange": [ |
| 49 | + 2782, |
| 50 | + 3513 |
| 51 | + ], |
| 52 | + "opacity": 1.0, |
| 53 | + "image": "@@#resources.propertyMap", |
| 54 | + "pickable": true |
| 55 | + }, |
| 56 | + { |
| 57 | + "@@type": "WellsLayer", |
| 58 | + "id": "wells-layer", |
| 59 | + "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/volve_wells.json", |
| 60 | + "logData": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/volve_logs.json", |
| 61 | + "opacity": 1.0, |
| 62 | + "lineWidthScale": 5, |
| 63 | + "logRadius": 6, |
| 64 | + "logrunName": "BLOCKING", |
| 65 | + "logName": "zonelog", |
| 66 | + "pointRadiusScale": 8, |
| 67 | + "outline": true, |
| 68 | + "logCurves": true |
| 69 | + }, |
| 70 | + { |
| 71 | + "@@type": "FaultPolygonsLayer", |
| 72 | + "id": "fault-polygons-layer", |
| 73 | + "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/fault_polygons.geojson", |
| 74 | + "lineWidthMinPixels": 2 |
| 75 | + }, |
| 76 | + { |
| 77 | + "@@type": "PieChartLayer", |
| 78 | + "id": "pie-layer", |
| 79 | + "data": "https://raw.githubusercontent.com/equinor/webviz-subsurface-components/master/react/src/demo/example-data/piechart.json" |
| 80 | + }, |
| 81 | + { |
| 82 | + "@@type": "DrawingLayer", |
| 83 | + "id": "drawing-layer", |
| 84 | + "mode": "drawLineString", |
| 85 | + "data": { |
| 86 | + "type": "FeatureCollection", |
| 87 | + "features": [] |
| 88 | + } |
| 89 | + } |
| 90 | + ], |
| 91 | + "views": [ |
| 92 | + { |
| 93 | + "@@type": "OrthographicView", |
| 94 | + "id": "main", |
| 95 | + "controller": { |
| 96 | + "doubleClickZoom": false |
| 97 | + }, |
| 98 | + "x": "0%", |
| 99 | + "y": "0%", |
| 100 | + "width": "100%", |
| 101 | + "height": "100%", |
| 102 | + "flipY": false |
109 | 103 | } |
110 | | - } |
111 | | - ] |
| 104 | + ] |
| 105 | + } |
112 | 106 | } |
113 | 107 | ] |
0 commit comments