964 lines
27 KiB
JSON
964 lines
27 KiB
JSON
{
|
|
"version": 8,
|
|
"name": "Intaleq Premium Map Style v3",
|
|
"metadata": {
|
|
"brand": "Intaleq",
|
|
"version": "3.0.0",
|
|
"description": "Warm MENA palette · Google+OSM hybrid · 3D buildings with light · LOD zoom system · Full layer set"
|
|
},
|
|
"center": [36.276008, 33.513685],
|
|
"zoom": 15,
|
|
|
|
"light": {
|
|
"anchor": "viewport",
|
|
"color": "#ffffff",
|
|
"intensity": 0.45,
|
|
"position": [1.5, 225, 30]
|
|
},
|
|
|
|
"glyphs": "https://cdn.protomaps.com/fonts/pbf/{fontstack}/{range}.pbf",
|
|
"sprite": "https://demotiles.maplibre.org/styles/osm-bright-gl-style/sprite",
|
|
|
|
"sources": {
|
|
"local-osm-polygons": {
|
|
"type": "vector",
|
|
"tiles": ["https://tiles.intaleqapp.com/planet_osm_polygon/{z}/{x}/{y}"],
|
|
"maxzoom": 14,
|
|
"attribution": "© Intaleq | © OpenStreetMap contributors"
|
|
},
|
|
"local-osm-lines": {
|
|
"type": "vector",
|
|
"tiles": ["https://tiles.intaleqapp.com/planet_osm_line/{z}/{x}/{y}"],
|
|
"maxzoom": 14
|
|
},
|
|
"local-osm-points": {
|
|
"type": "vector",
|
|
"tiles": ["https://tiles.intaleqapp.com/planet_osm_point/{z}/{x}/{y}"],
|
|
"maxzoom": 14
|
|
},
|
|
"places_egypt": {
|
|
"type": "vector",
|
|
"tiles": ["https://tiles.intaleqapp.com/places_egypt/{z}/{x}/{y}"],
|
|
"maxzoom": 14
|
|
}
|
|
},
|
|
|
|
"layers": [
|
|
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "#F2EDE4"
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "landuse-residential",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["==", "landuse", "residential"],
|
|
"paint": {
|
|
"fill-color": "#EDE7DC",
|
|
"fill-opacity": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-commercial",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["==", "landuse", "commercial"],
|
|
"paint": {
|
|
"fill-color": "#F5EED8",
|
|
"fill-opacity": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-industrial",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["in", "landuse", "industrial", "railway"],
|
|
"paint": {
|
|
"fill-color": "#DDD8CC",
|
|
"fill-opacity": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-cemetery",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["==", "landuse", "cemetery"],
|
|
"paint": {
|
|
"fill-color": "#B0C8A8",
|
|
"fill-opacity": 0.85
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-military",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["==", "landuse", "military"],
|
|
"paint": {
|
|
"fill-color": "#D8CEB8",
|
|
"fill-opacity": 0.75
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "park-layer",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"any",
|
|
["in", "leisure", "park", "garden", "nature_reserve", "pitch", "playground"],
|
|
["in", "landuse", "grass", "meadow", "forest"],
|
|
["in", "natural", "wood", "scrub", "heath"]
|
|
],
|
|
"paint": {
|
|
"fill-color": [
|
|
"match", ["get", "leisure"],
|
|
"pitch", "#8DC88C",
|
|
"playground", "#A8D8A0",
|
|
"#B4D8A4"
|
|
],
|
|
"fill-opacity": 0.8
|
|
}
|
|
},
|
|
{
|
|
"id": "park-outline",
|
|
"type": "line",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["in", "leisure", "park", "garden", "nature_reserve"],
|
|
"paint": {
|
|
"line-color": "#80B880",
|
|
"line-width": 0.8,
|
|
"line-opacity": 0.65
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "water-polygon",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"any",
|
|
["in", "natural", "water", "lake", "bay"],
|
|
["==", "waterway", "riverbank"],
|
|
["in", "landuse", "basin", "reservoir"],
|
|
["==", "amenity", "fountain"]
|
|
],
|
|
"paint": {
|
|
"fill-color": "#7EC8DF",
|
|
"fill-opacity": 0.92
|
|
}
|
|
},
|
|
{
|
|
"id": "water-polygon-outline",
|
|
"type": "line",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"any",
|
|
["in", "natural", "water", "lake", "bay"],
|
|
["==", "waterway", "riverbank"],
|
|
["in", "landuse", "basin", "reservoir"]
|
|
],
|
|
"paint": {
|
|
"line-color": "#50A8CC",
|
|
"line-width": 0.8,
|
|
"line-opacity": 0.75
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "waterway-river",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"all",
|
|
["in", "waterway", "river", "canal"],
|
|
["!=", "intermittent", "yes"],
|
|
["!=", "seasonal", "yes"],
|
|
["!=", "tunnel", "yes"]
|
|
],
|
|
"paint": {
|
|
"line-color": "#50B8D4",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
8, 0.8, 10, 1.5, 14, 4, 16, 7
|
|
],
|
|
"line-opacity": 0.92
|
|
}
|
|
},
|
|
{
|
|
"id": "waterway-stream-drain",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 13,
|
|
"filter": [
|
|
"all",
|
|
["in", "waterway", "stream", "drain", "ditch"],
|
|
["!=", "intermittent", "yes"],
|
|
["!=", "seasonal", "yes"],
|
|
["!=", "tunnel", "yes"]
|
|
],
|
|
"paint": {
|
|
"line-color": "#68C0D8",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
13, 0.7, 16, 2.5
|
|
],
|
|
"line-opacity": 0.8
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "railway-area",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["==", "landuse", "railway"],
|
|
"paint": {
|
|
"fill-color": "#D0CBBF",
|
|
"fill-opacity": 0.85
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "railway-rail-casing",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 8,
|
|
"filter": [
|
|
"all",
|
|
["in", "railway", "rail", "narrow_gauge", "preserved"],
|
|
["!=", "service", "yard"],
|
|
["!=", "service", "siding"]
|
|
],
|
|
"paint": {
|
|
"line-color": "#A8A090",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
8, 1.5, 12, 3.5, 16, 7
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "railway-rail-core",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 8,
|
|
"filter": [
|
|
"all",
|
|
["in", "railway", "rail", "narrow_gauge", "preserved"],
|
|
["!=", "service", "yard"],
|
|
["!=", "service", "siding"]
|
|
],
|
|
"paint": {
|
|
"line-color": "#6A6860",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
8, 0.8, 12, 2, 16, 4
|
|
],
|
|
"line-dasharray": [6, 4]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "railway-subway-casing",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 10,
|
|
"filter": ["in", "railway", "subway", "light_rail", "tram", "monorail"],
|
|
"paint": {
|
|
"line-color": [
|
|
"match", ["get", "railway"],
|
|
"subway", "#A01828",
|
|
"light_rail", "#005099",
|
|
"tram", "#660EA0",
|
|
"monorail", "#006844",
|
|
"#883040"
|
|
],
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
10, 3, 14, 6, 16, 10
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "railway-subway-core",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 10,
|
|
"filter": ["in", "railway", "subway", "light_rail", "tram", "monorail"],
|
|
"paint": {
|
|
"line-color": [
|
|
"match", ["get", "railway"],
|
|
"subway", "#E8253A",
|
|
"light_rail", "#1A80F0",
|
|
"tram", "#9932DC",
|
|
"monorail", "#00A858",
|
|
"#E03048"
|
|
],
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
10, 1.5, 14, 3.5, 16, 6
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-track-path",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 14,
|
|
"filter": ["in", "highway", "track", "path", "footway", "cycleway", "steps"],
|
|
"paint": {
|
|
"line-color": "#C0B8A8",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
14, 0.8, 16, 3
|
|
],
|
|
"line-dasharray": [4, 3],
|
|
"line-opacity": 0.7
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-minor",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "residential", "service", "unclassified", "living_street", "pedestrian"],
|
|
"paint": {
|
|
"line-color": "#C8C0B0",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
12, 1.5, 16, 10
|
|
],
|
|
"line-opacity": 0.65
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-minor",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "residential", "service", "unclassified", "living_street", "pedestrian"],
|
|
"paint": {
|
|
"line-color": "#FDFAF5",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
12, 0.8, 16, 8
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-tertiary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "tertiary", "tertiary_link"],
|
|
"paint": {
|
|
"line-color": "#BEB5A4",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
11, 2, 16, 14
|
|
],
|
|
"line-opacity": 0.7
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-tertiary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "tertiary", "tertiary_link"],
|
|
"paint": {
|
|
"line-color": "#FDFAF5",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
11, 1.2, 16, 11
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-secondary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "secondary", "secondary_link"],
|
|
"paint": {
|
|
"line-color": "#B8B0A0",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
11, 2.5, 16, 16
|
|
],
|
|
"line-opacity": 0.72
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-secondary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "secondary", "secondary_link"],
|
|
"paint": {
|
|
"line-color": "#FDF8F0",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
11, 1.8, 16, 13
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-primary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "primary", "primary_link"],
|
|
"paint": {
|
|
"line-color": "#C0A048",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
10, 3, 16, 18
|
|
],
|
|
"line-opacity": 0.68
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-primary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "primary", "primary_link"],
|
|
"paint": {
|
|
"line-color": "#F5D44C",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
10, 2, 16, 14
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-casing-motorway-trunk",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "motorway", "motorway_link", "trunk", "trunk_link"],
|
|
"paint": {
|
|
"line-color": "#B89038",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
9, 4, 16, 20
|
|
],
|
|
"line-opacity": 0.72
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-motorway-trunk",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["in", "highway", "motorway", "motorway_link", "trunk", "trunk_link"],
|
|
"paint": {
|
|
"line-color": "#E8C030",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"],
|
|
9, 2.5, 16, 16
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "building-fill-flat",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["has", "building"],
|
|
"maxzoom": 14,
|
|
"paint": {
|
|
"fill-color": "#CEC8BC",
|
|
"fill-opacity": ["interpolate", ["linear"], ["zoom"],
|
|
10, 0.4, 13, 0.72
|
|
],
|
|
"fill-outline-color": "#B8B0A4"
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "building-3d",
|
|
"type": "fill-extrusion",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"minzoom": 14,
|
|
"filter": ["has", "building"],
|
|
"paint": {
|
|
"fill-extrusion-color": [
|
|
"match", ["get", "building"],
|
|
"commercial", "#D4C8B0",
|
|
"retail", "#DDD0B4",
|
|
"industrial", "#C8C4B8",
|
|
"church", "#D0C4DC",
|
|
"mosque", "#C4D8C0",
|
|
"hospital", "#DCC8C8",
|
|
"school", "#D0D8BC",
|
|
"university", "#C8D0B8",
|
|
"hotel", "#C8CCE0",
|
|
"apartments", "#D0CCC4",
|
|
"#CCC8C0"
|
|
],
|
|
"fill-extrusion-height": [
|
|
"interpolate", ["linear"], ["zoom"],
|
|
14, ["*", ["coalesce", ["to-number", ["get", "building:levels"], null], 3], 2.0],
|
|
15, ["*", ["coalesce", ["to-number", ["get", "building:levels"], null], 3], 3.0],
|
|
17, ["coalesce",
|
|
["to-number", ["get", "height"], null],
|
|
["*", ["to-number", ["get", "building:levels"], 3], 3.5],
|
|
12
|
|
]
|
|
],
|
|
"fill-extrusion-base": [
|
|
"coalesce",
|
|
["to-number", ["get", "min_height"], null],
|
|
0
|
|
],
|
|
"fill-extrusion-opacity": [
|
|
"interpolate", ["linear"], ["zoom"],
|
|
14, 0.55,
|
|
15, 0.78,
|
|
16, 0.92
|
|
],
|
|
"fill-extrusion-vertical-gradient": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "railway-label",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 13,
|
|
"filter": ["in", "railway", "rail", "subway", "light_rail", "tram"],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
13, 9, 16, 12
|
|
],
|
|
"symbol-placement": "line",
|
|
"text-padding": 6,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": [
|
|
"match", ["get", "railway"],
|
|
"subway", "#B01820",
|
|
"light_rail", "#005099",
|
|
"tram", "#660EA0",
|
|
"#4A4840"
|
|
],
|
|
"text-halo-color": "rgba(242, 237, 228, 0.95)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "waterway-label",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 12,
|
|
"filter": [
|
|
"all",
|
|
["in", "waterway", "river", "canal"],
|
|
["!=", "intermittent", "yes"],
|
|
["has", "name"]
|
|
],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
12, 10, 16, 13
|
|
],
|
|
"symbol-placement": "line",
|
|
"text-letter-spacing": 0.1
|
|
},
|
|
"paint": {
|
|
"text-color": "#2878A0",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.88)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "building-number-polygon",
|
|
"type": "symbol",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"minzoom": 17,
|
|
"filter": ["has", "addr:housenumber"],
|
|
"layout": {
|
|
"text-field": "{addr:housenumber}",
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": 10,
|
|
"text-allow-overlap": false,
|
|
"text-ignore-placement": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#585040",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 1.5,
|
|
"text-halo-blur": 0.3
|
|
}
|
|
},
|
|
{
|
|
"id": "building-number-point",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 17,
|
|
"filter": ["has", "addr:housenumber"],
|
|
"layout": {
|
|
"text-field": "{addr:housenumber}",
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": 10,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#585040",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 1.5,
|
|
"text-halo-blur": 0.3
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "road-labels-minor",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 16,
|
|
"filter": ["in", "highway", "residential", "service", "unclassified", "living_street"],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
16, 10, 18, 12
|
|
],
|
|
"symbol-placement": "line",
|
|
"text-letter-spacing": 0.04,
|
|
"text-padding": 4,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#4A4438",
|
|
"text-halo-color": "rgba(253, 250, 245, 0.92)",
|
|
"text-halo-width": 1.5,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "road-labels-major",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 13,
|
|
"filter": ["in", "highway", "primary", "secondary", "tertiary", "motorway", "trunk"],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
13, 10, 16, 13, 18, 15
|
|
],
|
|
"symbol-placement": "line",
|
|
"text-letter-spacing": 0.05,
|
|
"text-padding": 5,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#302820",
|
|
"text-halo-color": "rgba(253, 250, 245, 0.94)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "poi-hospital",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 13,
|
|
"filter": ["==", "amenity", "hospital"],
|
|
"layout": {
|
|
"icon-image": "hospital",
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
13, 0.7, 16, 1.0
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
13, 9, 16, 12
|
|
],
|
|
"text-offset": [0, 1.2],
|
|
"text-anchor": "top",
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#A82020",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "poi-pharmacy",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 15,
|
|
"filter": ["==", "amenity", "pharmacy"],
|
|
"layout": {
|
|
"icon-image": "pharmacy",
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
15, 0.6, 17, 0.9
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
15, 9, 17, 11
|
|
],
|
|
"text-offset": [0, 1.2],
|
|
"text-anchor": "top"
|
|
},
|
|
"paint": {
|
|
"text-color": "#187840",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 1.8,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "poi-place-of-worship",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 14,
|
|
"filter": ["==", "amenity", "place_of_worship"],
|
|
"layout": {
|
|
"icon-image": "tourist",
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
14, 0.6, 17, 0.9
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
14, 9, 17, 12
|
|
],
|
|
"text-offset": [0, 1.2],
|
|
"text-anchor": "top"
|
|
},
|
|
"paint": {
|
|
"text-color": "#186838",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "poi-restaurant-cafe",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 16,
|
|
"filter": ["in", "amenity", "restaurant", "cafe", "fast_food"],
|
|
"layout": {
|
|
"icon-image": ["match", ["get", "amenity"], "cafe", "cafe", "restaurant"],
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
16, 0.6, 18, 0.9
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
16, 9, 18, 11
|
|
],
|
|
"text-offset": [0, 1.2],
|
|
"text-anchor": "top"
|
|
},
|
|
"paint": {
|
|
"text-color": "#403830",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.92)",
|
|
"text-halo-width": 1.8,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "poi-school",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 14,
|
|
"filter": ["in", "amenity", "school", "university", "college"],
|
|
"layout": {
|
|
"icon-image": "college",
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
14, 0.6, 17, 0.9
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
14, 9, 17, 12
|
|
],
|
|
"text-offset": [0, 1.2],
|
|
"text-anchor": "top"
|
|
},
|
|
"paint": {
|
|
"text-color": "#4A3880",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "poi-transit-station",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 12,
|
|
"filter": [
|
|
"any",
|
|
["==", "railway", "station"],
|
|
["==", "railway", "halt"],
|
|
["==", "railway", "tram_stop"],
|
|
["==", "station", "subway"],
|
|
["==", "amenity", "bus_station"]
|
|
],
|
|
"layout": {
|
|
"icon-image": "rail",
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"],
|
|
12, 0.7, 16, 1.1
|
|
],
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
12, 9, 16, 12
|
|
],
|
|
"text-offset": [0, 1.4],
|
|
"text-anchor": "top",
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#A01828",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.95)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "place-labels-area",
|
|
"type": "symbol",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"minzoom": 10,
|
|
"filter": ["has", "name"],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
10, 9, 14, 12, 17, 14
|
|
],
|
|
"text-padding": 8,
|
|
"text-allow-overlap": false,
|
|
"text-ignore-placement": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#342C20",
|
|
"text-halo-color": "rgba(242, 237, 228, 0.9)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "place-labels-point",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 10,
|
|
"filter": [
|
|
"any",
|
|
["in", "place", "city", "town", "village", "suburb", "neighbourhood", "hamlet", "locality", "quarter"],
|
|
["in", "natural", "peak", "spring"]
|
|
],
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name:ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": [
|
|
"interpolate", ["linear"], ["zoom"],
|
|
10, ["match", ["get", "place"], "city", 15, "town", 13, 10],
|
|
14, ["match", ["get", "place"], "city", 19, "town", 15, 12],
|
|
17, 14
|
|
],
|
|
"text-letter-spacing": [
|
|
"match", ["get", "place"],
|
|
"city", 0.08,
|
|
"town", 0.05,
|
|
0.02
|
|
],
|
|
"text-anchor": "center",
|
|
"text-padding": 10,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": [
|
|
"match", ["get", "place"],
|
|
"city", "#18100A",
|
|
"town", "#28201A",
|
|
"village", "#38302A",
|
|
"suburb", "#483830",
|
|
"neighbourhood", "#504038",
|
|
"#584840"
|
|
],
|
|
"text-halo-color": "rgba(242, 237, 228, 0.94)",
|
|
"text-halo-width": [
|
|
"match", ["get", "place"],
|
|
"city", 3,
|
|
"town", 2.5,
|
|
2
|
|
],
|
|
"text-halo-blur": 0.5
|
|
}
|
|
},
|
|
|
|
{
|
|
"id": "places-egypt-labels",
|
|
"type": "symbol",
|
|
"source": "places_egypt",
|
|
"source-layer": "places_egypt",
|
|
"minzoom": 12,
|
|
"layout": {
|
|
"text-field": ["coalesce", ["get", "name_ar"], ["get", "name"], ""],
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": ["interpolate", ["linear"], ["zoom"],
|
|
12, 9, 16, 13, 18, 15
|
|
],
|
|
"text-offset": [0, 1.5],
|
|
"text-anchor": "top",
|
|
"text-padding": 8,
|
|
"text-allow-overlap": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#282018",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.92)",
|
|
"text-halo-width": 2,
|
|
"text-halo-blur": 0.5
|
|
}
|
|
}
|
|
|
|
]
|
|
} |