Skip to content

Commit d917bb0

Browse files
committed
feat: move building rendering as last Z-order
1 parent b0bb327 commit d917bb0

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

server/static/style.json

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -360,37 +360,6 @@
360360
"layout": {"visibility": "visible"},
361361
"paint": {"fill-color": "rgba(245, 238, 188, 1)", "fill-opacity": 1}
362362
},
363-
{
364-
"id": "building",
365-
"type": "fill",
366-
"metadata": {"mapbox:group": "1444849364238.8171"},
367-
"source": "openmaptiles",
368-
"source-layer": "building",
369-
"minzoom": 13,
370-
"maxzoom": 21,
371-
"layout": {
372-
"visibility": "visible"
373-
},
374-
"paint": {
375-
"fill-color": "rgba(203, 198, 198, 1)",
376-
"fill-outline-color": {"base": 1, "stops": [[13,"rgba(131, 123, 123, 0.32)"], [14,"rgba(157, 3, 5, 1)"]]}
377-
}
378-
},
379-
{
380-
"id": "building-3d",
381-
"type": "fill-extrusion",
382-
"metadata": {"mapbox:group": "1444849364238.8171"},
383-
"source": "openmaptiles",
384-
"source-layer": "building",
385-
"minzoom": 14,
386-
"layout": {"visibility": "visible"},
387-
"paint": {
388-
"fill-extrusion-color": "rgba(203, 198, 198, 1)",
389-
"fill-extrusion-height": {"property": "render_height","type": "identity"},
390-
"fill-extrusion-base": {"property": "render_min_height","type": "identity"},
391-
"fill-extrusion-opacity": 0.9
392-
}
393-
},
394363
{
395364
"id": "tunnel-service-track-casing",
396365
"type": "line",
@@ -2450,6 +2419,38 @@
24502419
"text-halo-color": "rgba(255,255,255,0.8)",
24512420
"text-halo-width": 2
24522421
}
2422+
},
2423+
2424+
{
2425+
"id": "building",
2426+
"type": "fill",
2427+
"metadata": {"mapbox:group": "1444849364238.8171"},
2428+
"source": "openmaptiles",
2429+
"source-layer": "building",
2430+
"minzoom": 13,
2431+
"maxzoom": 21,
2432+
"layout": {
2433+
"visibility": "visible"
2434+
},
2435+
"paint": {
2436+
"fill-color": "rgba(203, 198, 198, 1)",
2437+
"fill-outline-color": {"base": 1, "stops": [[13,"rgba(131, 123, 123, 0.32)"], [14,"rgba(157, 3, 5, 1)"]]}
2438+
}
2439+
},
2440+
{
2441+
"id": "building-3d",
2442+
"type": "fill-extrusion",
2443+
"metadata": {"mapbox:group": "1444849364238.8171"},
2444+
"source": "openmaptiles",
2445+
"source-layer": "building",
2446+
"minzoom": 14,
2447+
"layout": {"visibility": "visible"},
2448+
"paint": {
2449+
"fill-extrusion-color": "rgba(203, 198, 198, 1)",
2450+
"fill-extrusion-height": {"property": "render_height","type": "identity"},
2451+
"fill-extrusion-base": {"property": "render_min_height","type": "identity"},
2452+
"fill-extrusion-opacity": 0.95
2453+
}
24532454
}
24542455
],
24552456
"id": "bright"

0 commit comments

Comments
 (0)