Skip to content

Commit 9b7d806

Browse files
stephanheiglgithub-actions[bot]
authored andcommitted
Render-test for building conflation changes triggered by config changes.
GitOrigin-RevId: fefdf71409ccb6c6d6170420edd55d21f8c6bf72
1 parent 5d62616 commit 9b7d806

File tree

2 files changed

+282
-0
lines changed

2 files changed

+282
-0
lines changed
115 KB
Loading
Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,282 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"allowed": 0.00154,
6+
"width": 512,
7+
"height": 512,
8+
"operations": [
9+
[
10+
"wait"
11+
],
12+
[
13+
"setConfigProperty",
14+
"basemap",
15+
"show3dLandmarks",
16+
false
17+
],
18+
[
19+
"wait"
20+
]
21+
]
22+
}
23+
},
24+
"schema": {
25+
"show3dLandmarks": {
26+
"default": true,
27+
"type": "boolean"
28+
}
29+
},
30+
"lights": [
31+
{
32+
"type": "ambient",
33+
"id": "environment"
34+
},
35+
{
36+
"type": "directional",
37+
"id": "sun_light",
38+
"properties": {
39+
"cast-shadows": true,
40+
"intensity": 0.8599999904632569,
41+
"direction": [
42+
311.9219970703125,
43+
82.37799835205078
44+
]
45+
}
46+
}
47+
],
48+
"sources": {
49+
"composite": {
50+
"type": "vector",
51+
"maxzoom": 15,
52+
"tiles": [
53+
"local://tiles/{z}-{x}-{y}.vector.pbf"
54+
]
55+
},
56+
"file-system-tiles": {
57+
"type": "batched-model",
58+
"maxzoom": 14,
59+
"tiles": [
60+
"local://models/landmark/mbx/{x}-{y}-{z}.glb"
61+
]
62+
}
63+
},
64+
"zoom": 16.1,
65+
"center": [
66+
11.574606,
67+
48.138809
68+
],
69+
"layers": [
70+
{
71+
"type": "background",
72+
"paint": {
73+
"background-color": [
74+
"interpolate",
75+
[
76+
"linear"
77+
],
78+
[
79+
"zoom"
80+
],
81+
11.0,
82+
[
83+
"rgba",
84+
239.00001525878907,
85+
233.00001525878907,
86+
225.00001525878907,
87+
1.0
88+
],
89+
13.0,
90+
[
91+
"rgba",
92+
230.00001525878907,
93+
228.00001525878907,
94+
224.00001525878907,
95+
1.0
96+
]
97+
]
98+
},
99+
"id": "land"
100+
},
101+
{
102+
"id": "extrusion",
103+
"type": "fill-extrusion",
104+
"source": "composite",
105+
"source-layer": "procedural_buildings",
106+
"minzoom": 15,
107+
"filter": [
108+
"all",
109+
[
110+
"==",
111+
[
112+
"get",
113+
"extrude"
114+
],
115+
"true"
116+
],
117+
[
118+
"==",
119+
[
120+
"get",
121+
"underground"
122+
],
123+
"false"
124+
]
125+
],
126+
"paint": {
127+
"fill-extrusion-color": "white",
128+
"fill-extrusion-height": [
129+
"get",
130+
"height"
131+
],
132+
"fill-extrusion-opacity": 1.0
133+
},
134+
"layout": {
135+
"fill-extrusion-edge-radius": 0.5
136+
}
137+
},
138+
{
139+
"id": "building",
140+
"type": "building",
141+
"source": "composite",
142+
"source-layer": "procedural_buildings",
143+
"minzoom": 15,
144+
"layout": {
145+
"building-roof-shape": "parapet",
146+
"building-height": [
147+
"number",
148+
[
149+
"get",
150+
"height"
151+
]
152+
],
153+
"building-base": [
154+
"number",
155+
[
156+
"get",
157+
"min_height"
158+
]
159+
]
160+
},
161+
"paint": {
162+
"building-color": [
163+
"match",
164+
[
165+
"get",
166+
"building-part"
167+
],
168+
"wall",
169+
[
170+
"hsl",
171+
41,
172+
90,
173+
90
174+
],
175+
"roof",
176+
[
177+
"hsl",
178+
25,
179+
43,
180+
80
181+
],
182+
[
183+
"hsl",
184+
41,
185+
90,
186+
90
187+
]
188+
],
189+
"building-ambient-occlusion-intensity": 1
190+
}
191+
},
192+
{
193+
"minzoom": 14.0,
194+
"type": "model",
195+
"source": "file-system-tiles",
196+
"layout": {
197+
"visibility": [
198+
"case",
199+
[
200+
"config",
201+
"show3dLandmarks"
202+
],
203+
"visible",
204+
"none"
205+
]
206+
},
207+
"paint": {
208+
"model-color-mix-intensity": [
209+
"match",
210+
[
211+
"get",
212+
"part"
213+
],
214+
"logo",
215+
0.0,
216+
"roof",
217+
0.0,
218+
1.0
219+
],
220+
"model-emissive-strength": [
221+
"match",
222+
[
223+
"get",
224+
"part"
225+
],
226+
"door",
227+
1.7,
228+
"logo",
229+
0.0,
230+
"window",
231+
0.456,
232+
0.0
233+
],
234+
"model-scale": [
235+
1.0,
236+
1.0,
237+
1.0
238+
],
239+
"model-color": [
240+
"match",
241+
[
242+
"get",
243+
"part"
244+
],
245+
"door",
246+
[
247+
"rgba",
248+
128.0,
249+
255.0,
250+
255.0,
251+
1.0
252+
],
253+
"roof",
254+
[
255+
"rgba",
256+
178.5,
257+
178.5,
258+
178.5,
259+
1.0
260+
],
261+
"window",
262+
[
263+
"rgba",
264+
255.0,
265+
255.0,
266+
0.0,
267+
1.0
268+
],
269+
[
270+
"rgba",
271+
255.0,
272+
255.0,
273+
255.0,
274+
1.0
275+
]
276+
],
277+
"model-opacity": 1.0
278+
},
279+
"id": "landmarks"
280+
}
281+
]
282+
}

0 commit comments

Comments
 (0)