Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
styles-ch.swisstopo.leichte-basiskarte-grey.vt_v004.json
{
"version" : 8,
"name" : "styles-ch.swisstopo.leichte-basiskarte-grey.vt_v004",
"metadata" : {
"mapbox:autocomposite" : true,
"mapbox:type" : "template",
"maputnik:renderer" : "mbgljs"
},
"center" : [ 8, 47 ],
"zoom" : 7,
"bearing" : 0,
"pitch" : 5.5,
"light" : {
"anchor" : "map",
"intensity" : 0
},
"sources" : {
"ch.swisstopo.vektorkarte.vt" : {
"url" : "https://tileserver.int.bgdi.ch/data/ch.swisstopo.vektorkarte.vt_v004.json",
"type" : "vector"
},
"ch.swisstopo.swissnames3d" : {
"url" : "https://tileserver.int.bgdi.ch/data/ch.swisstopo.swissnames3d_v004.json",
"type" : "vector"
},
"ch.swisstopo.amtliches-strassenverzeichnis_validiert" : {
"url" : "https://tileserver.int.bgdi.ch/data/ch.swisstopo.amtliches-strassenverzeichnis_validiert_v001.json",
"type" : "vector"
},
"ch.bav.haltestellen-oev" : {
"url" : "https://tileserver.int.bgdi.ch/data/ch.bav.haltestellen-oev_v001.json",
"type" : "vector"
},
"ch.swisstopo.swissalti3d-reliefschattierung" : {
"url" : "http://tileserver.int.bgdi.ch/json/relief.json",
"type" : "raster"
},
"OpenMapTiles" : {
"url" : "https://tileserver.int.bgdi.ch/data/osm-2017-07-24-v3.6.2-europe-cut-20170918_v001.json",
"type" : "vector"
}
},
"sprite" : "mapbox://sprites/vib2d/cjeeaiozg3icf2sn7c3gjazob",
"glyphs" : "https://tileserver.int.bgdi.ch/fonts/{fontstack}/{range}.pbf",
"layers" : [
{
"id" : "background_",
"type" : "background",
"minzoom" : 1,
"maxzoom" : 22,
"layout" : {
"visibility" : "visible"
},
"paint" : {
"background-color" : "rgb(245, 245, 245)"
}
},
{
"id" : "osm_settlement",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landuse",
"minzoom" : 4,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "residential" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1.8,
"stops" : [
[ 4, 0 ],
[ 10, 0.8 ],
[ 14, 0.5 ],
[ 15, 0 ]
]
},
"fill-color" : "rgb(151, 151, 151)"
}
},
{
"id" : "osm_landcover_glacier",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landcover",
"minzoom" : 10,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "subclass", "glacier" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1,
"stops" : [
[ 10, 0 ],
[ 11, 0.2 ]
]
},
"fill-color" : "rgb(140, 140, 140)"
}
},
{
"id" : "osm_landcover_woodland",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landcover",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "wood" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1,
"stops" : [
[ 11, 0 ],
[ 12, 0.3 ]
]
},
"fill-color" : "rgb(151, 151, 151)"
}
},
{
"id" : "osm_landuse_leisure",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landcover",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "subclass", "park", "recreation_ground" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"fill-color" : "rgb(237, 237, 237)"
}
},
{
"id" : "osm_landuse_cemetery",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landuse",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "cemetery" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"fill-color" : "rgb(237, 237, 237)"
}
},
{
"id" : "osm_landuse_hospital",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "landuse",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "hospital" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"fill-color" : "rgb(240, 240, 240)"
}
},
{
"id" : "osm_hydrology_watercourse_underground",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "waterway",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : 1,
"line-color" : "rgb(145, 145, 145)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 13, 1 ],
[ 18, 3.5 ]
]
},
"line-dasharray" : [ 3, 7 ]
}
},
{
"id" : "osm_roadtraffic_class4_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "track", "path" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 13, 1 ],
[ 18, 4 ]
]
},
"line-dasharray" : [ 0.4, 0.4 ]
}
},
{
"id" : "osm_roadtraffic_contour_class3_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3 ],
[ 18, 18 ]
]
},
"line-dasharray" : [ 0.4, 0.4 ]
}
},
{
"id" : "osm_roadtraffic_class3_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2 ],
[ 18, 15 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class2_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3.5 ],
[ 18, 28 ]
]
},
"line-dasharray" : [ 0.4, 0.4 ]
}
},
{
"id" : "osm_roadtraffic_class2_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2.5 ],
[ 18, 25 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class1_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10.5, 0 ],
[ 11, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3.25 ],
[ 12, 5 ],
[ 18, 33 ]
]
},
"line-dasharray" : [ 0.4, 0.4 ]
}
},
{
"id" : "osm_roadtraffic_class1_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10, 0 ],
[ 10.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_highway_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 11.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 0.125 ],
[ 12, 0.5 ],
[ 18, 1.5 ]
]
},
"line-gap-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3 ],
[ 12, 4 ],
[ 14, 6 ],
[ 16, 10 ],
[ 18, 30 ]
]
},
"line-dasharray" : [ 5, 5 ]
}
},
{
"id" : "osm_roadtraffic_highway_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ],
[ 13, 0.7 ]
]
},
"line-color" : "rgb(165, 165, 165)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_railtraffic_side_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "in", "service", "siding", "yard", "spur", "crossover" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 1 ],
[ 15, 1.5 ],
[ 18, 4 ]
]
},
"line-dasharray" : [ 5, 3 ]
}
},
{
"id" : "osm_railtraffic_tunnel",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "!has", "service" ],
[ "==", "brunnel", "tunnel" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 2 ],
[ 15, 3 ],
[ 18, 8 ]
]
},
"line-dasharray" : [ 5, 3 ]
}
},
{
"id" : "osm_hydrology_watercourse",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "waterway",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all" ],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(145, 145, 145)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 13, 2 ],
[ 18, 7 ]
]
}
}
},
{
"id" : "osm_hydrology_river",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "water",
"minzoom" : 8,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "river" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1.8,
"stops" : [
[ 8, 0 ],
[ 8.5, 1 ]
]
},
"fill-color" : "rgb(145, 145, 145)"
}
},
{
"id" : "osm_labels_watercourse",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "waterway",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all" ],
"layout" : {
"symbol-placement" : "line",
"symbol-spacing" : 250,
"text-rotation-alignment" : "map",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 13, 12 ],
[ 18, 16 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.2,
"text-letter-spacing" : 0.1,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 100,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(56, 56, 56)",
"text-halo-color" : "rgb(145, 145, 145)",
"text-halo-width" : 0.5,
"text-halo-blur" : 2
}
},
{
"id" : "osm_hydrology_lake",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "water",
"minzoom" : 6,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "lake" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : 1,
"fill-color" : "rgb(145, 145, 145)"
}
},
{
"id" : "osm_hydrology_ocean",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "water",
"minzoom" : 1,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "ocean" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : 1,
"fill-color" : "rgb(145, 145, 145)"
}
},
{
"id" : "osm_ferryservice_car_ferry",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "ferry" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 0.4 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 0.25 ],
[ 12, 1 ],
[ 18, 2.5 ]
]
},
"line-gap-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3 ],
[ 12, 4 ],
[ 14, 5 ],
[ 18, 25 ]
]
},
"line-dasharray" : [ 5, 3 ]
}
},
{
"id" : "osm_airtraffic_runway_contour",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "aeroway",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "runway", "taxiway" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 5.25 ],
[ 12, 8 ],
[ 18, 53 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class3",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3 ],
[ 18, 18 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class2",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12.5, 0 ],
[ 13, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3.5 ],
[ 18, 28 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10.5, 0 ],
[ 11, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3.25 ],
[ 12, 5 ],
[ 18, 33 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_highway",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 11.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3.25 ],
[ 12, 5 ],
[ 18, 33 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class4",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "track", "path" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 13, 1 ],
[ 18, 4 ]
]
},
"line-dasharray" : [ 5, 1 ]
}
},
{
"id" : "osm_roadtraffic_class3",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2 ],
[ 18, 15 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class2",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2.5 ],
[ 18, 25 ]
]
}
}
},
{
"id" : "osm_airtraffic_runway",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "aeroway",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "runway", "taxiway" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 11.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 5 ],
[ 12, 7 ],
[ 18, 50 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10, 0 ],
[ 10.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_roadtraffic_highway",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(165, 165, 165)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_railtraffic_side",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "in", "service", "siding", "yard", "spur", "crossover" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 1 ],
[ 15, 1.5 ],
[ 18, 4 ]
]
}
}
},
{
"id" : "osm_railtraffic_",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "!has", "service" ],
[ "!has", "brunnel" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 2 ],
[ 15, 3 ],
[ 18, 8 ]
]
}
}
},
{
"id" : "osm_buildings_",
"type" : "fill",
"source" : "OpenMapTiles",
"source-layer" : "building",
"minzoom" : 14,
"maxzoom" : 22,
"filter" : [ "all" ],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"fill-antialias" : true,
"fill-opacity" : {
"base" : 1.8,
"stops" : [
[ 14, 0 ],
[ 15, 1 ]
]
},
"fill-color" : "rgb(77, 77, 77)"
}
},
{
"id" : "osm_roadtraffic_contour_class3_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3 ],
[ 18, 18 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class2_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12.5, 0 ],
[ 13, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 3.5 ],
[ 18, 28 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_class1_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10.5, 0 ],
[ 11, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3.25 ],
[ 12, 5 ],
[ 18, 33 ]
]
}
}
},
{
"id" : "osm_roadtraffic_contour_highway_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 11, 0 ],
[ 11.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3.25 ],
[ 12, 5 ],
[ 18, 33 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class4_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "track", "path" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "square",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(0,0,0)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 13, 1 ],
[ 18, 4 ]
]
},
"line-dasharray" : [ 5, 1 ]
}
},
{
"id" : "osm_roadtraffic_class3_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "raceway", "service" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2 ],
[ 18, 15 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class2_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 12,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "tertiary", "minor" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 12, 0 ],
[ 12.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 12, 2.5 ],
[ 18, 25 ]
]
}
}
},
{
"id" : "osm_roadtraffic_class1_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "primary", "secondary" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 10, 0 ],
[ 10.5, 1 ]
]
},
"line-color" : "rgb(255, 255, 255)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 10, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_roadtraffic_highway_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "motorway", "trunk" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "bevel",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(165, 165, 165)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 9, 3 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_railtraffic_side_contour_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "in", "service", "siding", "yard", "spur", "crossover" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(245, 245, 245)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 1.25 ],
[ 15, 2.5 ],
[ 18, 7 ]
]
}
}
},
{
"id" : "osm_railtraffic_contour_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "!has", "service" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "butt",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(245, 245, 245)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 2.25 ],
[ 15, 4 ],
[ 18, 11 ]
]
}
}
},
{
"id" : "osm_railtraffic_side_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "in", "service", "siding", "yard", "spur", "crossover" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 13, 0 ],
[ 13.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 1 ],
[ 15, 1.5 ],
[ 18, 4 ]
]
}
}
},
{
"id" : "osm_railtraffic_level1",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "rail" ],
[ "!has", "service" ],
[ "==", "brunnel", "bridge" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : {
"base" : 1.8,
"stops" : [
[ 9, 0 ],
[ 9.5, 1 ]
]
},
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 2 ],
[ 15, 3 ],
[ 18, 8 ]
]
}
}
},
{
"id" : "osm_aerialways",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "transportation",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "cable_car" ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : 1,
"line-color" : "rgb(94, 94, 94)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 8, 0.5 ],
[ 15, 0.75 ],
[ 18, 2 ]
]
}
}
},
{
"id" : "osm_boundary_",
"type" : "line",
"source" : "OpenMapTiles",
"source-layer" : "boundary",
"minzoom" : 1,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "admin_level", 2 ],
[ "==", "maritime", 0 ],
[ "==", "disputed", 0 ]
],
"layout" : {
"line-cap" : "round",
"line-join" : "round",
"line-miter-limit" : 2,
"line-round-limit" : 1.05,
"visibility" : "visible"
},
"paint" : {
"line-opacity" : 1,
"line-color" : "rgb(102, 102, 102)",
"line-width" : {
"base" : 1.8,
"stops" : [
[ 6, 2 ],
[ 12, 4 ],
[ 18, 30 ]
]
}
}
},
{
"id" : "osm_labels_peaks",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "mountain_peak",
"minzoom" : 11,
"maxzoom" : 22,
"filter" : [ "all",
[ "<", "ele", 3000 ]
],
"layout" : {
"symbol-placement" : "point",
"icon-allow-overlap" : true,
"icon-rotation-alignment" : "viewport",
"icon-image" : "peak",
"icon-padding" : 2,
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 12, 13 ],
[ 20, 20 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "bottom",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 35,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"icon-opacity" : 0.9,
"icon-halo-blur" : 0.5,
"icon-translate-anchor" : "viewport",
"text-opacity" : 0.9,
"text-color" : "rgb(96, 96, 96)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 2,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_alpine_peaks",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "mountain_peak",
"minzoom" : 9,
"maxzoom" : 22,
"filter" : [ "all",
[ ">=", "ele", 3000 ]
],
"layout" : {
"symbol-placement" : "point",
"icon-allow-overlap" : true,
"icon-rotation-alignment" : "viewport",
"icon-image" : "peak",
"icon-padding" : 2,
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 12, 15 ],
[ 20, 30 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "bottom",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 50,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"icon-opacity" : 0.9,
"icon-halo-blur" : 0.5,
"icon-translate-anchor" : "viewport",
"text-opacity" : 0.9,
"text-color" : "rgb(96, 96, 96)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 2,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_green-areas",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "cemetery", "park" ]
],
"layout" : {
"symbol-placement" : "point",
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 14, 12 ],
[ 20, 20 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(36, 36, 36)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 0.5,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_leisure",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all",
[ "in", "class", "campsite", "camp_site", "zoo", "golf", "golf_course", "swimming_area", "swimming_pool", "water_park", "horse_racing", "sports_centre" ]
],
"layout" : {
"symbol-placement" : "point",
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 14, 12 ],
[ 20, 20 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(36, 36, 36)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 0.5,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_hospital_site",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "hospital" ]
],
"layout" : {
"symbol-placement" : "point",
"icon-allow-overlap" : true,
"icon-rotation-alignment" : "viewport",
"icon-image" : "{icon}",
"icon-padding" : 0,
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 16, 12 ],
[ 20, 20 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 1,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"icon-opacity" : 0.9,
"icon-halo-blur" : 0.5,
"icon-translate-anchor" : "viewport",
"text-opacity" : 0.9,
"text-color" : "rgb(68, 68, 68)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 2,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_streetnames_street",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "transportation_name",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all" ],
"layout" : {
"symbol-placement" : "line",
"text-rotation-alignment" : "map",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 15, 11 ],
[ 20, 14 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.2,
"text-letter-spacing" : 0.02,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 30,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(38, 38, 38)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 2,
"text-halo-blur" : 0
}
},
{
"id" : "osm_labels_island",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "place",
"minzoom" : 6,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "island" ]
],
"layout" : {
"symbol-placement" : "point",
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 10, 11 ],
[ 18, 16 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.2,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(0,0,0)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 1,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_lakes",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "water_name",
"minzoom" : 6,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "lake" ]
],
"layout" : {
"symbol-placement" : "point",
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 10, 12 ],
[ 18, 19 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.2,
"text-letter-spacing" : 0.25,
"text-justify" : "center",
"text-anchor" : "center",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(56, 56, 56)",
"text-halo-color" : "rgb(145, 145, 145)",
"text-halo-width" : 0.5,
"text-halo-blur" : 2
}
},
{
"id" : "osm_labels_station_aerialway_icon",
"type" : "circle",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 13,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "station" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"circle-radius" : {
"stops" : [
[ 11, 2.5 ],
[ 22, 4.5 ]
]
},
"circle-color" : "rgb(94, 94, 94)",
"circle-blur" : 0
}
},
{
"id" : "osm_labels_station_aerialway",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "station" ]
],
"layout" : {
"symbol-placement" : "point",
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 15, 10 ],
[ 20, 13 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.2,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "bottom",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 1,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"text-color" : "rgb(0,0,0)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 0.5,
"text-halo-blur" : 0.5
}
},
{
"id" : "osm_labels_station_ferry",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 15,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "ferry_terminal" ]
],
"layout" : {
"symbol-placement" : "point",
"icon-allow-overlap" : true,
"icon-rotation-alignment" : "viewport",
"icon-size" : {
"stops" : [
[ 12, 0.8 ],
[ 19, 1.5 ]
]
},
"icon-image" : "circle_stroke",
"icon-padding" : 0,
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 15, 11 ],
[ 20, 15 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.06,
"text-justify" : "center",
"text-anchor" : "top",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 2,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"icon-halo-blur" : 0.5,
"icon-translate-anchor" : "viewport",
"text-color" : "rgb(56, 56, 56)",
"text-halo-color" : "rgb(255, 255, 255)",
"text-halo-width" : 2,
"text-halo-blur" : 0.8
}
},
{
"id" : "osm_labels_station_bus_icon",
"type" : "circle",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 16,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "bus" ]
],
"layout" : {
"visibility" : "visible"
},
"paint" : {
"circle-radius" : 3,
"circle-color" : "rgb(94, 94, 94)"
}
},
{
"id" : "osm_labels_station_bus",
"type" : "symbol",
"source" : "OpenMapTiles",
"source-layer" : "poi",
"minzoom" : 16,
"maxzoom" : 22,
"filter" : [ "all",
[ "==", "class", "bus" ]
],
"layout" : {
"symbol-placement" : "point",
"icon-allow-overlap" : true,
"icon-rotation-alignment" : "viewport",
"icon-size" : {
"stops" : [
[ 12, 0.01 ],
[ 19, 0.035 ]
]
},
"icon-image" : "station_bus",
"icon-padding" : 0,
"text-rotation-alignment" : "viewport",
"text-field" : "{name}",
"text-font" : [ "Frutiger Neue LT Pro Book" ],
"text-size" : {
"stops" : [
[ 16, 11 ],
[ 20, 13 ]
]
},
"text-max-width" : 10,
"text-line-height" : 1.1,
"text-letter-spacing" : 0.01,
"text-justify" : "center",
"text-anchor" : "bottom",
"text-max-angle" : 45,
"text-rotate" : 0,
"text-padding" : 1,
"text-keep-upright" : true,
"text-transform" : "none",
"text-allow-overlap" : false,
"visibility" : "visible"
},
"paint" : {
"icon-opacity" : 1,
"icon-halo-blur" : 0.5,
"icon-translate-anchor" : "viewport",
"text-opacity" : 1,
"text-color" : "rgb(0,0,0)",
"text-halo-color" : "rgb(255, 255, 255)",