{ "version": 8, "id": "osm-liberty", "name": "OSM Liberty", "metadata": { "mapbox:type": "template", "inspect": true }, "sources": { "natural_earth_shaded_relief": { "maxzoom": 6, "tileSize": 256, "tiles": [ "http://naturalearthtiles.org/tiles/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.png" ], "type": "raster" }, "openmaptiles": { "type": "vector", "url": "https://free.tilehosting.com/data/v3.json?key=tXiQqN3lIgskyDErJCeY" } }, "sprite": "http://osm-liberty.lukasmartinelli.ch/sprites/osm-liberty", "glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", "layers": [ { "id": "background", "type": "background", "paint": { "background-color": "rgb(239,239,239)" } }, { "id": "natural_earth", "type": "raster", "source": "natural_earth_shaded_relief", "maxzoom": 6, "layout": { "visibility": "visible" }, "paint": { "raster-opacity": { "base": 1.5, "stops": [ [ 0, 0.6 ], [ 6, 0.1 ] ] } } }, { "id": "landuse_overlay_national_park", "type": "fill", "source": "openmaptiles", "source-layer": "landuse_overlay", "filter": [ "==", "class", "national_park" ], "paint": { "fill-color": "#d8e8c8", "fill-opacity": 0.7 } }, { "id": "landuse_residential", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": [ "==", "class", "residential" ], "layout": { "visibility": "visible" }, "paint": { "fill-color": { "base": 1, "stops": [ [ 9, "hsla(0, 3%, 85%, 0.84)" ], [ 12, "hsla(35, 57%, 88%, 0.49)" ] ] } } }, { "id": "landuse_park", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": [ "==", "class", "park" ], "paint": { "fill-antialias": false, "fill-color": "hsla(98, 61%, 72%, 0.7)" } }, { "id": "landuse_cemetery", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": [ "==", "class", "cemetery" ], "layout": { "visibility": "visible" }, "paint": { "fill-color": "hsl(75, 37%, 81%)" } }, { "id": "landuse_hospital", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": [ "==", "class", "hospital" ], "paint": { "fill-color": "#fde" } }, { "id": "landuse_school", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": [ "==", "class", "school" ], "paint": { "fill-color": "rgb(236,238,204)" } }, { "id": "waterway_river", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "waterway", "filter": [ "==", "class", "river" ], "layout": { "line-cap": "round" }, "paint": { "line-color": "#a0c8f0", "line-width": { "base": 1.2, "stops": [ [ 11, 0.5 ], [ 20, 6 ] ] } } }, { "id": "waterway_stream_canal", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "waterway", "filter": [ "in", "class", "canal", "stream" ], "layout": { "line-cap": "round" }, "paint": { "line-color": "#a0c8f0", "line-width": { "base": 1.3, "stops": [ [ 13, 0.5 ], [ 20, 6 ] ] } } }, { "id": "water", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "water", "paint": { "fill-color": "rgb(158,189,255)" } }, { "id": "aeroway_fill", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, "filter": [ "==", "$type", "Polygon" ], "paint": { "fill-color": "#f0ede9", "fill-opacity": 0.7 } }, { "id": "aeroway_runway", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, "filter": [ "all", [ "==", "$type", "LineString" ], [ "==", "type", "runway" ] ], "paint": { "line-color": "#f0ede9", "line-width": { "base": 1.2, "stops": [ [ 11, 3 ], [ 20, 16 ] ] } } }, { "id": "aeroway_taxiway", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, "filter": [ "all", [ "==", "$type", "LineString" ], [ "==", "type", "taxiway" ] ], "paint": { "line-color": "#f0ede9", "line-width": { "base": 1.2, "stops": [ [ 11, 0.5 ], [ 20, 6 ] ] } } }, { "id": "tunnel_motorway_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway_link" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-dasharray": [ 0.5, 0.25 ], "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "tunnel_service_track_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "service", "track" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#cfcdca", "line-dasharray": [ 0.5, 0.25 ], "line-width": { "base": 1.2, "stops": [ [ 15, 1 ], [ 16, 4 ], [ 20, 11 ] ] } } }, { "id": "tunnel_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "link" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "tunnel_street_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "street", "street_limited" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#cfcdca", "line-opacity": { "stops": [ [ 12, 0 ], [ 12.5, 1 ] ] }, "line-width": { "base": 1.2, "stops": [ [ 12, 0.5 ], [ 13, 1 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "tunnel_secondary_tertiary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 8, 1.5 ], [ 20, 17 ] ] } } }, { "id": "tunnel_trunk_primary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "tunnel_motorway_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-dasharray": [ 0.5, 0.25 ], "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "tunnel_path_pedestrian", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "path", "pedestrian" ] ] ], "paint": { "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [ 1, 0.75 ], "line-width": { "base": 1.2, "stops": [ [ 14, 0.5 ], [ 20, 10 ] ] } } }, { "id": "tunnel_motorway_link", "metadata": {}, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway_link" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round", "visibility": "visible" } }, { "id": "tunnel_service_track", "metadata": {}, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ [ 15.5, 0 ], [ 16, 2 ], [ 20, 7.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "service", "track" ] ], "layout": { "line-join": "round" } }, { "id": "tunnel_link", "metadata": {}, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "link" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round" } }, { "id": "tunnel_street", "metadata": {}, "paint": { "line-color": "#fff", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 13.5, 0 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "street", "street_limited" ] ], "layout": { "line-join": "round" } }, { "id": "tunnel_secondary_tertiary", "metadata": {}, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ [ 6.5, 0 ], [ 7, 0.5 ], [ 20, 10 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-join": "round" } }, { "id": "tunnel_trunk_primary", "metadata": {}, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-join": "round" } }, { "id": "tunnel_motorway", "metadata": {}, "paint": { "line-color": "#ffdaa6", "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway" ], [ "==", "structure", "tunnel" ] ], "layout": { "line-join": "round", "visibility": "visible" } }, { "id": "tunnel_major_rail", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "major_rail", "minor_rail" ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ [ 14, 0.4 ], [ 15, 0.75 ], [ 20, 2 ] ] } } }, { "id": "tunnel_major_rail_hatching", "metadata": {}, "paint": { "line-color": "#bbb", "line-dasharray": [ 0.2, 8 ], "line-width": { "base": 1.4, "stops": [ [ 14.5, 0 ], [ 15, 3 ], [ 20, 8 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "tunnel" ], [ "in", "class", "major_rail", "minor_rail" ] ] }, { "id": "building", "type": "fill", "metadata": {}, "source": "openmaptiles", "source-layer": "building", "paint": { "fill-color": "hsl(35, 8%, 85%)", "fill-outline-color": { "base": 1, "stops": [ [ 13, "hsla(35, 6%, 79%, 0.32)" ], [ 14, "hsl(35, 6%, 79%)" ] ] } } }, { "id": "housenum_label", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "housenum_label", "minzoom": 16, "layout": { "text-field": "{house_num}", "text-font": [ "Roboto Condensed Regular" ], "text-max-width": 7, "text-size": 9.5, "visibility": "visible" }, "paint": { "text-color": "hsl(35, 2%, 69%)", "text-halo-color": "hsl(35, 8%, 85%)", "text-halo-width": 0.5, "text-opacity": { "base": 1, "stops": [ [ 16, 0 ], [ 16.5, 1 ] ] } } }, { "id": "road_motorway_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "minzoom": 12, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "motorway_link" ] ], "layout": { "line-cap": "round", "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "road_service_track_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "service", "track" ] ], "layout": { "line-cap": "round", "line-join": "round" }, "paint": { "line-color": "#cfcdca", "line-width": { "base": 1.2, "stops": [ [ 15, 1 ], [ 16, 4 ], [ 20, 11 ] ] } } }, { "id": "road_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "minzoom": 13, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "link" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "road_street_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "street", "street_limited" ] ] ], "layout": { "line-cap": "round", "line-join": "round" }, "paint": { "line-color": "#cfcdca", "line-opacity": { "stops": [ [ 12, 0 ], [ 12.5, 1 ] ] }, "line-width": { "base": 1.2, "stops": [ [ 12, 0.5 ], [ 13, 1 ], [ 14, 4 ], [ 20, 20 ] ] } } }, { "id": "road_secondary_tertiary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 8, 1.5 ], [ 20, 17 ] ] } } }, { "id": "road_trunk_primary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "road_motorway_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "minzoom": 5, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "motorway" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "road_path_pedestrian", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "minzoom": 14, "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "path", "pedestrian" ] ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [ 1, 0.7 ], "line-width": { "base": 1.2, "stops": [ [ 14, 1 ], [ 20, 10 ] ] } } }, { "id": "road_motorway_link", "metadata": {}, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "minzoom": 12, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "motorway_link" ] ], "layout": { "line-cap": "round", "line-join": "round" } }, { "id": "road_service_track", "metadata": {}, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ [ 15.5, 0 ], [ 16, 2 ], [ 20, 7.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "service", "track" ] ], "layout": { "line-cap": "round", "line-join": "round" } }, { "id": "road_link", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "minzoom": 13, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "link" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" } }, { "id": "road_street", "metadata": {}, "paint": { "line-color": "#fff", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 13.5, 0 ], [ 14, 2.5 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "street", "street_limited" ] ] ], "layout": { "line-cap": "round", "line-join": "round" } }, { "id": "road_secondary_tertiary", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 6.5, 0 ], [ 8, 0.5 ], [ 20, 13 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" } }, { "id": "road_trunk_primary", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" } }, { "id": "road_motorway", "metadata": {}, "paint": { "line-color": { "base": 1, "stops": [ [ 5, "hsl(26, 87%, 62%)" ], [ 6, "#fc8" ] ] }, "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "minzoom": 5, "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "motorway" ] ], "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" } }, { "id": "road_major_rail", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "major_rail" ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ [ 14, 0.4 ], [ 15, 0.75 ], [ 20, 2 ] ] } } }, { "id": "road_major_rail_hatching", "metadata": {}, "paint": { "line-color": "#bbb", "line-dasharray": [ 0.2, 8 ], "line-width": { "base": 1.4, "stops": [ [ 14.5, 0 ], [ 15, 3 ], [ 20, 8 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "!in", "structure", "bridge", "tunnel" ], [ "==", "class", "major_rail" ] ] }, { "id": "bridge_motorway_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway_link" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "bridge_service_track_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "service", "track" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#cfcdca", "line-width": { "base": 1.2, "stops": [ [ 15, 1 ], [ 16, 4 ], [ 20, 11 ] ] } } }, { "id": "bridge_link_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "link" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 12, 1 ], [ 13, 3 ], [ 14, 4 ], [ 20, 15 ] ] } } }, { "id": "bridge_street_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "street", "street_limited" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "hsl(36, 6%, 74%)", "line-opacity": { "stops": [ [ 12, 0 ], [ 12.5, 1 ] ] }, "line-width": { "base": 1.2, "stops": [ [ 12, 0.5 ], [ 13, 1 ], [ 14, 4 ], [ 20, 25 ] ] } } }, { "id": "bridge_path_pedestrian_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "path", "pedestrian" ] ] ], "layout": { "line-join": "miter", "visibility": "visible" }, "paint": { "line-color": "hsl(35, 6%, 80%)", "line-dasharray": [ 1, 0 ], "line-width": { "base": 1.2, "stops": [ [ 14, 1.5 ], [ 20, 18 ] ] } } }, { "id": "bridge_secondary_tertiary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 8, 1.5 ], [ 20, 17 ] ] } } }, { "id": "bridge_trunk_primary_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "bridge_motorway_casing", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ [ 5, 0.4 ], [ 6, 0.7 ], [ 7, 1.75 ], [ 20, 22 ] ] } } }, { "id": "bridge_path_pedestrian", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "$type", "LineString" ], [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "path", "pedestrian" ] ] ], "paint": { "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [ 1, 0.3 ], "line-width": { "base": 1.2, "stops": [ [ 14, 0.5 ], [ 20, 10 ] ] } } }, { "id": "bridge_motorway_link", "metadata": {}, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway_link" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_service_track", "metadata": {}, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ [ 15.5, 0 ], [ 16, 2 ], [ 20, 7.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "service", "track" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_link", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 12.5, 0 ], [ 13, 1.5 ], [ 14, 2.5 ], [ 20, 11.5 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "link" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_street", "metadata": {}, "paint": { "line-color": "#fff", "line-opacity": 1, "line-width": { "base": 1.2, "stops": [ [ 13.5, 0 ], [ 14, 2.5 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "street", "street_limited" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_secondary_tertiary", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 6.5, 0 ], [ 7, 0.5 ], [ 20, 10 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "secondary", "tertiary" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_trunk_primary", "metadata": {}, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "structure", "bridge" ], [ "in", "class", "primary", "trunk" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_motorway", "metadata": {}, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ [ 5, 0 ], [ 7, 1 ], [ 20, 18 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "motorway" ], [ "==", "structure", "bridge" ] ], "layout": { "line-join": "round" } }, { "id": "bridge_major_rail", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "major_rail" ], [ "==", "structure", "bridge" ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ [ 14, 0.4 ], [ 15, 0.75 ], [ 20, 2 ] ] } } }, { "id": "bridge_major_rail_hatching", "metadata": {}, "paint": { "line-color": "#bbb", "line-dasharray": [ 0.2, 8 ], "line-width": { "base": 1.4, "stops": [ [ 14.5, 0 ], [ 15, 3 ], [ 20, 8 ] ] } }, "type": "line", "source": "openmaptiles", "source-layer": "road", "filter": [ "all", [ "==", "class", "major_rail" ], [ "==", "structure", "bridge" ] ] }, { "id": "admin_level_3", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "admin", "filter": [ "all", [ "==", "maritime", 0 ], [ ">=", "admin_level", 3 ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#9e9cab", "line-dasharray": [ 5, 1 ], "line-width": { "base": 1, "stops": [ [ 4, 0.4 ], [ 5, 1 ], [ 12, 1.8 ] ] } } }, { "id": "admin_level_2", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "admin", "filter": [ "all", [ "==", "admin_level", 2 ], [ "==", "disputed", 0 ], [ "==", "maritime", 0 ] ], "layout": { "line-cap": "round", "line-join": "round" }, "paint": { "line-color": "hsl(248, 1%, 41%)", "line-opacity": { "base": 1, "stops": [ [ 0, 0.4 ], [ 4, 1 ] ] }, "line-width": { "base": 1, "stops": [ [ 3, 1 ], [ 5, 1.2 ], [ 12, 3 ] ] } } }, { "id": "admin_level_2_disputed", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "admin", "filter": [ "all", [ "==", "admin_level", 2 ], [ "==", "disputed", 1 ], [ "==", "maritime", 0 ] ], "layout": { "line-cap": "round" }, "paint": { "line-color": "#9e9cab", "line-dasharray": [ 2, 2 ], "line-width": { "base": 1, "stops": [ [ 4, 1.4 ], [ 5, 2 ], [ 12, 8 ] ] } } }, { "id": "admin_level_3_maritime", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "admin", "filter": [ "all", [ "==", "maritime", 1 ], [ ">=", "admin_level", 3 ] ], "layout": { "line-join": "round" }, "paint": { "line-color": "#a0c8f0", "line-dasharray": [ 3, 1, 1, 1 ], "line-opacity": 0.5, "line-width": { "base": 1, "stops": [ [ 4, 0.4 ], [ 5, 1 ], [ 12, 3 ] ] } } }, { "id": "admin_level_2_maritime", "type": "line", "metadata": {}, "source": "openmaptiles", "source-layer": "admin", "filter": [ "all", [ "==", "admin_level", 2 ], [ "==", "maritime", 1 ] ], "layout": { "line-cap": "round" }, "paint": { "line-color": "#a0c8f0", "line-opacity": 0.5, "line-width": { "base": 1, "stops": [ [ 4, 1.4 ], [ 5, 2 ], [ 12, 8 ] ] } } }, { "id": "water_label", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "water_label", "filter": [ "==", "$type", "Point" ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Regular" ], "text-max-width": 5, "text-size": 12 }, "paint": { "text-color": "#5d60be", "text-halo-color": "rgba(255,255,255,0.7)", "text-halo-width": 1 } }, { "id": "poi_label_4", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "poi_label", "minzoom": 16, "filter": [ "all", [ "==", "$type", "Point" ], [ "==", "rank", 4 ] ], "layout": { "icon-image": "{maki}-11", "text-anchor": "top", "text-field": "{name_en}", "text-font": [ "Roboto Regular" ], "text-max-width": 9, "text-offset": [ 0, 0.6 ], "text-padding": 2, "text-size": 12 }, "paint": { "text-color": "#666", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "poi_label_3", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "poi_label", "minzoom": 15, "filter": [ "all", [ "==", "$type", "Point" ], [ "==", "rank", 3 ] ], "layout": { "icon-image": "{maki}-11", "text-anchor": "top", "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 9, "text-offset": [ 0, 0.6 ], "text-padding": 2, "text-size": 12 }, "paint": { "text-color": "#666", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "poi_label_2", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "poi_label", "minzoom": 14, "filter": [ "all", [ "==", "$type", "Point" ], [ "==", "rank", 2 ] ], "layout": { "icon-image": "{maki}-11", "text-anchor": "top", "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 9, "text-offset": [ 0, 0.6 ], "text-padding": 2, "text-size": 12 }, "paint": { "text-color": "#666", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "rail_station_label", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "rail_station_label", "layout": { "icon-image": "{maki}-11", "text-anchor": "left", "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 9, "text-offset": [ 0.9, 0 ], "text-padding": 2, "text-size": 12, "visibility": "visible" }, "paint": { "text-color": "#4898ff", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "poi_label_1", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "poi_label", "minzoom": 13, "filter": [ "all", [ "==", "$type", "Point" ], [ "==", "rank", 1 ] ], "layout": { "icon-image": "{maki}-11", "text-anchor": "top", "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 9, "text-offset": [ 0, 0.6 ], "text-padding": 2, "text-size": 12 }, "paint": { "text-color": "#666", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "airport_label", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "airport_label", "minzoom": 11, "filter": [ "all", [ "==", "$type", "Point" ], [ "in", "rank", 1, 2, 3 ] ], "layout": { "icon-image": "{maki}-11", "text-anchor": "top", "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 9, "text-offset": [ 0, 0.6 ], "text-padding": 2, "text-size": 12 }, "paint": { "text-color": "#666", "text-halo-blur": 0.5, "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { "id": "road_label", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "road_label", "filter": [ "!=", "class", "ferry" ], "layout": { "symbol-placement": "line", "text-anchor": "center", "text-field": "{name_en}", "text-font": [ "Roboto Regular" ], "text-offset": [ 0, 0.15 ], "text-size": { "base": 1, "stops": [ [ 13, 12 ], [ 14, 13 ] ] } }, "paint": { "text-color": "#765", "text-halo-blur": 0.5, "text-halo-width": 1 } }, { "id": "road_label_highway_shield", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "road_label", "minzoom": 8, "filter": [ "<=", "reflen", 6 ], "layout": { "icon-image": "default-{reflen}", "icon-rotation-alignment": "viewport", "symbol-placement": { "base": 1, "stops": [ [ 10, "point" ], [ 11, "line" ] ] }, "symbol-spacing": 500, "text-field": "{ref}", "text-font": [ "Roboto Regular" ], "text-offset": [ 0, 0.1 ], "text-rotation-alignment": "viewport", "text-size": 10 }, "paint": {} }, { "id": "place_other", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ "in", "class", "hamlet", "island", "islet", "neighbourhood", "suburb" ] ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-letter-spacing": 0.1, "text-max-width": 9, "text-size": { "base": 1.2, "stops": [ [ 12, 10 ], [ 15, 14 ] ] }, "text-transform": "uppercase" }, "paint": { "text-color": "#633", "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1.2 } }, { "id": "place_village", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ "==", "class", "village" ] ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Regular" ], "text-max-width": 8, "text-size": { "base": 1.2, "stops": [ [ 10, 12 ], [ 15, 22 ] ] } }, "paint": { "text-color": "#333", "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1.2 } }, { "id": "place_town", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ "==", "class", "town" ] ], "layout": { "icon-image": { "base": 1, "stops": [ [ 0, "dot-9" ], [ 8, "" ] ] }, "text-anchor": "bottom", "text-field": "{name_en}", "text-font": [ "Roboto Regular" ], "text-max-width": 8, "text-offset": [ 0, 0 ], "text-size": { "base": 1.2, "stops": [ [ 7, 12 ], [ 11, 16 ] ] } }, "paint": { "text-color": "#333", "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1.2 } }, { "id": "place_city", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "minzoom": 5, "filter": [ "all", [ "==", "class", "city" ] ], "layout": { "icon-image": { "base": 1, "stops": [ [ 0, "dot-9" ], [ 8, "" ] ] }, "text-anchor": "bottom", "text-field": "{name_en}", "text-font": [ "Roboto Medium" ], "text-max-width": 8, "text-offset": [ 0, 0 ], "text-size": { "base": 1.2, "stops": [ [ 7, 14 ], [ 11, 24 ] ] }, "icon-allow-overlap": true, "icon-optional": false }, "paint": { "text-color": "#333", "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1.2 } }, { "id": "state", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "maxzoom": 6, "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-size": { "stops": [ [ 4, 11 ], [ 6, 15 ] ] }, "text-transform": "uppercase" }, "paint": { "text-color": "#633", "text-halo-color": "rgba(255,255,255,0.7)", "text-halo-width": 1 }, "filter": [ "all", [ "==", "class", "state" ] ] }, { "id": "country_3", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ ">=", "rank", 3 ], [ "==", "class", "country" ] ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 6.25, "text-size": { "stops": [ [ 3, 11 ], [ 7, 17 ] ] }, "text-transform": "none" }, "paint": { "text-color": "#334", "text-halo-blur": 1, "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1 } }, { "id": "country_2", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ "==", "rank", 2 ], [ "==", "class", "country" ] ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 6.25, "text-size": { "stops": [ [ 2, 11 ], [ 5, 17 ] ] }, "text-transform": "none" }, "paint": { "text-color": "#334", "text-halo-blur": 1, "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1 } }, { "id": "country_1", "type": "symbol", "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ "all", [ "==", "rank", 1 ], [ "==", "class", "country" ] ], "layout": { "text-field": "{name_en}", "text-font": [ "Roboto Condensed Italic" ], "text-max-width": 6.25, "text-size": { "stops": [ [ 1, 11 ], [ 4, 17 ] ] }, "text-transform": "none" }, "paint": { "text-color": "#334", "text-halo-blur": 1, "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1 } } ] }