MENA region data enrichment scripts` -> Wait, let's keep it concise and clean.
* *Option 3:* `feat: add tourist landmarks support with UI sheets, data models
This commit is contained in:
@@ -583,6 +583,58 @@
|
||||
"fill-extrusion-opacity": 0.88
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "osm-buildings-ground-shadows",
|
||||
"type": "fill",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"filter": [
|
||||
"has",
|
||||
"building"
|
||||
],
|
||||
"minzoom": 13.5,
|
||||
"layout": {
|
||||
"visibility": "visible"
|
||||
},
|
||||
"paint": {
|
||||
"fill-color": "#0f172a",
|
||||
"fill-opacity": 0.45,
|
||||
"fill-translate": [12, 4],
|
||||
"fill-translate-anchor": "map"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "osm-buildings-extrusion",
|
||||
"type": "fill-extrusion",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"filter": [
|
||||
"has",
|
||||
"building"
|
||||
],
|
||||
"minzoom": 13.5,
|
||||
"layout": {
|
||||
"visibility": "visible"
|
||||
},
|
||||
"paint": {
|
||||
"fill-extrusion-color": [
|
||||
"interpolate",
|
||||
["linear"],
|
||||
["coalesce", ["get", "height"], 12],
|
||||
0, "#e7e5e4",
|
||||
30, "#d6d3d1",
|
||||
70, "#a8a29e",
|
||||
150, "#78716c"
|
||||
],
|
||||
"fill-extrusion-height": [
|
||||
"coalesce",
|
||||
["get", "height"],
|
||||
["*", ["coalesce", ["get", "building:levels"], 2.5], 3.5]
|
||||
],
|
||||
"fill-extrusion-base": 0,
|
||||
"fill-extrusion-opacity": 0.88
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "mountain-peaks-points",
|
||||
"type": "circle",
|
||||
|
||||
Reference in New Issue
Block a user