591 lines
12 KiB
JSON
591 lines
12 KiB
JSON
{
|
|
"version": 8,
|
|
"name": "Intaleq Modern Premium",
|
|
"metadata": {},
|
|
"center": [
|
|
36.276008,
|
|
33.513685
|
|
],
|
|
"zoom": 15,
|
|
"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 Mapping Solutions"
|
|
},
|
|
"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
|
|
},
|
|
"user-landmarks": {
|
|
"type": "vector",
|
|
"tiles": [
|
|
"https://tiles.intaleqapp.com/places_syria/{z}/{x}/{y}"
|
|
],
|
|
"maxzoom": 14
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "#f8f9fa"
|
|
}
|
|
},
|
|
{
|
|
"id": "water-layer",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"in",
|
|
"natural",
|
|
"water",
|
|
"lake",
|
|
"riverbank"
|
|
],
|
|
"paint": {
|
|
"fill-color": "#a3ccff"
|
|
}
|
|
},
|
|
{
|
|
"id": "park-layer",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"in",
|
|
"leisure",
|
|
"park",
|
|
"garden",
|
|
"nature_reserve",
|
|
"pitch"
|
|
],
|
|
"paint": {
|
|
"fill-color": "#dcedc8"
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-layer",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": [
|
|
"in",
|
|
"landuse",
|
|
"residential",
|
|
"commercial",
|
|
"industrial",
|
|
"cemetery"
|
|
],
|
|
"paint": {
|
|
"fill-color": [
|
|
"match",
|
|
[
|
|
"get",
|
|
"landuse"
|
|
],
|
|
"residential",
|
|
"#f1f3f4",
|
|
"commercial",
|
|
"#f8f9fa",
|
|
"industrial",
|
|
"#f1f3f4",
|
|
"cemetery",
|
|
"#dcedc8",
|
|
"#f1f3f4"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "building-3d",
|
|
"type": "fill-extrusion",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"minzoom": 15,
|
|
"filter": [
|
|
"has",
|
|
"building"
|
|
],
|
|
"layout": {
|
|
"visibility": "visible"
|
|
},
|
|
"paint": {
|
|
"fill-extrusion-color": "#e8eaed",
|
|
"fill-extrusion-height": 20,
|
|
"fill-extrusion-base": 0,
|
|
"fill-extrusion-opacity": 0.8
|
|
}
|
|
},
|
|
{
|
|
"id": "road-casing-minor",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"residential",
|
|
"service",
|
|
"unclassified",
|
|
"living_street",
|
|
"pedestrian",
|
|
"path",
|
|
"track"
|
|
],
|
|
"paint": {
|
|
"line-color": "#d4d4d4",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
13,
|
|
1,
|
|
16,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-minor",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"residential",
|
|
"service",
|
|
"unclassified",
|
|
"living_street",
|
|
"pedestrian",
|
|
"path",
|
|
"track"
|
|
],
|
|
"paint": {
|
|
"line-color": "#ffffff",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
13,
|
|
0.5,
|
|
16,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-casing-tertiary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"tertiary",
|
|
"tertiary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#e0e0e0",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
1.5,
|
|
16,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-tertiary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"tertiary",
|
|
"tertiary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#ffffff",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
1,
|
|
16,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-casing-secondary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"secondary",
|
|
"secondary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#cfd8dc",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
2,
|
|
16,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-secondary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"secondary",
|
|
"secondary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#f1f5f9",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
1.5,
|
|
16,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-casing-primary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"primary",
|
|
"primary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#facc15",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
3,
|
|
16,
|
|
16
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-core-primary",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": [
|
|
"in",
|
|
"highway",
|
|
"primary",
|
|
"primary_link"
|
|
],
|
|
"paint": {
|
|
"line-color": "#fefce8",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
2,
|
|
16,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "#fb923c",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
4,
|
|
16,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "#ffedd5",
|
|
"line-width": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
12,
|
|
2.5,
|
|
16,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "road-labels",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 15,
|
|
"layout": {
|
|
"text-field": "{name}",
|
|
"text-font": [
|
|
"Noto Sans Regular"
|
|
],
|
|
"text-size": 13,
|
|
"symbol-placement": "line",
|
|
"text-letter-spacing": 0.05,
|
|
"text-padding": 5,
|
|
"text-allow-overlap": false,
|
|
"text-ignore-placement": false
|
|
},
|
|
"paint": {
|
|
"text-color": "#3c4043",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
|
"text-halo-width": 2
|
|
}
|
|
},
|
|
{
|
|
"id": "place-labels",
|
|
"type": "symbol",
|
|
"source": "local-osm-points",
|
|
"source-layer": "planet_osm_point",
|
|
"minzoom": 13,
|
|
"layout": {
|
|
"text-field": "{name}",
|
|
"text-font": [
|
|
"Noto Sans Regular"
|
|
],
|
|
"text-size": [
|
|
"interpolate",
|
|
[
|
|
"linear"
|
|
],
|
|
[
|
|
"zoom"
|
|
],
|
|
13,
|
|
12,
|
|
16,
|
|
16
|
|
],
|
|
"text-offset": [
|
|
0,
|
|
1.5
|
|
],
|
|
"text-anchor": "top",
|
|
"visibility": "visible"
|
|
},
|
|
"paint": {
|
|
"text-color": "#3c4043",
|
|
"text-halo-color": "rgba(255, 255, 255, 0.9)",
|
|
"text-halo-width": 2
|
|
}
|
|
},
|
|
{
|
|
"id": "water-fill",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["match", ["get", "natural"], ["water"], true, false],
|
|
"paint": {
|
|
"fill-color": "#bae6fd",
|
|
"fill-opacity": 0.8
|
|
}
|
|
},
|
|
{
|
|
"id": "waterway-line",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["has", "waterway"],
|
|
"paint": {
|
|
"line-color": "#7dd3fc",
|
|
"line-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 16, 4]
|
|
}
|
|
},
|
|
{
|
|
"id": "park-fill",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["any", ["match", ["get", "leisure"], ["park", "garden", "nature_reserve"], true, false], ["match", ["get", "landuse"], ["forest", "grass", "meadow", "orchard"], true, false]],
|
|
"paint": {
|
|
"fill-color": "#dcfce7",
|
|
"fill-opacity": 0.6
|
|
}
|
|
},
|
|
{
|
|
"id": "railway-line",
|
|
"type": "line",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"filter": ["has", "railway"],
|
|
"paint": {
|
|
"line-color": "#94a3b8",
|
|
"line-width": 1.5,
|
|
"line-dasharray": [2, 1]
|
|
}
|
|
},
|
|
{
|
|
"id": "neighborhood-fill",
|
|
"type": "fill",
|
|
"source": "local-osm-polygons",
|
|
"source-layer": "planet_osm_polygon",
|
|
"filter": ["match", ["get", "landuse"], ["residential", "commercial"], true, false],
|
|
"paint": {
|
|
"fill-color": [
|
|
"match",
|
|
["get", "landuse"],
|
|
"residential", "#f1f5f9",
|
|
"commercial", "#f8fafc",
|
|
"#f1f5f9"
|
|
],
|
|
"fill-opacity": 0.5
|
|
}
|
|
},
|
|
{
|
|
"id": "road-arrows",
|
|
"type": "symbol",
|
|
"source": "local-osm-lines",
|
|
"source-layer": "planet_osm_line",
|
|
"minzoom": 16,
|
|
"filter": ["==", "oneway", "yes"],
|
|
"layout": {
|
|
"icon-image": "arrow",
|
|
"icon-size": 0.2,
|
|
"symbol-placement": "line",
|
|
"symbol-spacing": 200,
|
|
"icon-rotate": 90,
|
|
"icon-rotation-alignment": "map"
|
|
},
|
|
"paint": {
|
|
"icon-opacity": 0.8
|
|
}
|
|
},
|
|
{
|
|
"id": "user-landmarks-symbol",
|
|
"type": "symbol",
|
|
"source": "user-landmarks",
|
|
"source-layer": "places_syria",
|
|
"layout": {
|
|
"text-field": "{name_ar}",
|
|
"text-font": ["Noto Sans Regular"],
|
|
"text-size": 11,
|
|
"text-offset": [0, 0],
|
|
"text-anchor": "center"
|
|
},
|
|
"paint": {
|
|
"text-color": "#e11d48",
|
|
"text-halo-color": "#ffffff",
|
|
"text-halo-width": 2
|
|
}
|
|
}
|
|
]
|
|
} |