Skip to content

Instantly share code, notes, and snippets.

@planemad
Created February 5, 2026 02:46
Show Gist options
  • Select an option

  • Save planemad/47e2524111189ccf61a5700ece5b6dab to your computer and use it in GitHub Desktop.

Select an option

Save planemad/47e2524111189ccf61a5700ece5b6dab to your computer and use it in GitHub Desktop.
{
"version": 8,
"lights": [],
"terrain": {
"source": "mapbox-dem",
"exaggeration": 1
},
"fog": {
"color": "#def",
"space-color": "#def",
"high-color": "#def",
"range": [
-0.5,
10
],
"horizon-blend": [
"interpolate",
[
"linear"
],
[
"zoom"
],
4,
0.2,
7,
0.1
],
"star-intensity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0.35,
6,
0
],
"vertical-range": [
0,
0
]
},
"center": [
72.94585052231434,
19.062630130871128
],
"zoom": 11.08757496551571,
"bearing": 0,
"pitch": 0,
"sprite": "https://api.mapbox.com/styles/v1/planemad/cm3gyibd3004x01qz08rohcsg/sprite?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A",
"glyphs": "https://api.mapbox.com/fonts/v1/mapbox/{fontstack}/{range}.pbf?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A",
"projection": {
"name": "globe"
},
"sources": {
"mapbox://mapbox.satellite": {
"type": "raster",
"tileSize": 256,
"tiles": [
"https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"mapbox://mapbox.terrain-rgb": {
"type": "raster-dem",
"tileSize": 256,
"tiles": [
"https://api.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"mapbox-dem": {
"type": "raster-dem",
"tileSize": 512,
"tiles": [
"https://api.mapbox.com/v4/mapbox.mapbox-terrain-dem-v1/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"mapbox://mapbox.mapbox-traffic-v1": {
"type": "vector",
"tiles": [
"https://api.mapbox.com/v4/mapbox.mapbox-traffic-v1/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"composite": {
"type": "vector",
"tiles": [
"https://api.mapbox.com/v4/mapbox.mapbox-streets-v8,mapbox.country-boundaries-v1,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2,planemad.2bqa1pq1,planemad.35opp2xh,planemad.2txbr2zn,planemad.nasadem_30m_slope,planemad.8cg5bhlj,planemad.az4ve4a4/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"vector-india-2023-open-buildings": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"https://indianopenmaps.fly.dev/google-buildings/{z}/{x}/{y}.pbf"
],
"attribution": "CC-BY <a href='https://sites.research.google/open-buildings/'>Google Open Buildings</a> - Collected by <a href='https://datameet.org'>Datameet Community</a>"
},
"vector-goa-plots": {
"type": "vector",
"maxzoom": 15,
"tiles": [
"https://indianopenmaps.fly.dev/not-so-open/cadastrals/goa/onemapgoagis/{z}/{x}/{y}.pbf"
],
"promoteId": {
"Onemapgoa_GA_Cadastrals": "id"
},
"attribution": "<a href='https://bhunaksha.goa.gov.in/bhunaksha/'>Goa Bhunaksha</a>, <a href='https://onemapgoagis.goa.gov.in/map/'>OneMapGoa GIS</a> - Collected by <a href='https://datameet.org'>Datameet Community</a>"
},
"vector-osm-waterways": {
"type": "vector",
"maxzoom": 15,
"tiles": [
"https://vector.openstreetmap.org/shortbread_v1/{z}/{x}/{y}.mvt"
],
"promoteId": {
"water_lines": "kind"
},
"attribution": "<a href='https://www.openstreetmap.org/#map=16/15.49493/73.82864'>© OpenStreetMap contributors</a> via <a href='https://shortbread-tiles.org/schema/1.0/'>Shortbread vector tiles</a>"
},
"vector-goa-local-body": {
"type": "vector",
"maxzoom": 10,
"promoteId": {
"goa-local-body-boundaries": "fid"
},
"attribution": "<a href='https://onemapgoagis.goa.gov.in/map/?c=0%2C0&s=0'>OneMapGoa</a> - Collected by <a href='https://datameet.org'>Datameet Community</a>",
"tiles": [
"https://api.mapbox.com/v4/planemad.2bqa1pq1/{z}/{x}/{y}.mvt?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A"
]
},
"geojson-goa-firetrucks": {
"type": "geojson",
"data": "https://raw.githubusercontent.com/publicmap/goa-fire-trucks-geojson/refs/heads/data/data/goa-fire-trucks.geojson",
"promoteId": "Vehicle_No",
"attribution": "<a href='https://dfes.goa.gov.in/dashboard/'>Directorate of Fire & Emergency Services, Govt. of Goa</a>"
},
"tms-mapwarper-102030": {
"type": "raster",
"tileSize": 256,
"maxzoom": 22,
"tiles": [
"https://mapwarper.net/maps/tile/102030/{z}/{x}/{y}.png"
],
"attribution": "<a href='https://mapwarper.net/maps/102030' target='_blank'>MapWarper</a>"
},
"geojson-goa-2025-water-body-atlas": {
"type": "geojson",
"data": "https://gist.githubusercontent.com/planemad/e5ccc47bf2a1aa458a86d6839476f539/raw/6922fcc2d5ffd4d58b0fb069b9f57334f13cd953/goa-water-bodies.geojson",
"promoteId": "id",
"attribution": "<a href='https://goawrd.gov.in/'>Water Body Atlas Of Goa, Department of Water Resources</a>"
}
},
"layers": [
{
"id": "base",
"type": "background",
"layout": {
"visibility": "none"
},
"paint": {
"background-color": "hsl(189, 0%, 100%)"
}
},
{
"id": "land copy",
"type": "background",
"paint": {
"background-color": "hsl(65, 100%, 100%)"
}
},
{
"id": "contour polygons",
"type": "fill",
"source": "composite",
"source-layer": "contour",
"filter": [
"!=",
[
"get",
"ele"
],
0
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"get",
"ele"
],
0,
"hsla(104, 0%, 100%, 0.88)",
50,
"hsla(64, 0%, 51%, 0.21)",
100,
"hsla(25, 0%, 74%, 0.61)"
],
"fill-opacity": 0.4
}
},
{
"id": "goa-panchayat-boundaries outline",
"type": "line",
"source": "composite",
"source-layer": "goa-local-body-boundaries",
"minzoom": 3,
"maxzoom": 16,
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": 20,
"line-color": "hsla(211, 100%, 54%, 0.31)",
"line-blur": 10
}
},
{
"id": "goa-panchayat-boundaries outline copy",
"type": "line",
"source": "composite",
"source-layer": "goa-local-body-boundaries",
"minzoom": 3,
"maxzoom": 16,
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsl(211, 97%, 15%)"
}
},
{
"id": "goa-local-body-boundaries copy 2",
"type": "fill",
"source": "composite",
"source-layer": "goa-local-body-boundaries",
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
"hsla(42, 100%, 100%, 0.44)",
[
"Rurban"
],
"hsla(48, 100%, 100%, 0.51)",
"hsla(102, 0%, 75%, 0)"
]
}
},
{
"id": "satellite",
"type": "raster",
"source": "mapbox://mapbox.satellite",
"layout": {
"visibility": "visible"
},
"paint": {
"raster-opacity": 1,
"raster-brightness-min": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0.5,
16,
0.3
],
"raster-contrast": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0.64,
15,
0.28
],
"raster-saturation": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0.84,
15,
0.57
],
"raster-brightness-max": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0.7,
16,
0.8
]
}
},
{
"id": "satellite copy",
"type": "raster",
"source": "mapbox://mapbox.satellite",
"layout": {
"visibility": "none"
}
},
{
"id": "natural-earth-urban-areas-0zjv5l",
"type": "fill",
"source": "composite",
"source-layer": "natural_earth_urban_areas-0zjv5l",
"minzoom": 3,
"maxzoom": 12,
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(0, 27%, 75%, 0.31)",
"fill-outline-color": "hsl(0, 0%, 78%)"
}
},
{
"id": "land",
"type": "background",
"layout": {
"visibility": "none"
},
"paint": {
"background-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(59, 100%, 100%)",
16,
"hsl(35, 34%, 89%)"
]
}
},
{
"id": "landcover",
"type": "fill",
"source": "composite",
"source-layer": "landcover",
"maxzoom": 12,
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"class"
],
"wood",
"hsla(96, 44%, 53%, 0.21)",
"scrub",
"hsla(99, 50%, 86%, 0.24)",
"crop",
"hsla(69, 48%, 62%, 0.24)",
"grass",
"hsla(99, 52%, 87%, 0.24)",
"snow",
"hsla(197, 29%, 90%, 0.99)",
"hsla(99, 53%, 80%, 0.64)"
],
"fill-opacity": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
8,
0.8,
12,
0
],
"fill-antialias": false
}
},
{
"id": "national-park",
"type": "fill",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 5,
"filter": [
"==",
[
"get",
"class"
],
"national_park"
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(99, 94%, 38%, 0.31)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0,
6,
0.6,
12,
0.2
],
"fill-outline-color": "hsl(99, 100%, 24%)"
}
},
{
"id": "national-park_tint-band",
"type": "line",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 9,
"filter": [
"==",
[
"get",
"class"
],
"national_park"
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(99, 47%, 73%, 0.64)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
1,
14,
8
],
"line-blur": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
1,
14,
8
]
}
},
{
"id": "landuse",
"type": "fill",
"source": "composite",
"source-layer": "landuse",
"minzoom": 5,
"filter": [
"all",
[
">=",
[
"to-number",
[
"get",
"sizerank"
]
],
0
],
[
"match",
[
"get",
"class"
],
[
"agriculture",
"wood",
"grass",
"scrub",
"glacier",
"pitch",
"sand"
],
[
"step",
[
"zoom"
],
false,
11,
true
],
"residential",
[
"step",
[
"zoom"
],
true,
10,
false
],
[
"park",
"airport"
],
[
"step",
[
"zoom"
],
false,
8,
[
"case",
[
"==",
[
"get",
"sizerank"
],
1
],
true,
false
],
10,
true
],
"rock",
[
"step",
[
"zoom"
],
false,
11,
true
],
"cemetery",
[
"step",
[
"zoom"
],
false,
11,
true
],
false
],
[
"<=",
[
"-",
[
"to-number",
[
"get",
"sizerank"
]
],
[
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0,
18,
14
]
],
14
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"class"
],
"wood",
"hsla(104, 32%, 45%, 0.22)",
"scrub",
"hsla(99, 49%, 81%, 0.24)",
"agriculture",
"hsla(69, 62%, 78%, 0.26)",
"park",
[
"match",
[
"get",
"type"
],
[
"garden",
"playground",
"zoo"
],
"hsla(99, 96%, 52%, 0.26)",
"hsla(83, 100%, 75%, 0.28)"
],
"grass",
"hsla(87, 91%, 32%, 0.24)",
"airport",
"hsla(47, 100%, 51%, 0.27)",
"cemetery",
"hsla(99, 51%, 80%, 0.64)",
"glacier",
"hsla(197, 29%, 90%, 0.99)",
"pitch",
"hsla(89, 67%, 80%, 0.64)",
"sand",
"hsla(42, 62%, 85%, 0.982)",
"rock",
"hsla(35, 92%, 39%, 0.28)",
"hsl(35, 28%, 85%)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
[
"match",
[
"get",
"class"
],
"residential",
0.8,
0.2
],
10,
[
"match",
[
"get",
"class"
],
"residential",
0,
1
]
],
"fill-antialias": false
}
},
{
"id": "hillshade",
"type": "fill",
"source": "composite",
"source-layer": "hillshade",
"maxzoom": 16,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"==",
[
"get",
"class"
],
"shadow"
],
11,
true
],
[
"match",
[
"get",
"level"
],
89,
true,
78,
[
"step",
[
"zoom"
],
false,
5,
true
],
67,
[
"step",
[
"zoom"
],
false,
9,
true
],
56,
[
"step",
[
"zoom"
],
false,
6,
true
],
94,
[
"step",
[
"zoom"
],
false,
11,
true
],
90,
[
"step",
[
"zoom"
],
false,
12,
true
],
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(39, 47%, 21%, 0.08)",
"hsla(35, 36%, 100%, 0.14)"
],
16,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(39, 47%, 21%, 0)",
"hsla(35, 36%, 100%, 0)"
]
],
"fill-antialias": false
}
},
{
"id": "pitch-outline",
"type": "line",
"source": "composite",
"source-layer": "landuse",
"minzoom": 15,
"filter": [
"==",
[
"get",
"class"
],
"pitch"
],
"layout": {
"visibility": "none",
"line-sort-key": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
3,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
1,
2
]
},
"paint": {
"line-color": "hsla(89, 100%, 39%, 0.88)",
"line-offset": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-2,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-1,
0
]
}
},
{
"id": "cartodem-2-5-m-slope-zones-30-m",
"type": "fill",
"source": "composite",
"source-layer": "cartodem-2-5-m-slope-zones-30-m",
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"slope_min"
],
[
10
],
"hsl(59, 96%, 59%)",
[
20
],
"hsl(40, 100%, 50%)",
[
25
],
"hsl(0, 99%, 65%)",
"hsl(270, 100%, 57%)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
12,
0.8,
20,
0.2
]
}
},
{
"id": "nasadem-30-m-slope-zones",
"type": "fill",
"source": "composite",
"source-layer": "slope_zones",
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"slope_min"
],
[
10
],
"hsl(59, 96%, 59%)",
[
20
],
"hsl(40, 100%, 50%)",
[
25
],
"hsl(0, 99%, 65%)",
"hsl(270, 100%, 57%)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
12,
0.8,
20,
0.2
]
}
},
{
"id": "cartodem-2-5-m-contours-30-m",
"type": "line",
"source": "composite",
"source-layer": "cartodem-2-5-m-contours-30-m",
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(0, 100%, 21%, 0.5)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
[
"match",
[
"%",
[
"get",
"elevation"
],
10
],
0,
0.5,
[
"match",
[
"%",
[
"get",
"elevation"
],
5
],
0,
0.05,
0
]
],
16,
[
"match",
[
"%",
[
"get",
"elevation"
],
10
],
0,
2,
[
"match",
[
"%",
[
"get",
"elevation"
],
5
],
0,
1,
0.1
]
]
]
}
},
{
"id": "cartodem-2-5-m-contours-30-m label",
"type": "symbol",
"source": "composite",
"source-layer": "cartodem-2-5-m-contours-30-m",
"minzoom": 16,
"filter": [
"==",
[
"%",
[
"get",
"elevation"
],
10
],
0
],
"layout": {
"text-field": [
"concat",
[
"to-string",
[
"get",
"elevation"
]
],
"m"
],
"symbol-placement": "line",
"symbol-spacing": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
450,
17,
100
],
"text-max-angle": 200,
"text-size": 14,
"text-font": [
"literal",
[
"Open Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-letter-spacing": 0.2,
"visibility": "none"
},
"paint": {
"text-color": "hsl(27, 97%, 66%)",
"text-halo-color": "hsla(28, 0%, 15%, 0.56)",
"text-halo-width": 2
}
},
{
"id": "cartodem-2-5-m-slope-zones-30-m label",
"type": "symbol",
"source": "composite",
"source-layer": "cartodem-2-5-m-slope-zones-30-m",
"minzoom": 17,
"layout": {
"text-field": [
"match",
[
"get",
"slope_min"
],
[
10
],
"RDS-1",
[
20
],
"RDS-2",
[
25
],
"NDS",
""
],
"text-size": 12,
"text-font": [
"literal",
[
"Open Sans Bold",
"Arial Unicode MS Regular"
]
],
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"slope_min"
],
[
10
],
"hsl(59, 96%, 59%)",
[
20
],
"hsl(40, 100%, 50%)",
[
25
],
"hsl(0, 99%, 65%)",
"hsl(270, 100%, 57%)"
],
"text-halo-color": "hsl(0, 0%, 2%)",
"text-halo-width": 1
}
},
{
"id": "nasadem-30-m-slope-zones label",
"type": "symbol",
"source": "composite",
"source-layer": "slope_zones",
"minzoom": 17,
"layout": {
"text-field": [
"match",
[
"get",
"slope_min"
],
[
10
],
"RDS-1",
[
20
],
"RDS-2",
[
25
],
"NDS",
""
],
"text-size": 12,
"text-font": [
"literal",
[
"Open Sans Bold",
"Arial Unicode MS Regular"
]
],
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"slope_min"
],
[
10
],
"hsl(59, 96%, 59%)",
[
20
],
"hsl(40, 100%, 50%)",
[
25
],
"hsl(0, 99%, 65%)",
"hsl(270, 100%, 57%)"
],
"text-halo-color": "hsl(0, 0%, 2%)",
"text-halo-width": 1
}
},
{
"id": "mapbox-terrain-rgb",
"type": "hillshade",
"source": "mapbox://mapbox.terrain-rgb",
"paint": {
"hillshade-exaggeration": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
0,
6,
0.1,
16,
0.5
],
"hillshade-shadow-color": "hsla(38, 50%, 16%, 0.75)",
"hillshade-accent-color": "hsla(22, 78%, 45%, 0.14)",
"hillshade-highlight-color": "hsla(51, 89%, 62%, 0.36)"
}
},
{
"id": "hillshade polygons",
"type": "fill",
"source": "composite",
"source-layer": "hillshade",
"minzoom": 10.7,
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"get",
"level"
],
56,
"hsla(0, 0%, 17%, 0.35)",
94,
"hsla(0, 0%, 68%, 0.51)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
1,
0.33,
6,
0.62,
17,
0
]
}
},
{
"id": "country-boundary highlight",
"type": "line",
"source": "composite",
"source-layer": "admin",
"filter": [
"all",
[
"match",
[
"get",
"admin_level"
],
[
0
],
true,
false
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
],
[
"in",
"IN",
[
"get",
"iso_3166_1"
]
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
4,
10,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
10,
0.1
],
"line-color": "hsl(277, 42%, 81%)",
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
1,
10,
5
]
}
},
{
"id": "state- boundary highlight",
"type": "line",
"source": "composite",
"source-layer": "admin",
"filter": [
"all",
[
"match",
[
"get",
"admin_level"
],
[
1
],
true,
false
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
],
[
"==",
[
"get",
"iso_3166_1"
],
"IN"
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsl(277, 42%, 81%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
2,
10,
12
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
10,
0.1
],
"line-blur": 2
}
},
{
"id": "district-boundary highlight",
"type": "line",
"source": "composite",
"source-layer": "admin",
"filter": [
"all",
[
"match",
[
"get",
"admin_level"
],
[
2
],
true,
false
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
],
[
"==",
[
"get",
"iso_3166_1"
],
"IN"
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
2,
10,
8
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0,
5.5,
1
],
"line-color": "hsl(277, 42%, 81%)",
"line-dasharray": [
1,
2
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
2,
10,
5
]
}
},
{
"id": "national-park copy 1",
"type": "line",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 5,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"national_park"
],
[
"!",
[
"in",
"Core",
[
"get",
"name"
]
]
],
[
"!",
[
"in",
"Zone",
[
"get",
"name"
]
]
],
[
"!",
[
"in",
"ESZ",
[
"get",
"name"
]
]
],
[
"!",
[
"in",
"Corridor",
[
"get",
"name"
]
]
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(99, 48%, 42%, 0.51)",
"line-width": 4,
"line-offset": 1
}
},
{
"id": "waterway-shadow",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 10,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
],
"visibility": "none"
},
"paint": {
"line-color": "hsla(198, 94%, 69%, 0.99)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"line-translate-anchor": "viewport",
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
}
},
{
"id": "water-shadow",
"type": "fill",
"source": "composite",
"source-layer": "water",
"minzoom": 10,
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(216, 1%, 27%, 0.26)",
"fill-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"fill-translate-anchor": "viewport"
}
},
{
"id": "waterway",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 8,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
],
"visibility": "none"
},
"paint": {
"line-color": "hsla(197, 76%, 59%, 0.99)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
7,
0,
7.5,
1
]
}
},
{
"id": "water",
"type": "fill",
"source": "composite",
"source-layer": "water",
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(204, 85%, 77%, 0.86)"
}
},
{
"id": "wetland",
"type": "fill",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 5,
"filter": [
"match",
[
"get",
"class"
],
[
"wetland",
"wetland_noveg"
],
true,
false
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": [
"match",
[
"get",
"type"
],
[
"mangrove"
],
"hsla(110, 100%, 25%, 0.18)",
[
"tidalflat",
"saltmarsh",
"mud"
],
"hsla(41, 96%, 75%, 0.21)",
"hsla(201, 93%, 57%, 0.19)"
]
}
},
{
"id": "wetland-pattern",
"type": "fill",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 5,
"filter": [
"match",
[
"get",
"class"
],
[
"wetland",
"wetland_noveg"
],
true,
false
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(186, 39%, 63%, 0.99)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
10.5,
1
],
"fill-pattern": "wetland",
"fill-translate-anchor": "viewport"
}
},
{
"id": "waterway copy 1",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 8,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
],
"visibility": "none"
},
"paint": {
"line-color": "hsla(204, 81%, 66%, 0.86)"
}
},
{
"id": "coastline case",
"type": "line",
"source": "composite",
"source-layer": "country_boundaries",
"filter": [
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
],
"paint": {
"line-color": "hsl(199, 73%, 70%)",
"line-offset": -1
}
},
{
"id": "coastline",
"type": "line",
"source": "composite",
"source-layer": "country_boundaries",
"filter": [
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
],
"paint": {
"line-width": 0.1,
"line-color": "hsl(199, 64%, 40%)"
}
},
{
"id": "national-park copy 2",
"type": "line",
"source": "composite",
"source-layer": "landuse_overlay",
"minzoom": 5,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"national_park"
],
[
"!",
[
"in",
"Core",
[
"get",
"name"
]
]
]
],
"layout": {
"line-join": "bevel",
"visibility": "none"
},
"paint": {
"line-color": "hsla(99, 68%, 24%, 0.85)",
"line-dasharray": [
4,
2
],
"line-width": [
"case",
[
"in",
"ESZ",
[
"get",
"name"
]
],
0.4,
1
]
}
},
{
"id": "depth",
"type": "fill",
"source": "composite",
"source-layer": "depth",
"maxzoom": 8,
"paint": {
"fill-color": "hsla(210, 21%, 55%, 0.08)"
}
},
{
"id": "waterway copy",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 7,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsla(193, 71%, 77%, 0.1)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
7,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
2,
0.3
],
16,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
20,
3
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
}
},
{
"id": "waterway copy 2",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 7,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsla(191, 61%, 71%, 0.15)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
7,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
1,
0.3
],
16,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
6,
3
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
}
},
{
"id": "contour lines",
"type": "line",
"source": "composite",
"source-layer": "contour",
"filter": [
"!=",
[
"get",
"ele"
],
0
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"match",
[
"get",
"index"
],
[
1
],
1,
0.2
],
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
12,
"hsla(18, 100%, 36%, 0.25)",
16,
"hsl(18, 100%, 36%)"
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0.2,
18,
0.9
]
}
},
{
"id": "road-rail copy",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 5,
"filter": [
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
11,
2,
20,
5
],
"line-color": "hsl(0, 0%, 76%)"
}
},
{
"id": "metro-rail copy",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 5,
"filter": [
"all",
[
"match",
[
"get",
"type"
],
[
"subway"
],
true,
false
],
[
"match",
[
"get",
"class"
],
[
"service_rail"
],
false,
true
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.46
],
[
"zoom"
],
11,
10,
14,
30,
17,
200
],
"line-color": "hsla(223, 100%, 57%, 0.4)",
"line-opacity": 0.87
}
},
{
"id": "metro-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 5,
"filter": [
"all",
[
"match",
[
"get",
"type"
],
[
"subway"
],
true,
false
],
[
"match",
[
"get",
"class"
],
[
"service_rail"
],
false,
true
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
11,
10,
18,
70
],
"line-blur": 1,
"line-color": "hsl(291, 0%, 100%)",
"line-opacity": 0.42
}
},
{
"id": "land-structure-polygon",
"type": "fill",
"source": "composite",
"source-layer": "structure",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsl(35, 1%, 56%)",
"fill-outline-color": "hsla(0, 0%, 35%, 0.97)"
}
},
{
"id": "land-structure-line",
"type": "line",
"source": "composite",
"source-layer": "structure",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": "square",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.99
],
[
"zoom"
],
14,
0.75,
20,
40
],
"line-color": "hsl(35, 36%, 94%)"
}
},
{
"id": "aeroway-polygon",
"type": "fill",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
[
"match",
[
"get",
"type"
],
[
"runway",
"taxiway",
"helipad"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsl(230, 3%, 72%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
}
},
{
"id": "aeroway-line",
"type": "line",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 9,
"filter": [
"==",
[
"geometry-type"
],
"LineString"
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(230, 0%, 46%, 0.59)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
[
"match",
[
"get",
"type"
],
"runway",
1,
0.5
],
18,
[
"match",
[
"get",
"type"
],
"runway",
80,
20
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
}
},
{
"id": "building",
"type": "fill",
"source": "composite",
"source-layer": "building",
"minzoom": 15,
"filter": [
"all",
[
"!=",
[
"get",
"type"
],
"building:part"
],
[
"==",
[
"get",
"underground"
],
"false"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(35, 68%, 20%, 0)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0,
16,
1
],
"fill-outline-color": "hsla(35, 0%, 0%, 0.8)"
}
},
{
"id": "building-underground",
"type": "fill",
"source": "composite",
"source-layer": "building",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"underground"
],
"true"
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsl(260, 67%, 80%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0,
16,
0.5
]
}
},
{
"id": "tunnel-path",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(35, 48%, 78%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
1,
0.5
]
]
]
}
},
{
"id": "tunnel-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(35, 48%, 78%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
}
},
{
"id": "tunnel-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(35, 0%, 83%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
}
},
{
"id": "tunnel-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 55%, 30%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 55%, 30%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-minor-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
}
},
{
"id": "tunnel-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsla(3, 55%, 30%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsla(3, 55%, 30%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(35, 0%, 83%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsla(3, 62%, 55%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-dasharray": [
3,
3
]
}
},
{
"id": "tunnel-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
}
},
{
"id": "tunnel-minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(35, 38%, 93%)",
"hsl(35, 0%, 83%)"
]
}
},
{
"id": "tunnel-minor-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "tunnel-major-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsla(39, 100%, 70%, 0.82)",
"hsla(59, 82%, 70%, 0.82)"
]
}
},
{
"id": "tunnel-street",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(35, 38%, 93%)",
"hsl(35, 0%, 83%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
}
},
{
"id": "tunnel-street-low",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "tunnel-secondary-tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "tunnel-primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "tunnel-motorway-trunk",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsla(39, 100%, 70%, 0.82)",
"hsla(59, 82%, 70%, 0.82)"
]
}
},
{
"id": "road-pedestrian-polygon-fill",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsl(35, 36%, 93%)"
}
},
{
"id": "road-pedestrian-polygon-pattern",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
0,
17,
1
],
"fill-color": "hsl(0, 1%, 16%)",
"fill-outline-color": "hsl(0, 0%, 0%)"
}
},
{
"id": "road-path-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsla(3, 0%, 100%, 0.1)"
}
},
{
"id": "road-steps-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsla(3, 53%, 37%, 0.37)",
"line-opacity": 0.75
}
},
{
"id": "road-pedestrian-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsla(3, 0%, 82%, 0.19)"
}
},
{
"id": "road-path",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
13,
0.5,
14,
1,
15,
1,
19,
8
],
"line-color": "hsl(35, 12%, 12%)"
}
},
{
"id": "road-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(35, 0%, 4%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.5
]
]
]
}
},
{
"id": "road-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": "round",
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(10, 1%, 10%)"
}
},
{
"id": "golf-hole-line",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"==",
[
"get",
"class"
],
"golf"
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(99, 27%, 69%, 0.64)"
}
},
{
"id": "road-polygon",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"primary_link",
"secondary_link",
"tertiary_link",
"trunk",
"trunk_link",
"street",
"street_limited",
"track",
"service"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsla(35, 1%, 92%, 0.54)",
"fill-outline-color": "hsl(3, 0%, 45%)"
}
},
{
"id": "turning-feature-outline",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(35, 0%, 83%)",
"circle-stroke-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0.8,
16,
1.2,
18,
2
],
"circle-stroke-color": "hsla(3, 62%, 43%, 0.37)",
"circle-pitch-alignment": "map"
}
},
{
"id": "road-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
18,
4,
22,
20
],
"line-color": "hsla(3, 0%, 57%, 0.21)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
}
},
{
"id": "road-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(64, 78%, 35%, 0.69)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
}
},
{
"id": "road-minor-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(62, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
}
},
{
"id": "road-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": 2,
"line-color": "hsla(32, 73%, 34%, 0.6)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
]
}
},
{
"id": "road-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": 2,
"line-color": "hsla(31, 84%, 43%, 0.62)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
]
}
},
{
"id": "road-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(54, 94%, 37%, 0.3)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
}
},
{
"id": "road-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 3,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"match",
[
"get",
"class"
],
[
"motorway"
],
3,
2
],
"line-color": [
"match",
[
"get",
"class"
],
[
"motorway"
],
"hsl(24, 89%, 41%)",
"hsla(31, 100%, 52%, 0.73)"
],
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
}
},
{
"id": "turning-feature",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(35, 0%, 83%)",
"circle-pitch-alignment": "map"
}
},
{
"id": "road-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"construction"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(35, 0%, 83%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
}
},
{
"id": "road-minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(35, 1%, 77%)"
}
},
{
"id": "road-minor-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "road-major-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsla(39, 100%, 60%, 0.82)",
"hsla(59, 94%, 60%, 0.82)"
]
}
},
{
"id": "road-street",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsla(35, 4%, 73%, 0.72)",
"hsl(35, 0%, 83%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
}
},
{
"id": "road-street-low",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"maxzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "road-secondary-tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 9,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": [
"match",
[
"get",
"class"
],
[
"secondary"
],
"hsl(48, 69%, 72%)",
"hsl(48, 29%, 76%)"
]
}
},
{
"id": "road-primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 6,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(54, 82%, 77%)"
}
},
{
"id": "road-motorway-trunk",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 3,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
6,
1,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(19, 100%, 96%)",
"hsla(59, 94%, 60%, 0.82)"
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
}
},
{
"id": "ferry",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry"
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsla(206, 69%, 52%, 0.99)",
17,
"hsla(231, 69%, 52%, 0.99)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
],
"line-dasharray": [
8,
4
]
}
},
{
"id": "ferry-auto",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry_auto"
],
"layout": {
"line-cap": "square",
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsla(206, 69%, 52%, 0.99)",
17,
"hsla(231, 69%, 52%, 0.99)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
],
"line-dasharray": [
8,
4
]
}
},
{
"id": "road-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(50, 41%, 81%)",
16,
"hsla(3, 46%, 58%, 0.37)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
}
},
{
"id": "road-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(50, 41%, 81%)",
16,
"hsla(3, 46%, 58%, 0.37)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
}
},
{
"id": "bridge-path-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsla(3, 53%, 37%, 0.37)"
}
},
{
"id": "bridge-steps-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsla(3, 53%, 37%, 0.37)",
"line-opacity": 0.75
}
},
{
"id": "bridge-pedestrian-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsla(3, 62%, 43%, 0.37)"
}
},
{
"id": "bridge-path",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(35, 0%, 83%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
4,
0.3
]
],
15,
[
"literal",
[
1.75,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
}
},
{
"id": "bridge-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(35, 0%, 83%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
}
},
{
"id": "bridge-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(35, 0%, 83%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
}
},
{
"id": "bridge-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
}
},
{
"id": "bridge-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
}
},
{
"id": "bridge-minor-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
}
},
{
"id": "bridge-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
}
},
{
"id": "bridge-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
}
},
{
"id": "bridge-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 55%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
}
},
{
"id": "bridge-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": 3,
"line-color": [
"match",
[
"get",
"class"
],
[
"motorway"
],
"hsl(42, 89%, 54%)",
"hsla(38, 93%, 67%, 0.5)"
],
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
}
},
{
"id": "bridge-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsla(3, 62%, 43%, 0.37)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
}
},
{
"id": "bridge-minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "bridge-minor-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "bridge-major-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsla(39, 100%, 60%, 0.82)",
"hsla(59, 94%, 60%, 0.82)"
]
}
},
{
"id": "bridge-street",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(35, 38%, 93%)",
"hsl(35, 0%, 83%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
}
},
{
"id": "bridge-street-low",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(35, 0%, 83%)"
}
},
{
"id": "bridge-secondary-tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": [
"match",
[
"get",
"class"
],
[
"secondary"
],
"hsl(48, 69%, 72%)",
"hsl(48, 29%, 76%)"
]
}
},
{
"id": "bridge-primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(54, 82%, 77%)"
}
},
{
"id": "bridge-motorway-trunk",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": 3,
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(19, 100%, 96%)",
"hsla(59, 94%, 60%, 0.82)"
]
}
},
{
"id": "bridge-major-link-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsla(3, 62%, 55%, 0.37)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
}
},
{
"id": "bridge-motorway-trunk-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": 3,
"line-color": [
"match",
[
"get",
"class"
],
[
"motorway"
],
"hsl(42, 89%, 54%)",
"hsla(38, 93%, 67%, 0.5)"
],
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
}
},
{
"id": "bridge-major-link-2",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsla(39, 100%, 60%, 0.82)",
"hsla(59, 94%, 60%, 0.82)"
]
}
},
{
"id": "bridge-motorway-trunk-2",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(19, 100%, 96%)",
"hsla(59, 94%, 60%, 0.82)"
]
}
},
{
"id": "rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 5,
"filter": [
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
11,
1,
20,
1
],
"line-color": [
"match",
[
"get",
"type"
],
[
"subway"
],
"hsl(220, 100%, 52%)",
"hsl(0, 0%, 16%)"
]
}
},
{
"id": "road-rail copy 2",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 5,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"type"
],
[
"subway"
],
false,
true
]
],
"layout": {
"line-join": "round",
"line-cap": "square",
"visibility": "none"
},
"paint": {
"line-color": "hsla(0, 0%, 75%, 0.87)",
"line-dasharray": [
0.1,
3
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
11,
1,
20,
1
]
}
},
{
"id": "bridge-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(50, 41%, 81%)",
16,
"hsla(3, 46%, 58%, 0.37)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
}
},
{
"id": "bridge-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(50, 41%, 81%)",
16,
"hsla(3, 46%, 58%, 0.37)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
}
},
{
"id": "aerialway",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"==",
[
"get",
"class"
],
"aerialway"
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsl(230, 48%, 44%)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
20,
2
],
"line-dasharray": [
4,
1
]
}
},
{
"id": "building-extrusion copy",
"type": "fill-extrusion",
"source": "composite",
"source-layer": "building",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"extrude"
],
"true"
],
[
"match",
[
"get",
"type"
],
[
"transportation",
"station",
"train_station",
"public",
"courthouse",
"school",
"church",
"temple",
"mosque",
"library",
"university",
"grandstand",
"stadium",
"college",
"hospital",
"cathedral",
"chapel"
],
false,
true
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-extrusion-color": [
"case",
[
"match",
[
"get",
"type"
],
[
"house",
"apartments",
"building"
],
false,
true
],
"hsl(27, 67%, 71%)",
"hsl(27, 67%, 71%)"
],
"fill-extrusion-height": [
"get",
"height"
],
"fill-extrusion-base": [
"get",
"min_height"
],
"fill-extrusion-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0.8,
18,
0.7,
20,
0.2
]
}
},
{
"id": "building-extrusion copy 1",
"type": "fill-extrusion",
"source": "composite",
"source-layer": "building",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"extrude"
],
"true"
],
[
"match",
[
"get",
"type"
],
[
"transportation",
"station",
"train_station",
"public",
"courthouse",
"school",
"church",
"temple",
"mosque",
"library",
"university",
"grandstand",
"stadium",
"college",
"hospital",
"cathedral",
"chapel"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"fill-extrusion-color": "hsl(34, 100%, 48%)",
"fill-extrusion-height": [
"get",
"height"
],
"fill-extrusion-base": [
"get",
"min_height"
],
"fill-extrusion-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0.8,
18,
0.7,
20,
0.2
]
}
},
{
"id": "admin-1-boundary-bg copy",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 7,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(295, 100%, 87%, 0.64)",
"line-width": 8,
"line-dasharray": [
1,
0
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
3
]
}
},
{
"id": "traffic copy",
"type": "line",
"source": "mapbox://mapbox.mapbox-traffic-v1",
"source-layer": "traffic",
"filter": [
"match",
[
"get",
"class"
],
[
"street"
],
false,
true
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-width": [
"match",
[
"get",
"class"
],
[
"trunk",
"motorway"
],
15,
[
"primary"
],
10,
[
"secondary"
],
7,
2
],
"line-color": "hsl(0, 0%, 100%)"
}
},
{
"id": "traffic",
"type": "line",
"source": "mapbox://mapbox.mapbox-traffic-v1",
"source-layer": "traffic",
"minzoom": 6,
"filter": [
"match",
[
"get",
"class"
],
[
"street"
],
false,
true
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": [
"match",
[
"get",
"congestion"
],
[
"low"
],
"hsl(115, 100%, 74%)",
[
"moderate"
],
"hsl(101, 58%, 59%)",
[
"heavy"
],
"hsl(15, 79%, 51%)",
[
"severe"
],
"hsl(0, 98%, 27%)",
"#000000"
],
"line-width": [
"match",
[
"get",
"class"
],
[
"trunk",
"motorway"
],
8,
[
"primary"
],
5,
[
"secondary"
],
3,
2
]
}
},
{
"id": "admin-1-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 7,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(295, 100%, 87%, 0.64)",
"line-width": 8,
"line-dasharray": [
1,
0
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
3
]
}
},
{
"id": "admin-0-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": 4,
"line-color": "hsla(295, 100%, 87%, 0.64)",
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
2
]
}
},
{
"id": "admin-1-boundary",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 2,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-dasharray": [
4,
1,
1,
1
],
"line-width": 2,
"line-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.3
],
"line-color": "hsla(295, 66%, 47%, 0.76)"
}
},
{
"id": "admin-0-boundary",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"disputed"
],
"false"
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsla(295, 80%, 27%, 0.76)",
"line-dasharray": [
8,
1
]
}
},
{
"id": "admin-0-boundary-disputed",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"disputed"
],
"true"
],
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsla(295, 29%, 54%, 0.64)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
12,
2
],
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
3,
2,
5
]
],
7,
[
"literal",
[
2,
1.5
]
]
]
}
},
{
"id": "admin-2-boundary",
"type": "line",
"source": "composite",
"source-layer": "admin",
"filter": [
"all",
[
"match",
[
"get",
"admin_level"
],
[
2
],
true,
false
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"IN"
],
true,
false
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"visibility": "none"
},
"paint": {
"line-dasharray": [
4,
3,
0.5,
3,
0.5,
3
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0,
9,
1
],
"line-color": "hsla(295, 87%, 62%, 0.76)",
"line-width": 2
}
},
{
"id": "building-entrance",
"type": "symbol",
"source": "composite",
"source-layer": "structure",
"minzoom": 18,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"entrance"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"icon-image": "marker",
"text-field": [
"get",
"ref"
],
"text-size": 10,
"text-offset": [
0,
-0.5
],
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"visibility": "none"
},
"paint": {
"text-color": "hsl(35, 24%, 51%)",
"text-halo-color": "hsl(35, 29%, 90%)",
"text-halo-width": 1,
"icon-opacity": 0.4
}
},
{
"id": "building-number-label",
"type": "symbol",
"source": "composite",
"source-layer": "housenum_label",
"minzoom": 17,
"filter": [
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
"layout": {
"text-field": [
"get",
"house_num"
],
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"text-padding": 4,
"text-max-width": 7,
"text-size": 10
},
"paint": {
"text-color": "hsl(35, 91%, 100%)",
"text-halo-color": "hsl(35, 79%, 34%)",
"text-halo-width": 1
}
},
{
"id": "block-number-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 16,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"settlement_subdivision"
],
[
"==",
[
"get",
"type"
],
"block"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-field": [
"get",
"name"
],
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"text-max-width": 7,
"text-size": 11,
"visibility": "none"
},
"paint": {
"text-color": "hsl(35, 35%, 55%)",
"text-halo-color": "hsl(35, 33%, 99%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "road-label",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"has",
"name"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
true,
false
],
12,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian",
"golf",
"ferry",
"aerialway"
],
false,
true
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
10,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
16,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
14,
13
]
],
"text-max-angle": 70,
"symbol-spacing": 100,
"text-font": [
"literal",
[
"PT Sans Narrow Regular",
"Arial Unicode MS Regular"
]
],
"symbol-placement": "line",
"text-padding": 5,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01,
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"motorway"
],
"hsl(0, 34%, 34%)",
"hsl(0, 0%, 11%)"
],
"text-halo-color": [
"match",
[
"get",
"class"
],
[
"motorway"
],
"hsl(36, 100%, 90%)",
"hsl(52, 100%, 91%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
}
},
{
"id": "road-intersection",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"intersection"
],
[
"has",
"name"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"icon-image": "intersection",
"icon-text-fit": "both",
"icon-text-fit-padding": [
1,
2,
1,
2
],
"text-size": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
15,
9,
18,
12
],
"text-font": [
"literal",
[
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
],
"visibility": "none"
},
"paint": {
"text-color": "hsl(230, 57%, 64%)"
}
},
{
"id": "road-number-shield",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 6,
"filter": [
"all",
[
"case",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
6
],
[
"has",
"shield_beta"
]
],
[
"match",
[
"get",
"class"
],
[
"pedestrian",
"service"
],
false,
true
],
[
"step",
[
"zoom"
],
[
"==",
[
"geometry-type"
],
"Point"
],
11,
[
">",
[
"get",
"len"
],
5000
],
12,
[
">",
[
"get",
"len"
],
2500
],
13,
[
">",
[
"get",
"len"
],
1000
],
14,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"layout": {
"text-size": 7,
"icon-image": [
"case",
[
"has",
"shield_beta"
],
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
"default-",
[
"to-string",
[
"get",
"reflen"
]
]
]
]
],
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
"icon-rotation-alignment": "viewport",
"text-max-angle": 38,
"symbol-spacing": [
"interpolate",
[
"linear"
],
[
"zoom"
],
11,
400,
14,
600
],
"text-font": [
"literal",
[
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
],
"symbol-placement": [
"step",
[
"zoom"
],
"point",
11,
"line"
],
"text-rotation-alignment": "viewport",
"icon-size": 0.8,
"text-field": [
"get",
"ref"
],
"text-letter-spacing": 0.05,
"visibility": "none"
},
"paint": {
"text-color": [
"case",
[
"has",
"shield_beta"
],
[
"case",
[
"all",
[
"has",
"shield_text_color_beta"
],
[
"to-boolean",
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
""
]
]
],
[
"match",
[
"get",
"shield_text_color_beta"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
],
"hsl(230, 18%, 13%)"
],
[
"match",
[
"get",
"shield_text_color"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
]
],
"icon-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.2
]
}
},
{
"id": "road-exit-shield",
"type": "symbol",
"source": "composite",
"source-layer": "motorway_junction",
"minzoom": 14,
"filter": [
"all",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
9
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-field": [
"get",
"ref"
],
"text-size": 9,
"icon-image": [
"concat",
"motorway-exit-",
[
"to-string",
[
"get",
"reflen"
]
]
],
"text-font": [
"literal",
[
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
]
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-translate": [
0,
0
]
}
},
{
"id": "path-pedestrian-label",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"pedestrian"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
"pedestrian",
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
"pedestrian",
14,
13
]
],
"text-max-angle": 30,
"text-font": [
"literal",
[
"PT Sans Narrow Regular",
"Arial Unicode MS Regular"
]
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01,
"visibility": "none"
},
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-halo-color": "hsl(35, 0%, 12%)",
"text-halo-width": 1,
"text-halo-blur": 1
}
},
{
"id": "golf-hole-label",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"golf"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-size": 12,
"visibility": "none"
},
"paint": {
"text-halo-color": "hsla(99, 62%, 60%, 0.64)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(114, 66%, 13%)"
}
},
{
"id": "ferry-aerialway-label",
"type": "symbol",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
"aerialway",
true,
"ferry",
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
9,
18,
15
],
"text-max-angle": 30,
"text-font": [
"literal",
[
"PT Sans Narrow Regular",
"Arial Unicode MS Regular"
]
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01,
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsla(197, 44%, 97%, 0.99)",
"hsl(230, 48%, 44%)"
],
"text-halo-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsla(197, 52%, 53%, 0.99)",
"hsl(35, 36%, 100%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
}
},
{
"id": "waterway-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"canal",
"river",
"stream",
"disputed_canal",
"disputed_river",
"disputed_stream"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"text-max-angle": 30,
"symbol-spacing": [
"interpolate",
[
"linear",
1
],
[
"zoom"
],
15,
250,
17,
400
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
12,
18,
18
],
"symbol-placement": "line",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"visibility": "none"
},
"paint": {
"text-color": "hsla(197, 44%, 90%, 0.99)",
"text-halo-color": "hsla(35, 33%, 99%, 0.5)"
}
},
{
"id": "natural-line-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 4,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"glacier",
"landform",
"disputed_glacier",
"disputed_landform"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"text-max-angle": 30,
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport",
"visibility": "none"
},
"paint": {
"text-halo-width": 0.5,
"text-halo-color": "hsl(35, 33%, 99%)",
"text-halo-blur": 0.5,
"text-color": "hsl(26, 25%, 20%)"
}
},
{
"id": "natural-point-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 4,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"dock",
"glacier",
"landform",
"water_feature",
"wetland",
"disputed_dock",
"disputed_glacier",
"disputed_landform",
"disputed_water_feature",
"disputed_wetland"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
0.75
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
0.75
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"visibility": "none"
},
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": "hsl(35, 36%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(26, 25%, 20%)"
}
},
{
"id": "water-line-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 1,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-max-angle": 30,
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"sea",
"bay"
],
0.15,
0
],
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsla(197, 72%, 79%, 0.99)",
"hsla(197, 44%, 90%, 0.99)"
],
"text-halo-color": "hsla(35, 33%, 99%, 0.5)"
}
},
{
"id": "water-point-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 1,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"layout": {
"text-line-height": 1.3,
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-font": [
"literal",
[
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"bay",
"sea"
],
0.15,
0.01
],
"text-max-width": [
"match",
[
"get",
"class"
],
"ocean",
4,
"sea",
5,
[
"bay",
"water"
],
7,
10
],
"visibility": "none"
},
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsla(197, 72%, 79%, 0.99)",
"hsla(197, 44%, 90%, 0.99)"
],
"text-halo-color": "hsla(35, 33%, 99%, 0.5)"
}
},
{
"id": "transit-label copy",
"type": "circle",
"source": "composite",
"source-layer": "transit_stop_label",
"minzoom": 5,
"filter": [
"match",
[
"get",
"maki"
],
[
"rail-metro",
"rail"
],
true,
false
],
"layout": {
"visibility": "none"
},
"paint": {
"circle-radius": [
"interpolate",
[
"linear"
],
[
"zoom"
],
12,
2,
14,
5
],
"circle-color": [
"match",
[
"get",
"maki"
],
[
"rail-metro"
],
"hsl(229, 94%, 58%)",
"hsl(0, 0%, 7%)"
],
"circle-stroke-width": 1,
"circle-stroke-color": [
"match",
[
"get",
"maki"
],
[
"rail-metro"
],
"hsl(0, 0%, 100%)",
"hsl(0, 0%, 82%)"
]
}
},
{
"id": "poi-label",
"type": "symbol",
"source": "composite",
"source-layer": "poi_label",
"minzoom": 6,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
[
"+",
[
"step",
[
"zoom"
],
0,
16,
1,
17,
2
],
[
"match",
[
"get",
"class"
],
"building",
2,
"commercial_services",
2,
"food_and_drink",
1,
"food_and_drink_stores",
1,
"historic",
3,
"industrial",
3,
"lodging",
1,
"medical",
2,
"motorist",
1,
"place_like",
3,
"religion",
2,
"sport_and_leisure",
3,
"store_like",
1,
"visitor_amenities",
2,
4
]
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"case",
[
"match",
[
"get",
"class"
],
[
"public_facilities",
"arts_and_entertainment"
],
true,
false
],
[
"literal",
[
"PT Sans Bold",
"Arial Unicode MS Regular"
]
],
[
"match",
[
"get",
"type"
],
[
"Government",
"Museum",
"Archaeological Site",
"Mall",
"College",
"Police",
"University"
],
true,
false
],
[
"literal",
[
"PT Sans Bold",
"Arial Unicode MS Regular"
]
],
[
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
]
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
1
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
1
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"visibility": "none"
},
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": [
"case",
[
"match",
[
"get",
"class"
],
[
"park_like",
"sport_and_leisure"
],
true,
false
],
"hsl(100, 52%, 36%)",
[
"match",
[
"get",
"class"
],
[
"medical"
],
true,
false
],
"hsl(12, 61%, 46%)",
[
"match",
[
"get",
"type"
],
[
"Marketplace"
],
true,
false
],
"hsl(295, 0%, 14%)",
"hsl(35, 0%, 29%)"
],
"text-halo-width": 2,
"text-halo-blur": 1,
"text-color": "hsl(0, 0%, 100%)"
}
},
{
"id": "transit-label",
"type": "symbol",
"source": "composite",
"source-layer": "transit_stop_label",
"minzoom": 12,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"all",
[
"<=",
[
"get",
"filterrank"
],
4
],
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
14,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
15,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
"ferry",
true,
"light_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
16,
[
"all",
[
"match",
[
"get",
"mode"
],
"bus",
false,
true
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
17,
[
"!=",
[
"get",
"stop_type"
],
"entrance"
],
19,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"layout": {
"text-size": 12,
"icon-image": [
"get",
"network"
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-justify": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"center"
],
"visibility": "none",
"text-offset": [
"match",
[
"get",
"stop_type"
],
"entrance",
[
"literal",
[
1,
0
]
],
[
"literal",
[
0,
1
]
]
],
"text-anchor": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"top"
],
"text-field": [
"step",
[
"zoom"
],
"",
13,
[
"match",
[
"get",
"mode"
],
[
"rail",
"metro_rail"
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
""
],
14,
[
"match",
[
"get",
"mode"
],
[
"bus",
"bicycle"
],
"",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
18,
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
"text-letter-spacing": 0.01,
"text-max-width": [
"match",
[
"get",
"stop_type"
],
"entrance",
15,
9
]
},
"paint": {
"text-halo-color": "hsl(35, 36%, 100%)",
"text-color": [
"match",
[
"get",
"network"
],
"tokyo-metro",
"hsl(180, 50%, 30%)",
"mexico-city-metro",
"hsl(25, 100%, 63%)",
[
"barcelona-metro",
"delhi-metro",
"hong-kong-mtr",
"milan-metro",
"osaka-subway"
],
"hsl(0, 90%, 47%)",
[
"boston-t",
"washington-metro"
],
"hsl(230, 18%, 20%)",
[
"chongqing-rail-transit",
"kiev-metro",
"singapore-mrt",
"taipei-metro"
],
"hsl(140, 90%, 25%)",
"hsl(230, 48%, 44%)"
],
"text-halo-blur": 0.5,
"text-halo-width": 0.5
}
},
{
"id": "airport-label",
"type": "symbol",
"source": "composite",
"source-layer": "airport_label",
"minzoom": 8,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"military",
"civil",
"disputed_military",
"disputed_civil"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-line-height": 1.1,
"text-size": [
"step",
[
"get",
"sizerank"
],
18,
9,
12
],
"icon-image": [
"get",
"maki"
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"visibility": "none",
"text-offset": [
0,
1
],
"text-rotation-alignment": "viewport",
"text-anchor": "top",
"text-field": [
"step",
[
"get",
"sizerank"
],
[
"case",
[
"has",
"ref"
],
[
"concat",
[
"get",
"ref"
],
" -\n",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
15,
[
"get",
"ref"
]
],
"text-letter-spacing": 0.01,
"text-max-width": 9
},
"paint": {
"text-color": "hsl(230, 48%, 44%)",
"text-halo-color": "hsl(35, 36%, 100%)",
"text-halo-width": 1
}
},
{
"id": "Traffic Label",
"type": "symbol",
"source": "mapbox://mapbox.mapbox-traffic-v1",
"source-layer": "traffic",
"filter": [
"all",
[
"match",
[
"get",
"congestion"
],
[
"heavy",
"severe"
],
true,
false
],
[
"match",
[
"get",
"class"
],
[
"street"
],
false,
true
]
],
"layout": {
"text-field": [
"match",
[
"get",
"congestion"
],
[
"severe"
],
"Very Slow",
[
"heavy"
],
"Slow",
[
"moderate"
],
"Regular",
[
"to-string",
[
"get",
"congestion"
]
]
],
"symbol-sort-key": [
"match",
[
"get",
"congestion"
],
[
"severe",
"heavy"
],
0,
[
"moderate"
],
1,
10
],
"text-size": 10,
"text-transform": "uppercase",
"visibility": "none"
},
"paint": {
"text-halo-width": 5,
"text-halo-color": [
"match",
[
"get",
"congestion"
],
[
"low"
],
"hsl(115, 100%, 74%)",
[
"moderate"
],
"hsl(101, 58%, 59%)",
[
"heavy"
],
"hsl(15, 79%, 51%)",
[
"severe"
],
"hsl(0, 98%, 27%)",
"#000000"
],
"text-color": "hsl(0, 0%, 100%)"
}
},
{
"id": "transit-label stop",
"type": "symbol",
"source": "composite",
"source-layer": "transit_stop_label",
"minzoom": 12,
"filter": [
"match",
[
"get",
"stop_type"
],
[
"stop"
],
true,
false
],
"layout": {
"text-size": 12,
"icon-image": [
"get",
"network"
],
"text-font": [
"literal",
[
"PT Sans Narrow Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"center"
],
"text-offset": [
0,
0.5
],
"icon-size": 0.8,
"text-anchor": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"top"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01,
"text-max-width": [
"match",
[
"get",
"stop_type"
],
"entrance",
15,
9
],
"visibility": "none"
},
"paint": {
"text-halo-color": "hsla(229, 0%, 100%, 0.87)",
"text-color": [
"match",
[
"get",
"network"
],
"tokyo-metro",
"hsl(180, 50%, 30%)",
"mexico-city-metro",
"hsl(25, 100%, 63%)",
[
"barcelona-metro",
"delhi-metro",
"hong-kong-mtr",
"milan-metro",
"osaka-subway"
],
"hsl(0, 90%, 47%)",
[
"boston-t",
"washington-metro"
],
"hsl(230, 18%, 20%)",
[
"chongqing-rail-transit",
"kiev-metro",
"singapore-mrt",
"taipei-metro"
],
"hsl(140, 90%, 25%)",
"hsl(229, 48%, 44%)"
],
"text-halo-width": 1
}
},
{
"id": "transit-label station",
"type": "symbol",
"source": "composite",
"source-layer": "transit_stop_label",
"minzoom": 12,
"filter": [
"match",
[
"get",
"stop_type"
],
[
"station"
],
true,
false
],
"layout": {
"text-size": 12,
"icon-image": [
"get",
"network"
],
"text-font": [
"literal",
[
"PT Sans Caption Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"center"
],
"text-offset": [
"match",
[
"get",
"stop_type"
],
"entrance",
[
"literal",
[
1,
0
]
],
[
"literal",
[
0,
1
]
]
],
"icon-size": 1.1,
"text-anchor": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"top"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01,
"text-max-width": [
"match",
[
"get",
"stop_type"
],
"entrance",
15,
9
],
"visibility": "none"
},
"paint": {
"text-halo-color": "hsl(229, 100%, 100%)",
"text-color": [
"match",
[
"get",
"network"
],
"tokyo-metro",
"hsl(180, 50%, 30%)",
"mexico-city-metro",
"hsl(25, 100%, 63%)",
[
"barcelona-metro",
"delhi-metro",
"hong-kong-mtr",
"milan-metro",
"osaka-subway"
],
"hsl(0, 90%, 47%)",
[
"boston-t",
"washington-metro"
],
"hsl(230, 18%, 20%)",
[
"chongqing-rail-transit",
"kiev-metro",
"singapore-mrt",
"taipei-metro"
],
"hsl(140, 90%, 25%)",
"hsl(229, 48%, 44%)"
],
"text-halo-blur": 0.5,
"text-halo-width": 2
}
},
{
"id": "airport-label copy",
"type": "symbol",
"source": "composite",
"source-layer": "airport_label",
"minzoom": 8,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"military",
"civil",
"disputed_military",
"disputed_civil"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-optional": true,
"text-line-height": 1.1,
"text-size": [
"step",
[
"get",
"sizerank"
],
18,
9,
12
],
"icon-image": [
"get",
"maki"
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-offset": [
0,
0.75
],
"text-rotation-alignment": "viewport",
"text-anchor": "top",
"text-field": [
"step",
[
"get",
"sizerank"
],
[
"case",
[
"has",
"ref"
],
[
"concat",
[
"get",
"ref"
],
" -\n",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
15,
[
"get",
"ref"
]
],
"text-letter-spacing": 0.01,
"text-max-width": 9,
"visibility": "none"
},
"paint": {
"text-color": "hsl(230, 48%, 44%)",
"text-halo-color": "hsl(35, 36%, 100%)",
"text-halo-width": 1
}
},
{
"id": "airport-label military-mask",
"type": "symbol",
"source": "composite",
"source-layer": "airport_label",
"minzoom": 8,
"filter": [
"match",
[
"get",
"class"
],
[
"military"
],
true,
false
],
"layout": {
"text-optional": true,
"text-line-height": 1.1,
"text-size": [
"step",
[
"get",
"sizerank"
],
18,
9,
12
],
"icon-image": [
"get",
"maki"
],
"text-font": [
"literal",
[
"PT Sans Regular",
"Arial Unicode MS Regular"
]
],
"text-offset": [
0,
0.75
],
"text-rotation-alignment": "viewport",
"text-anchor": "top",
"text-letter-spacing": 0.01,
"text-max-width": 9,
"visibility": "none"
},
"paint": {
"text-color": "hsl(230, 48%, 44%)",
"text-halo-color": "hsl(35, 36%, 100%)",
"text-halo-width": 1
}
},
{
"id": "contour labels",
"type": "symbol",
"source": "composite",
"source-layer": "contour",
"minzoom": 15,
"filter": [
"!=",
[
"get",
"ele"
],
0
],
"layout": {
"text-size": 10,
"text-max-angle": 200,
"symbol-spacing": 450,
"text-font": [
"match",
[
"get",
"index"
],
[
1
],
[
"literal",
[
"Open Sans Condensed Bold",
"Arial Unicode MS Regular"
]
],
[
"literal",
[
"Open Sans Condensed Light",
"Arial Unicode MS Regular"
]
]
],
"symbol-placement": "line",
"visibility": "none",
"text-rotation-alignment": "map",
"text-pitch-alignment": "map",
"text-field": [
"concat",
[
"to-string",
[
"get",
"ele"
]
],
"m"
]
},
"paint": {
"text-halo-width": 2,
"text-halo-color": "hsla(28, 66%, 87%, 0.56)",
"text-color": "hsl(27, 90%, 32%)",
"text-halo-blur": 1
}
},
{
"id": "goa-local-body-boundaries label",
"type": "symbol",
"source": "composite",
"source-layer": "goa-local-body-boundaries",
"minzoom": 3,
"maxzoom": 12,
"layout": {
"text-line-height": 1,
"text-size": [
"match",
[
"get",
"Type"
],
[
"Municipal Corporation"
],
15,
10
],
"symbol-sort-key": [
"case",
[
"match",
[
"get",
"Type"
],
[
"Municipal Corporation"
],
true,
false
],
0,
[
"match",
[
"get",
"Class"
],
[
"Urban"
],
true,
false
],
1,
[
"match",
[
"get",
"Class"
],
[
"Rurban"
],
true,
false
],
5,
10
],
"text-font": [
"match",
[
"get",
"Type"
],
[
"Municipal Corporation",
"Municipality"
],
[
"literal",
[
"Open Sans SemiBold",
"Arial Unicode MS Regular"
]
],
[
"literal",
[
"Open Sans SemiBold",
"Arial Unicode MS Regular"
]
]
],
"text-justify": "auto",
"text-padding": 5,
"visibility": "none",
"text-field": [
"match",
[
"get",
"Type"
],
[
"Municipal Corporation"
],
[
"to-string",
[
"get",
"Name"
]
],
[
"Municipality"
],
[
"concat",
[
"to-string",
[
"get",
"Name"
]
],
" Municipal Council"
],
[
"concat",
"VP ",
[
"to-string",
[
"get",
"Name"
]
]
]
],
"text-max-width": 5
},
"paint": {
"text-color": "hsl(259, 100%, 100%)",
"text-halo-color": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
"hsl(278, 95%, 42%)",
"hsl(278, 0%, 47%)"
],
"text-halo-width": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
2,
1
]
}
},
{
"id": "settlement-subdivision-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 10,
"maxzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"settlement_subdivision",
"disputed_settlement_subdivision"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
4
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-transform": "uppercase",
"text-font": [
"literal",
[
"PT Sans Narrow Bold",
"Arial Unicode MS Regular"
]
],
"text-letter-spacing": [
"match",
[
"get",
"type"
],
"suburb",
0.15,
0.05
],
"text-max-width": 4,
"text-padding": 3,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.5,
0,
1,
1
],
[
"zoom"
],
11,
[
"match",
[
"get",
"type"
],
"suburb",
11,
10.5
],
15,
[
"match",
[
"get",
"type"
],
"suburb",
15,
14
]
],
"visibility": "none"
},
"paint": {
"text-halo-color": "hsl(35, 0%, 90%)",
"text-halo-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
1,
14,
2
],
"text-color": "hsla(230, 0%, 0%, 0.92)",
"text-halo-blur": 0.5
}
},
{
"id": "settlement-minor-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 2,
"maxzoom": 13,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
[
">",
[
"get",
"symbolrank"
],
6
],
4,
[
">=",
[
"get",
"symbolrank"
],
7
],
6,
[
">=",
[
"get",
"symbolrank"
],
8
],
7,
[
">=",
[
"get",
"symbolrank"
],
10
],
10,
[
">=",
[
"get",
"symbolrank"
],
11
],
11,
[
">=",
[
"get",
"symbolrank"
],
13
],
12,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
11,
9,
10
],
6,
[
"step",
[
"get",
"symbolrank"
],
14,
9,
12,
12,
10
],
8,
[
"step",
[
"get",
"symbolrank"
],
16,
9,
14,
12,
12,
15,
10
],
13,
[
"step",
[
"get",
"symbolrank"
],
22,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"literal",
[
"PT Sans Caption Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": "auto",
"visibility": "none",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"paint": {
"text-color": "hsl(230, 0%, 0%)",
"text-halo-color": "hsla(35, 0%, 100%, 0.86)",
"text-halo-width": 2,
"icon-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.5
],
"text-halo-blur": 1,
"text-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.5
]
}
},
{
"id": "settlement-major-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 2,
"maxzoom": 15,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
false,
2,
[
"<=",
[
"get",
"symbolrank"
],
6
],
4,
[
"<",
[
"get",
"symbolrank"
],
7
],
6,
[
"<",
[
"get",
"symbolrank"
],
8
],
7,
[
"<",
[
"get",
"symbolrank"
],
10
],
10,
[
"<",
[
"get",
"symbolrank"
],
11
],
11,
[
"<",
[
"get",
"symbolrank"
],
13
],
12,
[
"<",
[
"get",
"symbolrank"
],
15
],
13,
[
">=",
[
"get",
"symbolrank"
],
11
],
14,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
13,
6,
11
],
6,
[
"step",
[
"get",
"symbolrank"
],
18,
6,
16,
7,
14
],
8,
[
"step",
[
"get",
"symbolrank"
],
20,
9,
16,
10,
14
],
15,
[
"step",
[
"get",
"symbolrank"
],
24,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"literal",
[
"PT Sans Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
8,
"center"
],
"visibility": "none",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"paint": {
"text-color": "hsl(230, 0%, 0%)",
"text-halo-color": "hsl(35, 0%, 100%)",
"text-halo-width": 2,
"text-halo-blur": 1,
"text-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.5
]
}
},
{
"id": "state-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 3,
"maxzoom": 9,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"state",
"disputed_state"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-size": [
"interpolate",
[
"cubic-bezier",
0.85,
0.7,
0.65,
1
],
[
"zoom"
],
4,
[
"step",
[
"get",
"symbolrank"
],
9,
6,
8,
7,
7
],
9,
[
"step",
[
"get",
"symbolrank"
],
21,
6,
16,
7,
14
]
],
"text-transform": "uppercase",
"text-font": [
"literal",
[
"PT Sans Caption Regular",
"Arial Unicode MS Bold"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.15,
"text-max-width": 6,
"visibility": "none"
},
"paint": {
"text-color": "hsla(230, 18%, 0%, 0.55)",
"text-halo-color": "hsl(35, 41%, 100%)",
"text-halo-width": 1,
"text-opacity": 0.5
}
},
{
"id": "country-label",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 1,
"maxzoom": 10,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"country",
"disputed_country"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.7,
1
],
[
"zoom"
],
1,
[
"step",
[
"get",
"symbolrank"
],
14,
2,
15,
3,
10
],
9,
[
"step",
[
"get",
"symbolrank"
],
22,
2,
19,
3,
17
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
0.6,
8,
0
],
"icon-image": "",
"text-font": [
"literal",
[
"PT Serif Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
7,
"auto"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.3,
"text-max-width": 6,
"visibility": "none"
},
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"case",
[
"has",
"text_anchor"
],
1,
0
],
7,
0
],
"text-color": "hsla(270, 90%, 39%, 0.77)",
"text-halo-width": 5,
"text-halo-color": "hsla(277, 89%, 95%, 0.72)"
}
},
{
"id": "continent-label",
"type": "symbol",
"source": "composite",
"source-layer": "natural_label",
"minzoom": 0.75,
"maxzoom": 3,
"filter": [
"==",
[
"get",
"class"
],
"continent"
],
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-font": [
"literal",
[
"DIN Pro Medium",
"Arial Unicode MS Regular"
]
],
"text-size": [
"interpolate",
[
"exponential",
0.5
],
[
"zoom"
],
0,
10,
2.5,
15
],
"text-transform": "uppercase",
"text-letter-spacing": 0.05,
"visibility": "none"
},
"paint": {
"text-color": "hsla(230, 18%, 0%, 0.55)",
"text-halo-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
"hsla(35, 41%, 100%, 0.75)",
3,
"hsl(35, 41%, 100%)"
],
"text-halo-width": 1.5,
"text-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
0.8,
1.5,
0.5,
2.5,
0
]
}
},
{
"id": "country-boundaries",
"type": "fill",
"source": "composite",
"source-layer": "country_boundaries",
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "hsl(0, 0%, 89%)"
}
},
{
"id": "admin",
"type": "line",
"source": "composite",
"source-layer": "admin",
"filter": [
"all",
[
"match",
[
"get",
"worldview"
],
[
"IN",
"all"
],
true,
false
],
[
"==",
[
"get",
"admin_level"
],
0
]
],
"layout": {
"visibility": "none"
},
"paint": {
"line-color": "hsl(0, 100%, 43%)",
"line-width": 0.2
}
},
{
"id": "settlement-minor-label village",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 2,
"maxzoom": 15,
"filter": [
"match",
[
"get",
"type"
],
[
"village",
"hamlet"
],
true,
false
],
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.5,
0,
1,
1
],
[
"zoom"
],
11,
[
"match",
[
"get",
"type"
],
"village",
9,
10.5
],
13,
14
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-transform": "uppercase",
"text-font": [
"literal",
[
"PT Sans Narrow Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": "auto",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"to-string",
[
"get",
"name"
]
],
[
"to-string",
[
"get",
"name_en"
]
]
],
"text-letter-spacing": [
"match",
[
"get",
"type"
],
"village",
0.2,
0.05
],
"text-max-width": 7,
"visibility": "none"
},
"paint": {
"text-color": "hsl(230, 0%, 13%)",
"text-halo-color": "hsla(35, 0%, 81%, 0.96)",
"icon-opacity": [
"match",
[
"get",
"iso_3166_1"
],
[
"IN"
],
1,
0.5
],
"text-halo-blur": 1,
"text-halo-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0.5,
14,
3
]
}
},
{
"id": "settlement-minor-label town",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 2,
"maxzoom": 14,
"filter": [
"match",
[
"get",
"type"
],
[
"town"
],
true,
false
],
"layout": {
"text-line-height": 1.4,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
11,
9,
10
],
6,
[
"step",
[
"get",
"symbolrank"
],
14,
9,
12,
12,
10
],
8,
[
"step",
[
"get",
"symbolrank"
],
16,
9,
14,
12,
12,
15,
10
],
13,
[
"step",
[
"get",
"symbolrank"
],
22,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"literal",
[
"PT Sans Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": "auto",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"to-string",
[
"get",
"name_en"
]
],
"text-letter-spacing": 0.1,
"text-max-width": 5,
"visibility": "none"
},
"paint": {
"text-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
"hsl(230, 0%, 45%)",
12,
"hsl(230, 0%, 0%)"
],
"text-halo-color": "hsla(35, 0%, 100%, 0.62)",
"text-halo-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
2,
14,
5
],
"text-halo-blur": 4
}
},
{
"id": "settlement-minor-label city",
"type": "symbol",
"source": "composite",
"source-layer": "place_label",
"minzoom": 2,
"maxzoom": 14,
"filter": [
"match",
[
"get",
"type"
],
[
"city"
],
true,
false
],
"layout": {
"text-line-height": 1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
11,
9,
10
],
6,
[
"step",
[
"get",
"symbolrank"
],
14,
9,
12,
12,
10
],
8,
[
"step",
[
"get",
"symbolrank"
],
16,
9,
14,
12,
12,
15,
10
],
13,
[
"step",
[
"get",
"symbolrank"
],
22,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"literal",
[
"PT Sans Bold",
"Arial Unicode MS Regular"
]
],
"text-justify": "auto",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"to-string",
[
"get",
"name_en"
]
],
"text-letter-spacing": 0.1,
"text-max-width": 5,
"visibility": "none"
},
"paint": {
"text-halo-color": "hsla(35, 0%, 100%, 0.62)",
"text-halo-width": 2,
"text-halo-blur": 1,
"text-color": "hsla(0, 0%, 0%, 0.66)"
}
},
{
"id": "goa-state-line",
"type": "line",
"source": "composite",
"source-layer": "goa-state-line",
"filter": [
"match",
[
"get",
"District Name"
],
[
"a",
"b"
],
false,
true
],
"layout": {
"visibility": "none"
},
"paint": {
"line-width": 3,
"line-dasharray": [
4,
1,
1,
1
],
"line-color": "hsl(267, 47%, 49%)"
}
},
{
"id": "vector-layer-india-2023-open-buildings",
"type": "fill",
"slot": "middle",
"source": "vector-india-2023-open-buildings",
"source-layer": "google_buildings",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"rgba(255, 255, 0, 0.2)",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"rgba(255, 255, 0, 0.5)",
[
"case",
[
">",
[
"get",
"confidence"
],
0.8
],
"black",
[
">",
[
"get",
"confidence"
],
0.6
],
"#222",
[
">",
[
"get",
"confidence"
],
0.2
],
"#444",
"#777"
]
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
0.9,
19,
0.2
]
}
},
{
"id": "vector-layer-india-2023-open-buildings-outline",
"type": "line",
"slot": "middle",
"source": "vector-india-2023-open-buildings",
"source-layer": "google_buildings",
"layout": {
"visibility": "visible",
"line-join": "round",
"line-sort-key": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
3,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
1,
2
]
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"line-width": 0,
"line-opacity": 0,
"line-offset": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-2,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-1,
0
]
}
},
{
"id": "vector-layer-india-2023-open-buildings-text",
"type": "symbol",
"slot": "middle",
"source": "vector-india-2023-open-buildings",
"source-layer": "google_buildings",
"layout": {
"visibility": "visible",
"text-font": [
"literal",
[
"Open Sans Bold"
]
],
"text-field": [
"get",
"name"
],
"text-size": 12,
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "none",
"text-offset": [
0,
-0.4
]
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"white"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
},
{
"id": "vector-layer-goa-plots",
"type": "fill",
"slot": "middle",
"source": "vector-goa-plots",
"source-layer": "Onemapgoa_GA_Cadastrals",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"rgba(0, 0, 0, 0.05)",
18,
"rgba(0, 0, 0, 0.1)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.6,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.6,
0.6
],
17,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.3,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.2,
0.2
]
]
}
},
{
"id": "vector-layer-goa-plots-outline",
"type": "line",
"slot": "middle",
"source": "vector-goa-plots",
"source-layer": "Onemapgoa_GA_Cadastrals",
"layout": {
"visibility": "visible",
"line-sort-key": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
3,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
1,
2
]
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"#333"
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
2,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
1,
0
],
18,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
6,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
5,
1
]
],
"line-opacity": 1,
"line-offset": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-2,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-1,
0
]
}
},
{
"id": "vector-layer-goa-plots-text",
"type": "symbol",
"slot": "middle",
"source": "vector-goa-plots",
"source-layer": "Onemapgoa_GA_Cadastrals",
"layout": {
"visibility": "visible",
"text-font": [
"literal",
[
"Open Sans SemiBold"
]
],
"text-field": [
"step",
[
"zoom"
],
"",
15,
[
"to-string",
[
"get",
"plot"
]
]
],
"text-size": 12,
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "none",
"text-offset": [
0,
-0.4
],
"text-padding": 10
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"black"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
},
{
"id": "vector-layer-osm-waterways-outline",
"type": "line",
"slot": "middle",
"source": "vector-osm-waterways",
"source-layer": "water_lines",
"layout": {
"visibility": "visible",
"line-sort-key": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
3,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
1,
2
]
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
[
"match",
[
"get",
"kind"
],
[
"river",
"stream"
],
"blue",
"lightblue"
]
],
"line-width": [
"match",
[
"get",
"kind"
],
[
"river",
"canal"
],
3,
[
"stream",
"drain"
],
2,
1
],
"line-opacity": 0.9,
"line-offset": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-2,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-1,
0
]
}
},
{
"id": "vector-layer-osm-waterways-text",
"type": "symbol",
"slot": "middle",
"source": "vector-osm-waterways",
"source-layer": "water_lines",
"layout": {
"visibility": "visible",
"text-font": [
"literal",
[
"Open Sans Bold"
]
],
"text-field": [
"get",
"name"
],
"text-size": 12,
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "none",
"text-offset": [
0,
-0.4
]
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"white"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
},
{
"id": "vector-layer-goa-local-body",
"type": "fill",
"slot": "middle",
"source": "vector-goa-local-body",
"source-layer": "goa-local-body-boundaries",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"rgba(255, 255, 0, 0.2)",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"rgba(255, 255, 0, 0.5)",
"rgba(255, 255, 255, 0.2)"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.6,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.6,
0.6
],
17,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.3,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.2,
0.2
]
]
}
},
{
"id": "vector-layer-goa-local-body-outline",
"type": "line",
"slot": "middle",
"source": "vector-goa-local-body",
"source-layer": "goa-local-body-boundaries",
"layout": {
"visibility": "visible",
"line-sort-key": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
3,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
1,
2
]
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"purple"
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
2,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
1.5,
0.5
],
16,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
4,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
3,
1
]
],
"line-opacity": 1,
"line-offset": [
"case",
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-2,
[
"in",
[
"id"
],
[
"literal",
[]
]
],
-1,
0
]
}
},
{
"id": "vector-layer-goa-local-body-text",
"type": "symbol",
"slot": "middle",
"source": "vector-goa-local-body",
"source-layer": "goa-local-body-boundaries",
"layout": {
"visibility": "visible",
"text-font": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
[
"Open Sans Bold"
],
[
"Open Sans Regular"
]
],
"text-field": [
"step",
[
"zoom"
],
"",
9,
[
"to-string",
[
"get",
"Name"
]
]
],
"text-size": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
12,
[
"Rurban"
],
11,
10
],
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "uppercase",
"text-offset": [
0,
-0.4
],
"symbol-sort-key": [
"match",
[
"get",
"Class"
],
[
"Urban"
],
2,
[
"Rurban"
],
3,
4
],
"text-padding": 5
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"white"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"purple"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
},
{
"id": "geojson-goa-firetrucks-fill",
"type": "fill",
"slot": "middle",
"source": "geojson-goa-firetrucks",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"rgba(255, 255, 0, 0.2)",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"rgba(255, 255, 0, 0.5)",
"white"
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.6,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.6,
0.6
],
17,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
0.3,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.2,
0.2
]
]
}
},
{
"id": "geojson-goa-firetrucks-line",
"type": "line",
"slot": "middle",
"source": "geojson-goa-firetrucks",
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
2,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
1.5,
0.5
],
16,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
4,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
3,
1
]
],
"line-opacity": 1
}
},
{
"id": "geojson-goa-firetrucks-circle",
"type": "circle",
"slot": "middle",
"source": "geojson-goa-firetrucks",
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 6,
"circle-color": [
"match",
[
"get",
"Status"
],
"RUNNING",
"green",
"IDLE",
"yellow",
"STOP",
"red",
"INACTIVE",
"grey",
"black"
],
"circle-opacity": 0.8,
"circle-stroke-width": 2,
"circle-stroke-color": "#ffffff",
"circle-stroke-opacity": 1,
"circle-blur": 0,
"circle-translate": [
0,
0
],
"circle-pitch-scale": "map"
}
},
{
"id": "geojson-goa-firetrucks-symbol",
"type": "symbol",
"slot": "middle",
"source": "geojson-goa-firetrucks",
"layout": {
"visibility": "visible",
"text-font": [
"literal",
[
"Open Sans Regular"
]
],
"text-field": [
"step",
[
"zoom"
],
"",
7,
[
"to-string",
[
"get",
"POI"
]
]
],
"text-size": 12,
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "none",
"text-offset": [
0,
-0.4
]
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"white"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"grey"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
},
{
"id": "tms-layer-mapwarper-102030",
"type": "raster",
"slot": "bottom",
"source": "tms-mapwarper-102030",
"layout": {
"visibility": "visible"
},
"paint": {
"raster-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
0.95,
18,
0.8,
19,
0.3
]
}
},
{
"id": "geojson-goa-2025-water-body-atlas-fill",
"type": "fill",
"slot": "middle",
"source": "geojson-goa-2025-water-body-atlas",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"rgba(255, 255, 0, 0.2)",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"rgba(255, 255, 0, 0.5)",
"#0084f7"
],
"fill-opacity": 0.3
}
},
{
"id": "geojson-goa-2025-water-body-atlas-line",
"type": "line",
"slot": "middle",
"source": "geojson-goa-2025-water-body-atlas",
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"#0084f7"
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
2,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
1.5,
0.5
],
16,
[
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
4,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
3,
1
]
],
"line-opacity": 1
}
},
{
"id": "geojson-goa-2025-water-body-atlas-symbol",
"type": "symbol",
"slot": "middle",
"source": "geojson-goa-2025-water-body-atlas",
"layout": {
"visibility": "visible",
"text-font": [
"literal",
[
"Open Sans Bold"
]
],
"text-field": [
"get",
"name"
],
"text-size": 12,
"text-anchor": "bottom",
"text-line-height": 1,
"text-max-width": 8,
"text-justify": "center",
"text-allow-overlap": false,
"text-transform": "none",
"text-offset": [
0,
-0.4
]
},
"paint": {
"text-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"white",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"black",
"white"
],
"text-halo-color": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
"black",
[
"boolean",
[
"feature-state",
"hover"
],
false
],
"yellow",
"#0084f7"
],
"text-halo-width": 2,
"text-halo-blur": 0,
"text-opacity": [
"case",
[
"boolean",
[
"feature-state",
"selected"
],
false
],
1,
[
"boolean",
[
"feature-state",
"hover"
],
false
],
0.95,
0.9
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment