2026-04-14-1
This commit is contained in:
@@ -42,6 +42,16 @@
|
||||
"https://tiles.intaleqapp.com/places_egypt/{z}/{x}/{y}"
|
||||
],
|
||||
"maxzoom": 14
|
||||
},
|
||||
"overture_buildings": {
|
||||
"type": "vector",
|
||||
"tiles": ["https://tiles.intaleqapp.com/overture_building/{z}/{x}/{y}"],
|
||||
"maxzoom": 14
|
||||
},
|
||||
"overture_segments": {
|
||||
"type": "vector",
|
||||
"tiles": ["https://tiles.intaleqapp.com/overture_segment/{z}/{x}/{y}"],
|
||||
"maxzoom": 14
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
@@ -909,78 +919,18 @@
|
||||
{
|
||||
"id": "building-3d",
|
||||
"type": "fill-extrusion",
|
||||
"source": "local-osm-polygons",
|
||||
"source-layer": "planet_osm_polygon",
|
||||
"source": "overture_buildings",
|
||||
"source-layer": "overture_building",
|
||||
"minzoom": 15,
|
||||
"filter": [
|
||||
"has",
|
||||
"building"
|
||||
],
|
||||
"paint": {
|
||||
"fill-extrusion-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"building"
|
||||
],
|
||||
"commercial",
|
||||
"#E0D8CC",
|
||||
"retail",
|
||||
"#E8DDD0",
|
||||
"industrial",
|
||||
"#D8DDE4",
|
||||
"church",
|
||||
"#E4DCF0",
|
||||
"mosque",
|
||||
"#D4EAD8",
|
||||
"hospital",
|
||||
"#F0E0E0",
|
||||
"school",
|
||||
"#E8ECD4",
|
||||
"university",
|
||||
"#E4E8D4",
|
||||
"hotel",
|
||||
"#E0E4EE",
|
||||
"apartments",
|
||||
"#E8E4DC",
|
||||
"#E4DFDA"
|
||||
],
|
||||
"fill-extrusion-color": "#DDD8D0",
|
||||
"fill-extrusion-height": [
|
||||
"coalesce",
|
||||
[
|
||||
"to-number",
|
||||
[
|
||||
"get",
|
||||
"height"
|
||||
],
|
||||
0
|
||||
],
|
||||
[
|
||||
"*",
|
||||
[
|
||||
"to-number",
|
||||
[
|
||||
"get",
|
||||
"building:levels"
|
||||
],
|
||||
3
|
||||
],
|
||||
3.5
|
||||
],
|
||||
["to-number", ["get", "height"], 0],
|
||||
["*", ["coalesce", ["to-number", ["get", "num_floors"], null], 3], 3.5],
|
||||
12
|
||||
],
|
||||
"fill-extrusion-base": [
|
||||
"coalesce",
|
||||
[
|
||||
"to-number",
|
||||
[
|
||||
"get",
|
||||
"min_height"
|
||||
],
|
||||
0
|
||||
],
|
||||
0
|
||||
],
|
||||
"fill-extrusion-base": 0,
|
||||
"fill-extrusion-opacity": 0.85,
|
||||
"fill-extrusion-vertical-gradient": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user