From 9da3c9453dc3f476fb4f2483dabe1d46508a15aa Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Sat, 6 Aug 2016 17:02:17 +0200 Subject: [PATCH] Add style --- README.md | 24 +- osm-liberty.json | 4042 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 4065 insertions(+), 1 deletion(-) create mode 100644 osm-liberty.json diff --git a/README.md b/README.md index 9d1bbdf..38f8e14 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # osm-liberty -A Mapbox GL basemap based on OSM2VectorTiles and Natural Earth Tiles with a Google Maps inspired design + +## Map Design + +## Icon Design + +A [Maki](https://github.com/mapbox/maki) icon set using colors to distinguish between icon categories. + +**Color Palette** + +Color Name | Hex Value +-------------|---------- +Blue | `#5d60be` +Light Blue | `#4898ff` +Orange | `#d97200` +Red | `#ba3827` +Brown | `#725a50` +Green | `#76a723` + +**Modify Icons** + +1. Take the style JSON file and upload it to the [Maki Editor](). +2. Apply your changes and download the icon set again. +3. Ensure you format the JSON first with `cat iconset.json | jq -MS '.'` diff --git a/osm-liberty.json b/osm-liberty.json new file mode 100644 index 0000000..f118215 --- /dev/null +++ b/osm-liberty.json @@ -0,0 +1,4042 @@ +{ + "version": 8, + "name": "OSM Liberty", + "metadata": { + "mapbox:type": "template", + "mapbox:groups": { + "1444849364238.8171": { + "name": "Building", + "collapsed": true + }, + "c3537858a10d9cbf2fab0a0067eaa969": { + "name": "State Label", + "collapsed": true + }, + "1444849354174.1904": { + "name": "Tunnel", + "collapsed": true + }, + "1444849320558.5054": { + "name": "Water Label", + "collapsed": true + }, + "1444849371739.5945": { + "name": "Aeroway", + "collapsed": true + }, + "1444849258897.3083": { + "name": "Marine Label", + "collapsed": true + }, + "1444849388993.3071": { + "name": "Landuse", + "collapsed": false + }, + "1444849242106.713": { + "name": "Country Label", + "collapsed": false + }, + "1444849382550.77": { + "name": "Water", + "collapsed": false + }, + "1444849345966.4436": { + "name": "Road", + "collapsed": true + }, + "1444849307123.581": { + "name": "Boundaries", + "collapsed": false + }, + "1456163609504.0715": { + "name": "Road Label", + "collapsed": false + }, + "1444849272561.29": { + "name": "Place Label", + "collapsed": true + }, + "1444849334699.1902": { + "name": "Bridge", + "collapsed": true + }, + "1444849297111.495": { + "name": "POI Label", + "collapsed": false + } + } + }, + "sources": { + "osm2vectortiles": { + "url": "https://osm2vectortiles.tileserver.com/v2.json", + "type": "vector" + }, + "natural_earth_shaded_relief": { + "tiles": [ + "http://naturalearthtiles.org/tiles/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.webp" + ], + "type": "raster", + "tileSize": 256, + "maxzoom": 6 + } + }, + "sprite": "https://raw.githubusercontent.com/osm2vectortiles/mapbox-gl-styles/master/sprites/bright-v9", + "glyphs": "http://glfonts.lukasmartinelli.ch/fonts/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "interactive": true, + "paint": { + "background-color": "#eee" + } + }, + { + "id": "natural_earth", + "type": "raster", + "source": "natural_earth_shaded_relief", + "maxzoom": 6, + "interactive": true, + "layout": { + "visibility": "visible" + }, + "paint": { + "raster-opacity": { + "base": 1.5, + "stops": [ + [ + 0, + 0.6 + ], + [ + 6, + 0.1 + ] + ] + } + } + }, + { + "id": "landuse_overlay_national_park", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse_overlay", + "interactive": true, + "filter": [ + "==", + "class", + "national_park" + ], + "paint": { + "fill-color": "#d8e8c8", + "fill-opacity": 0.7 + } + }, + { + "id": "landuse_park", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse", + "interactive": true, + "filter": [ + "==", + "class", + "park" + ], + "paint": { + "fill-color": "hsla(98, 61%, 72%, 0.7)", + "fill-antialias": false + } + }, + { + "id": "landuse_cemetery", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse", + "interactive": true, + "filter": [ + "==", + "class", + "cemetery" + ], + "paint": { + "fill-color": "#e0e4dd" + } + }, + { + "id": "landuse_hospital", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse", + "interactive": true, + "filter": [ + "==", + "class", + "hospital" + ], + "paint": { + "fill-color": "#fde" + } + }, + { + "id": "landuse_school", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse", + "interactive": true, + "filter": [ + "==", + "class", + "school" + ], + "paint": { + "fill-color": "#f0e8f8" + } + }, + { + "id": "landuse_wood", + "type": "fill", + "metadata": { + "mapbox:group": "1444849388993.3071" + }, + "source": "osm2vectortiles", + "source-layer": "landuse", + "interactive": true, + "filter": [ + "==", + "class", + "wood" + ], + "paint": { + "fill-color": "hsl(91, 83%, 35%)", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 6, + 0.1 + ], + [ + 9, + 0.2 + ] + ] + }, + "fill-antialias": false + } + }, + { + "id": "waterway", + "type": "line", + "metadata": { + "mapbox:group": "1444849382550.77" + }, + "source": "osm2vectortiles", + "source-layer": "waterway", + "interactive": true, + "filter": [ + "all", + [ + "!=", + "class", + "canal" + ], + [ + "!=", + "class", + "river" + ], + [ + "!=", + "class", + "stream" + ] + ], + "layout": { + "line-cap": "round" + }, + "paint": { + "line-color": "#a0c8f0", + "line-width": { + "base": 1.3, + "stops": [ + [ + 13, + 0.5 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "waterway_river", + "type": "line", + "metadata": { + "mapbox:group": "1444849382550.77" + }, + "source": "osm2vectortiles", + "source-layer": "waterway", + "interactive": true, + "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": { + "mapbox:group": "1444849382550.77" + }, + "source": "osm2vectortiles", + "source-layer": "waterway", + "interactive": true, + "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": { + "mapbox:group": "1444849382550.77" + }, + "source": "osm2vectortiles", + "source-layer": "water", + "interactive": true, + "paint": { + "fill-color": "hsl(228, 100%, 85%)" + } + }, + { + "id": "aeroway_fill", + "type": "fill", + "metadata": { + "mapbox:group": "1444849371739.5945" + }, + "source": "osm2vectortiles", + "source-layer": "aeroway", + "minzoom": 11, + "interactive": true, + "filter": [ + "==", + "$type", + "Polygon" + ], + "paint": { + "fill-color": "#f0ede9", + "fill-opacity": 0.7 + } + }, + { + "id": "aeroway_runway", + "type": "line", + "metadata": { + "mapbox:group": "1444849371739.5945" + }, + "source": "osm2vectortiles", + "source-layer": "aeroway", + "minzoom": 11, + "interactive": true, + "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": { + "mapbox:group": "1444849371739.5945" + }, + "source": "osm2vectortiles", + "source-layer": "aeroway", + "minzoom": 11, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "type", + "taxiway" + ] + ], + "paint": { + "line-color": "#f0ede9", + "line-width": { + "base": 1.2, + "stops": [ + [ + 11, + 0.5 + ], + [ + 20, + 6 + ] + ] + } + } + }, + { + "id": "building", + "type": "fill", + "metadata": { + "mapbox:group": "1444849364238.8171" + }, + "source": "osm2vectortiles", + "source-layer": "building", + "interactive": true, + "paint": { + "fill-color": "hsla(30, 1%, 73%, 0.44)" + } + }, + { + "id": "building_top", + "metadata": { + "mapbox:group": "1444849364238.8171" + }, + "ref": "building", + "interactive": true, + "paint": { + "fill-color": "rgb(236,236,236)", + "fill-opacity": 1, + "fill-translate": { + "base": 1, + "stops": [ + [ + 16, + [ + 1, + 1 + ] + ], + [ + 18, + [ + 3, + 3 + ] + ] + ] + }, + "fill-outline-color": "hsla(30, 1%, 73%, 0.19)" + } + }, + { + "id": "tunnel_motorway_link_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "class", + "motorway_link" + ], + [ + "==", + "structure", + "tunnel" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-dasharray": [ + 0.5, + 0.25 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "tunnel_service_track_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "structure", + "tunnel" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "tunnel_street_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "structure", + "tunnel" + ], + [ + "in", + "class", + "street", + "street_limited" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + } + } + }, + { + "id": "tunnel_secondary_tertiary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "structure", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "tunnel_trunk_primary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "structure", + "tunnel" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] + ] + ], + "paint": { + "line-color": "#cba", + "line-dasharray": [ + 1.5, + 0.75 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1.2 + ], + [ + 20, + 4 + ] + ] + } + } + }, + { + "id": "tunnel_motorway_link", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_motorway_link_casing", + "interactive": true, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "tunnel_service_track", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_service_track_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "tunnel_link", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_link_casing", + "interactive": true, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "tunnel_street", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_street_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "tunnel_secondary_tertiary", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_secondary_tertiary_casing", + "interactive": true, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "tunnel_trunk_primary", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_trunk_primary_casing", + "interactive": true, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "tunnel_motorway", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_motorway_casing", + "interactive": true, + "paint": { + "line-color": "#ffdaa6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "tunnel_major_rail", + "type": "line", + "metadata": { + "mapbox:group": "1444849354174.1904" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849354174.1904" + }, + "ref": "tunnel_major_rail", + "interactive": true, + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "road_motorway_link_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "minzoom": 12, + "interactive": true, + "filter": [ + "all", + [ + "!in", + "structure", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway_link" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "road_service_track_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "minzoom": 13, + "interactive": true, + "filter": [ + "all", + [ + "!in", + "structure", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "link" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "road_street_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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-width": { + "base": 1.2, + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + } + } + }, + { + "id": "road_secondary_tertiary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "!in", + "structure", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "road_trunk_primary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "!in", + "structure", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "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 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "road_motorway_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "minzoom": 5, + "interactive": true, + "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": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!in", + "structure", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] + ] + ], + "paint": { + "line-color": "#cba", + "line-dasharray": [ + 1.5, + 0.75 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1.2 + ], + [ + 20, + 4 + ] + ] + } + } + }, + { + "id": "road_motorway_link", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_motorway_link_casing", + "interactive": true, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "road_service_track", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_service_track_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "road_link", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_link_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "road_street", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_street_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "road_secondary_tertiary", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_secondary_tertiary_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 8, + 0.5 + ], + [ + 20, + 13 + ] + ] + } + } + }, + { + "id": "road_trunk_primary", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_trunk_primary_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_motorway", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_motorway_casing", + "interactive": true, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_major_rail", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849345966.4436" + }, + "ref": "road_major_rail", + "interactive": true, + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "bridge_motorway_link_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "class", + "motorway_link" + ], + [ + "==", + "structure", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "bridge_service_track_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "structure", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "bridge_street_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "structure", + "bridge" + ], + [ + "in", + "class", + "street", + "street_limited" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + } + } + }, + { + "id": "bridge_secondary_tertiary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "structure", + "bridge" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "bridge_trunk_primary_casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "structure", + "bridge" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] + ] + ], + "paint": { + "line-color": "#cba", + "line-dasharray": [ + 1.5, + 0.75 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1.2 + ], + [ + 20, + 4 + ] + ] + } + } + }, + { + "id": "bridge_motorway_link", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_motorway_link_casing", + "interactive": true, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "bridge_service_track", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_service_track_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "bridge_link", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_link_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "bridge_street", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_street_casing", + "interactive": true, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + }, + "line-opacity": 1 + } + }, + { + "id": "bridge_secondary_tertiary", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_secondary_tertiary_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "bridge_trunk_primary", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_trunk_primary_casing", + "interactive": true, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_motorway", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_motorway_casing", + "interactive": true, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_major_rail", + "type": "line", + "metadata": { + "mapbox:group": "1444849334699.1902" + }, + "source": "osm2vectortiles", + "source-layer": "road", + "interactive": true, + "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": { + "mapbox:group": "1444849334699.1902" + }, + "ref": "bridge_major_rail", + "interactive": true, + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "admin_level_3", + "type": "line", + "metadata": { + "mapbox:group": "1444849307123.581" + }, + "source": "osm2vectortiles", + "source-layer": "admin", + "interactive": true, + "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": { + "mapbox:group": "1444849307123.581" + }, + "source": "osm2vectortiles", + "source-layer": "admin", + "interactive": true, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ], + [ + "==", + "disputed", + 0 + ], + [ + "==", + "maritime", + 0 + ] + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "hsl(248, 1%, 41%)", + "line-width": { + "base": 1, + "stops": [ + [ + 3, + 1 + ], + [ + 5, + 1.2 + ], + [ + 12, + 3 + ] + ] + }, + "line-opacity": { + "base": 1, + "stops": [ + [ + 0, + 0.4 + ], + [ + 4, + 1 + ] + ] + } + } + }, + { + "id": "admin_level_2_disputed", + "type": "line", + "metadata": { + "mapbox:group": "1444849307123.581" + }, + "source": "osm2vectortiles", + "source-layer": "admin", + "interactive": true, + "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": { + "mapbox:group": "1444849307123.581" + }, + "source": "osm2vectortiles", + "source-layer": "admin", + "interactive": true, + "filter": [ + "all", + [ + "==", + "maritime", + 1 + ], + [ + ">=", + "admin_level", + 3 + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#a0c8f0", + "line-opacity": 0.5, + "line-dasharray": [ + 3, + 1, + 1, + 1 + ], + "line-width": { + "base": 1, + "stops": [ + [ + 4, + 0.4 + ], + [ + 5, + 1 + ], + [ + 12, + 3 + ] + ] + } + } + }, + { + "id": "admin_level_2_maritime", + "type": "line", + "metadata": { + "mapbox:group": "1444849307123.581" + }, + "source": "osm2vectortiles", + "source-layer": "admin", + "interactive": true, + "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": { + "mapbox:group": "1444849320558.5054" + }, + "source": "osm2vectortiles", + "source-layer": "water_label", + "interactive": true, + "filter": [ + "==", + "$type", + "Point" + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-max-width": 5, + "text-size": 12 + }, + "paint": { + "text-color": "#5d60be", + "text-halo-width": 1, + "text-halo-color": "rgba(255,255,255,0.7)" + } + }, + { + "id": "poi_label_4", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "poi_label", + "minzoom": 16, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "scalerank", + 4 + ] + ], + "layout": { + "icon-image": "{maki}-11", + "text-font": [ + "Roboto Regular" + ], + "text-field": "{name_en}", + "text-max-width": 9, + "text-padding": 2, + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "poi_label_3", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "poi_label", + "minzoom": 15, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "scalerank", + 3 + ] + ], + "layout": { + "icon-image": "{maki}-11", + "text-font": [ + "Open Sans Semibold" + ], + "text-field": "{name_en}", + "text-max-width": 9, + "text-padding": 2, + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "poi_label_2", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "poi_label", + "minzoom": 14, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "scalerank", + 2 + ] + ], + "layout": { + "icon-image": "{maki}-11", + "text-font": [ + "Open Sans Semibold" + ], + "text-field": "{name_en}", + "text-max-width": 9, + "text-padding": 2, + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "rail_station_label", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "rail_station_label", + "interactive": true, + "layout": { + "text-size": 12, + "icon-image": "{maki}-11", + "text-font": [ + "Open Sans Semibold" + ], + "text-padding": 2, + "visibility": "visible", + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-field": "{name_en}", + "text-max-width": 9 + }, + "paint": { + "text-color": "#4898ff", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "poi_label_1", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "poi_label", + "minzoom": 13, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "scalerank", + 1 + ] + ], + "layout": { + "icon-image": "{maki}-11", + "text-font": [ + "Open Sans Semibold" + ], + "text-field": "{name_en}", + "text-max-width": 9, + "text-padding": 2, + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "airport_label", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849297111.495" + }, + "source": "osm2vectortiles", + "source-layer": "airport_label", + "minzoom": 11, + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "in", + "scalerank", + 1, + 2, + 3 + ] + ], + "layout": { + "icon-image": "{maki}-11", + "text-font": [ + "Open Sans Semibold" + ], + "text-field": "{name_en}", + "text-max-width": 9, + "text-padding": 2, + "text-offset": [ + 0, + 0.6 + ], + "text-anchor": "top", + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "road_label", + "type": "symbol", + "metadata": { + "mapbox:group": "1456163609504.0715" + }, + "source": "osm2vectortiles", + "source-layer": "road_label", + "interactive": true, + "filter": [ + "!=", + "class", + "ferry" + ], + "layout": { + "text-field": "{name_en}", + "symbol-placement": "line", + "text-size": { + "base": 1, + "stops": [ + [ + 13, + 12 + ], + [ + 14, + 13 + ] + ] + }, + "text-font": [ + "Roboto Regular" + ], + "text-anchor": "center", + "text-offset": [ + 0, + 0.15 + ] + }, + "paint": { + "text-color": "#765", + "text-halo-width": 1, + "text-halo-blur": 0.5 + } + }, + { + "id": "road_label_highway_shield", + "type": "symbol", + "metadata": { + "mapbox:group": "1456163609504.0715" + }, + "source": "osm2vectortiles", + "source-layer": "road_label", + "minzoom": 8, + "interactive": true, + "filter": [ + "<=", + "reflen", + 6 + ], + "layout": { + "text-field": "{ref}", + "text-font": [ + "Open Sans Semibold" + ], + "text-size": 11, + "icon-image": "motorway_{reflen}", + "symbol-placement": { + "base": 1, + "stops": [ + [ + 10, + "point" + ], + [ + 11, + "line" + ] + ] + }, + "symbol-spacing": 500, + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport" + }, + "paint": {} + }, + { + "id": "place_label_other", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849272561.29" + }, + "source": "osm2vectortiles", + "source-layer": "place_label", + "interactive": true, + "filter": [ + "in", + "type", + "hamlet", + "island", + "islet", + "neighbourhood", + "suburb" + ], + "layout": { + "text-font": [ + "Roboto Condensed Italic" + ], + "text-transform": "uppercase", + "text-letter-spacing": 0.1, + "text-field": "{name_en}", + "text-max-width": 9, + "text-size": { + "base": 1.2, + "stops": [ + [ + 12, + 10 + ], + [ + 15, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 + } + }, + { + "id": "place_label_village", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849272561.29" + }, + "source": "osm2vectortiles", + "source-layer": "place_label", + "interactive": true, + "filter": [ + "==", + "type", + "village" + ], + "layout": { + "text-font": [ + "Roboto Regular" + ], + "text-field": "{name_en}", + "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_label_town", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849272561.29" + }, + "source": "osm2vectortiles", + "source-layer": "place_label", + "interactive": true, + "filter": [ + "==", + "type", + "town" + ], + "layout": { + "text-font": [ + "Roboto Regular" + ], + "text-field": "{name_en}", + "text-max-width": 8, + "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_label_city", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849272561.29" + }, + "source": "osm2vectortiles", + "source-layer": "place_label", + "minzoom": 5, + "interactive": true, + "filter": [ + "==", + "type", + "city" + ], + "layout": { + "text-font": [ + "Roboto Bold" + ], + "text-field": "{name_en}", + "text-max-width": 8, + "text-size": { + "base": 1.2, + "stops": [ + [ + 7, + 14 + ], + [ + 11, + 24 + ] + ] + } + }, + "paint": { + "text-color": "#333", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 + } + }, + { + "id": "marine_label_line_4", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + ">=", + "labelrank", + 4 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-letter-spacing": 0.2, + "symbol-placement": "line", + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 4, + 12 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_4", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "labelrank", + 4 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-max-width": 6, + "text-letter-spacing": 0.2, + "symbol-placement": "point", + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 4, + 12 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_line_3", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "labelrank", + 3 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-letter-spacing": 0.2, + "symbol-placement": "line", + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 4, + 14 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_point_3", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "labelrank", + 3 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-max-width": 5, + "text-letter-spacing": 0.2, + "symbol-placement": "point", + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 4, + 14 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_line_2", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "labelrank", + 2 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-letter-spacing": 0.2, + "symbol-placement": "line", + "text-size": { + "stops": [ + [ + 3, + 14 + ], + [ + 4, + 16 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_point_2", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "labelrank", + 2 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-max-width": 5, + "text-letter-spacing": 0.2, + "symbol-placement": "point", + "text-size": { + "stops": [ + [ + 3, + 14 + ], + [ + 4, + 16 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_line_1", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "labelrank", + 1 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-letter-spacing": 0.2, + "symbol-placement": "line", + "text-size": { + "stops": [ + [ + 3, + 18 + ], + [ + 4, + 22 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "marine_label_point_1", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849258897.3083" + }, + "source": "osm2vectortiles", + "source-layer": "marine_label", + "interactive": true, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "labelrank", + 1 + ] + ], + "layout": { + "text-font": [ + "Roboto Italic" + ], + "text-field": "{name_en}", + "text-max-width": 5, + "text-letter-spacing": 0.2, + "text-line-height": 1.6, + "symbol-placement": "point", + "text-offset": [ + 0, + 2.4 + ], + "text-size": { + "stops": [ + [ + 1, + 12 + ], + [ + 4, + 18 + ] + ] + } + }, + "paint": { + "text-color": "hsl(224, 43%, 56%)", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 0.75, + "text-halo-blur": 0.75 + } + }, + { + "id": "state_label", + "type": "symbol", + "metadata": { + "mapbox:group": "c3537858a10d9cbf2fab0a0067eaa969" + }, + "source": "osm2vectortiles", + "source-layer": "state_label", + "maxzoom": 6, + "interactive": true, + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-transform": "uppercase", + "text-size": { + "stops": [ + [ + 4, + 11 + ], + [ + 6, + 15 + ] + ] + } + }, + "paint": { + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 + } + }, + { + "id": "country_label_4", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849242106.713" + }, + "source": "osm2vectortiles", + "source-layer": "country_label", + "interactive": true, + "filter": [ + ">=", + "scalerank", + 4 + ], + "layout": { + "text-font": [ + "Roboto Bold" + ], + "text-field": "{name_en}", + "text-max-width": 6.25, + "text-transform": "none", + "text-size": { + "stops": [ + [ + 4, + 11 + ], + [ + 6, + 15 + ] + ] + } + }, + "paint": { + "text-color": "#334", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-blur": 1, + "text-halo-width": 1 + } + }, + { + "id": "country_label_3", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849242106.713" + }, + "source": "osm2vectortiles", + "source-layer": "country_label", + "interactive": true, + "filter": [ + "==", + "scalerank", + 3 + ], + "layout": { + "text-font": [ + "Roboto Bold" + ], + "text-field": "{name_en}", + "text-max-width": 6.25, + "text-transform": "none", + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 7, + 17 + ] + ] + } + }, + "paint": { + "text-color": "#334", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-blur": 1, + "text-halo-width": 1 + } + }, + { + "id": "country_label_2", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849242106.713" + }, + "source": "osm2vectortiles", + "source-layer": "country_label", + "interactive": true, + "filter": [ + "==", + "scalerank", + 2 + ], + "layout": { + "text-font": [ + "Roboto Bold" + ], + "text-field": "{name_en}", + "text-max-width": 6.25, + "text-transform": "none", + "text-size": { + "stops": [ + [ + 2, + 11 + ], + [ + 5, + 17 + ] + ] + } + }, + "paint": { + "text-color": "#334", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-blur": 1, + "text-halo-width": 1 + } + }, + { + "id": "country_label_1", + "type": "symbol", + "metadata": { + "mapbox:group": "1444849242106.713" + }, + "source": "osm2vectortiles", + "source-layer": "country_label", + "interactive": true, + "filter": [ + "==", + "scalerank", + 1 + ], + "layout": { + "text-font": [ + "Roboto Bold" + ], + "text-field": "{name_en}", + "text-max-width": 6.25, + "text-transform": "none", + "text-size": { + "stops": [ + [ + 1, + 11 + ], + [ + 4, + 17 + ] + ] + } + }, + "paint": { + "text-color": "#334", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-blur": 1, + "text-halo-width": 1 + } + } + ] +} \ No newline at end of file