Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated map tiles and style work

Christian Baueraa44723b7b13
diff --git a/deployment/manager/mapdata.mbtiles b/deployment/manager/mapdata.mbtiles
index d75937f07..4a44bda4e 100644
Binary files a/deployment/manager/mapdata.mbtiles and b/deployment/manager/mapdata.mbtiles differ
diff --git a/deployment/manager/mapsettings.json b/deployment/manager/mapsettings.json
index eee514bba..d46cc1a28 100644
--- a/deployment/manager/mapsettings.json
+++ b/deployment/manager/mapsettings.json
@@ -1,8 +1,8 @@
{
"center": [5.4774, 51.4370],
- "maxBounds": [5.2819, 51.3357, 5.7354, 51.5530],
- "zoom": 12,
- "maxZoom": 18,
+ "maxBounds": [5.343, 51.378, 5.591, 51.509],
+ "zoom": 13,
+ "maxZoom": 19,
"boxZoom": false,
"style": {
"sprite": "sprites/bright-v9",
@@ -15,428 +15,3927 @@
}
},
{
- "id": "landuse_agriculture",
+ "id": "landcover-glacier",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
+ "source": "vector_tiles",
+ "source-layer": "landcover",
+ "filter": [
+ "==",
+ "subclass",
+ "glacier"
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [0, 0.9], [10, 0.3]
+ ]
+ }
+ }
+ },
+ {
+ "id": "landuse-residential",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["==", "class", "agriculture"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "==",
+ "class",
+ "residential"
+ ],
"paint": {
- "fill-color": "#F9F4DC"
+ "fill-color": "#e0e0e0"
}
},
{
- "id": "landuse_glacier",
+ "id": "landuse-commercial",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["==", "class", "glacier"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "==",
+ "class",
+ "commercial"
+ ]
+ ],
"paint": {
- "fill-color": "#C7E3E5"
+ "fill-color": "#e0e0e0"
}
},
{
- "id": "landuse_industrial",
+ "id": "landuse-industrial",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["in", "class", "industrial", "hospital"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "==",
+ "class",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#e0e0e0"
+ }
+ },
+ {
+ "id": "park",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
+ "source": "vector_tiles",
+ "source-layer": "park",
+ "filter": [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ "paint": {
+ "fill-color": "#d8e8c8",
+ "fill-opacity": {
+ "base": 1.8,
+ "stops": [
+ [9, 0.5], [12, 0.2]
+ ]
+ }
+ }
+ },
+ {
+ "id": "park-outline",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
+ "source": "vector_tiles",
+ "source-layer": "park",
+ "filter": [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ "layout": {},
"paint": {
- "fill-color": "#cfcfcf"
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [6, "hsla(96, 40%, 49%, 0.36)"], [8, "hsla(96, 40%, 49%, 0.66)"]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
}
},
{
- "id": "landuse_cemetery",
+ "id": "landuse-cemetery",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["==", "class", "cemetery"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "==",
+ "class",
+ "cemetery"
+ ],
"paint": {
- "fill-color": "#C9E3A8"
+ "fill-color": "#e0e0e0"
}
},
{
- "id": "landuse_grass",
+ "id": "landuse-hospital",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["in", "class", "park", "grass"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "==",
+ "class",
+ "hospital"
+ ],
"paint": {
- "fill-color": "#d2edae"
+ "fill-color": "#e0e0e0"
}
},
{
- "id": "landuse_wood",
+ "id": "landuse-school",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["in", "class", "wood", "scrub"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "==",
+ "class",
+ "school"
+ ],
"paint": {
- "fill-color": "#CAE5A9"
+ "fill-color": "#e0e0e0"
}
},
{
- "id": "landuse_sand",
+ "id": "landuse-railway",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
"source-layer": "landuse",
- "filter": ["all", ["in", "class", "sand", "pitch"], ["==", "$type", "Polygon"]],
+ "filter": [
+ "==",
+ "class",
+ "railway"
+ ],
"paint": {
- "fill-color": "#E5E1AD"
+ "fill-color": "hsla(30, 19%, 90%, 0.4)"
}
},
{
- "id": "landuse_overlay",
+ "id": "landcover-wood",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
- "source-layer": "landuse_overlay",
+ "source-layer": "landcover",
+ "filter": [
+ "==",
+ "class",
+ "wood"
+ ],
"paint": {
- "fill-color": "#B5BBC3"
+ "fill-color": "#6a4",
+ "fill-opacity": 0.1,
+ "fill-outline-color": "hsla(0, 0%, 0%, 0.03)",
+ "fill-antialias": {
+ "base": 1,
+ "stops": [
+ [0, false], [9, true]
+ ]
+ }
}
},
{
- "id": "water",
+ "id": "landcover-grass",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
"source": "vector_tiles",
- "source-layer": "water",
+ "source-layer": "landcover",
+ "filter": [
+ "==",
+ "class",
+ "grass"
+ ],
"paint": {
- "fill-color": "#a0cfdf"
+ "fill-color": "#d8e8c8",
+ "fill-opacity": 1
}
},
{
- "id": "water_offset",
- "ref": "water",
+ "id": "landcover-grass-park",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849388993.3071"
+ },
+ "source": "vector_tiles",
+ "source-layer": "park",
+ "filter": [
+ "==",
+ "class",
+ "public_park"
+ ],
"paint": {
- "fill-color": "white",
- "fill-opacity": 0.3,
- "fill-translate": [0, 2.5]
+ "fill-color": "#d8e8c8",
+ "fill-opacity": 0.8
}
},
{
- "id": "waterway",
+ "id": "waterway-other",
"type": "line",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
"source-layer": "waterway",
+ "filter": [
+ "!in",
+ "class",
+ "canal",
+ "river",
+ "stream"
+ ],
+ "layout": {
+ "line-cap": "round"
+ },
"paint": {
- "line-color": "#a0cfdf",
+ "line-color": "#bad4ff",
"line-width": {
- "base": 1.4,
- "stops": [[8, 4], [20, 15]]
+ "base": 1.3,
+ "stops": [
+ [13, 0.5], [20, 2]
+ ]
}
}
},
{
- "id": "waterway_label",
- "type": "symbol",
+ "id": "waterway-stream-canal",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
- "source-layer": "waterway_label",
+ "source-layer": "waterway",
+ "filter": [
+ "in",
+ "class",
+ "canal",
+ "stream"
+ ],
"layout": {
- "symbol-placement": "line",
- "text-field": "{name_en}",
- "text-font": ["Open Sans Semibold"],
- "text-transform": "uppercase",
- "text-size": {
- "base": 5,
- "stops": [[10, 15], [20, 30]]
- }
+ "line-cap": "round"
},
"paint": {
- "text-color": "#3B7BE7",
- "text-halo-color": "rgba(255,255,255,0.2)",
- "text-halo-width": 2,
- "text-halo-blur": 2
+ "line-color": "#bad4ff",
+ "line-width": {
+ "base": 1.3,
+ "stops": [
+ [13, 0.5], [20, 6]
+ ]
+ }
}
},
{
- "id": "barrier_line",
+ "id": "waterway-river",
"type": "line",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
- "source-layer": "barrier_line",
- "minzoom": 11,
+ "source-layer": "waterway",
+ "filter": [
+ "==",
+ "class",
+ "river"
+ ],
+ "layout": {
+ "line-cap": "round"
+ },
"paint": {
- "line-color": "#D3ABB1",
+ "line-color": "#bad4ff",
"line-width": {
- "base": 3,
- "stops": [[11, 2], [20, 5]]
+ "base": 1.2,
+ "stops": [
+ [10, 0.8], [20, 6]
+ ]
}
}
},
{
- "id": "aeroway_fill",
+ "id": "water-offset",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "filter": ["==", "$type", "Polygon"],
- "minzoom": 11,
+ "source-layer": "water",
+ "maxzoom": 8,
+ "filter": [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
"paint": {
- "fill-color": "#ccc",
- "fill-opacity": 0.3
+ "fill-opacity": 1,
+ "fill-color": "#bad4ff",
+ "fill-translate": {
+ "base": 1,
+ "stops": [
+ [6, [2, 0]], [8, [0, 0]]
+ ]
+ }
}
},
{
- "id": "aeroway_runway",
- "type": "line",
+ "id": "water",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "filter": ["all", ["==", "$type", "LineString"], ["==", "type", "runway"]],
- "minzoom": 11,
+ "source-layer": "water",
+ "layout": {
+ "visibility": "visible"
+ },
"paint": {
- "line-color": "#888",
- "line-width": {
- "base": 5,
- "stops": [[11, 4], [20, 10]]
- }
+ "fill-color": "#bad4ff"
}
},
{
- "id": "aeroway_taxiway",
- "type": "line",
+ "id": "water-pattern",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
"source": "vector_tiles",
- "source-layer": "aeroway",
- "filter": ["all", ["==", "$type", "LineString"], ["==", "type", "taxiway"]],
- "minzoom": 11,
+ "source-layer": "water",
+ "layout": {
+ "visibility": "visible"
+ },
"paint": {
- "line-color": "#888",
- "line-width": {
- "base": 3,
- "stops": [[11, 2], [20, 5]]
+ "fill-translate": [
+ 0,
+ 2.5
+ ],
+ "fill-pattern": "wave"
+ }
+ },
+ {
+ "id": "landcover-ice-shelf",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849382550.77"
+ },
+ "source": "vector_tiles",
+ "source-layer": "landcover",
+ "filter": [
+ "==",
+ "subclass",
+ "ice_shelf"
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [0, 0.9], [10, 0.3]
+ ]
}
}
},
{
"id": "building",
"type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849364238.8171"
+ },
"source": "vector_tiles",
"source-layer": "building",
"paint": {
- "fill-color": "#fff"
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [15.5, "#d0d0d0"], [16, "#d3d3d3"]
+ ]
+ },
+ "fill-antialias": true
}
},
{
- "id": "building_offset",
- "ref": "building",
+ "id": "building-top",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849364238.8171"
+ },
+ "source": "vector_tiles",
+ "source-layer": "building",
+ "layout": {
+ "visibility": "visible"
+ },
"paint": {
- "fill-color": "#ccc",
- "fill-opacity": 0.3,
- "fill-translate": [0, 2.5]
+ "fill-translate": {
+ "base": 1,
+ "stops": [
+ [14, [0, 0]], [16, [-2, -2]]
+ ]
+ },
+ "fill-outline-color": "#aaa",
+ "fill-color": "#d5d5d5",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [13, 0], [16, 1]
+ ]
+ }
}
},
{
- "id": "road_minor",
- "type": "line",
+ "id": "housenumber",
+ "type": "symbol",
"source": "vector_tiles",
- "source-layer": "road",
+ "source-layer": "housenumber",
+ "minzoom": 18,
"filter": [
- "all", ["==", "$type", "LineString"],
- ["in", "class", "motorway_link", "street", "street_limited", "service", "driveway", "path"]
+ "==",
+ "$type",
+ "Point"
],
"layout": {
- "line-cap": "round",
- "line-join": "round"
+ "text-field": "{housenumber}",
+ "text-size": 10,
+ "text-font": [
+ "Open Sans Italic"
+ ]
},
"paint": {
- "line-color": "#bbb",
- "line-width": {
- "base": 1.8,
- "stops": [[4, 1], [20, 30]]
- }
+ "text-color": "#666"
}
},
{
- "id": "road_major",
+ "id": "tunnel-service-track-casing",
"type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "road",
- "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "motorway", "main"]],
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "service",
+ "track"
+ ]
+ ],
"layout": {
- "line-cap": "round",
"line-join": "round"
},
"paint": {
- "line-color": "#b0b0b0",
+ "line-color": "#aaa",
+ "line-dasharray": [
+ 0.5,
+ 0.25
+ ],
"line-width": {
- "base": 1.4,
- "stops": [[6, 0.5], [20, 30]]
+ "base": 1.2,
+ "stops": [
+ [15, 1], [16, 4], [20, 11]
+ ]
}
}
},
{
- "id": "road_major_rail",
+ "id": "tunnel-minor-casing",
"type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "road",
- "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "major_rail"]],
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "minor"
+ ]
+ ],
"layout": {
- "line-cap": "round",
"line-join": "round"
},
"paint": {
- "line-color": "#ccc",
+ "line-color": "#aaa",
+ "line-opacity": {
+ "stops": [
+ [
+ 12,
+ 0
+ ],
+ [
+ 12.5,
+ 1
+ ]
+ ]
+ },
"line-width": {
- "base": 1.4,
- "stops": [[6, 0.5], [20, 10]]
+ "base": 1.2,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 13,
+ 1
+ ],
+ [
+ 14,
+ 4
+ ],
+ [
+ 20,
+ 15
+ ]
+ ]
}
}
},
{
- "id": "road_major_rail_hatching",
- "ref": "road_major_rail",
+ "id": "tunnel-secondary-tertiary-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
"paint": {
- "line-color": "#888",
+ "line-color": "#aaa",
+ "line-opacity": 1,
"line-width": {
- "base": 1.4,
- "stops": [[6, 0.5], [20, 10]]
- },
- "line-dasharray": [3, 3]
+ "base": 1.2,
+ "stops": [
+ [
+ 8,
+ 1.5
+ ],
+ [
+ 20,
+ 17
+ ]
+ ]
+ }
}
},
{
- "id": "admin_country",
+ "id": "tunnel-trunk-primary-casing",
"type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "admin",
- "filter": ["all", ["==", "$type", "LineString"], ["all", ["<=", "admin_level", 2], ["==", "maritime", 0]]],
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ],
"layout": {
- "line-cap": "round",
"line-join": "round"
},
"paint": {
- "line-color": "#8b8a8a",
+ "line-color": "#aaa",
"line-width": {
- "base": 1.3,
- "stops": [[3, 0.5], [22, 15]]
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0.4
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 22
+ ]
+ ]
}
}
},
{
- "id": "road_label",
- "type": "symbol",
+ "id": "tunnel-motorway-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "road_label",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
"layout": {
- "symbol-placement": "line",
- "text-field": "{name_en}",
- "text-font": ["Open Sans Semibold"],
- "text-transform": "uppercase",
- "text-letter-spacing": 0.1,
- "text-size": {
- "base": 2.4,
- "stops": [[10, 10], [20, 20]]
- }
+ "line-join": "round",
+ "visibility": "visible"
},
"paint": {
- "text-color": "#666",
- "text-halo-color": "rgba(255,255,255,0.6)",
- "text-halo-width": 5
+ "line-color": "#aaa",
+ "line-dasharray": [
+ 0.5,
+ 0.25
+ ],
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0.4
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 22
+ ]
+ ]
+ }
}
},
{
- "id": "housenum_label",
- "type": "symbol",
- "source": "vector_tiles",
- "source-layer": "housenum_label",
- "minzoom": 17,
- "layout": {
- "text-field": "{house_num}",
- "text-font": ["Open Sans Semibold"],
- "text-transform": "uppercase",
- "text-letter-spacing": 0.1,
- "text-size": {
- "base": 2.4,
- "stops": [[10, 8], [20, 15]]
- }
+ "id": "tunnel-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
},
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
"paint": {
- "text-color": "#aaa"
+ "line-color": "#555",
+ "line-dasharray": [
+ 1.5,
+ 0.75
+ ],
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 15,
+ 1.2
+ ],
+ [
+ 20,
+ 4
+ ]
+ ]
+ }
}
},
{
- "id": "poi_label",
- "type": "symbol",
+ "id": "tunnel-service-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "poi_label",
- "minzoom": 15,
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "service",
+ "track"
+ ]
+ ],
"layout": {
- "text-field": "{name_en}",
- "text-font": ["Open Sans Italic"],
- "text-transform": "uppercase",
- "text-letter-spacing": 0.1,
- "text-size": {
- "base": 2.4,
- "stops": [[10, 10], [20, 20]]
- }
+ "line-join": "round"
},
"paint": {
- "text-color": "rgba(110,110,110,0.9)",
- "text-halo-color": "rgba(255,255,255,0.6)",
- "text-halo-width": 5,
- "text-halo-blur": 5
+ "line-color": "#fff",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 15.5,
+ 0
+ ],
+ [
+ 16,
+ 2
+ ],
+ [
+ 20,
+ 7.5
+ ]
+ ]
+ }
}
- }, {
- "id": "place_label_other",
- "type": "symbol",
+ },
+ {
+ "id": "tunnel-minor",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "place_label",
+ "source-layer": "transportation",
"filter": [
- "all", ["==", "$type", "Point"], ["in", "type", "town", "village", "hamlet", "suburb", "neighbourhood"]
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "minor_road"
+ ]
],
- "minzoom": 8,
"layout": {
- "text-field": "{name_en}",
- "text-font": ["Open Sans Semibold"],
- "text-max-width": 10,
- "text-size": {
- "stops": [[6, 12], [12, 16]]
- }
+ "line-join": "round"
},
"paint": {
- "text-color": "rgba(110,110,110,0.9)",
- "text-halo-color": "rgba(255,255,255,0.4)",
- "text-halo-width": 2,
- "text-halo-blur": 1
+ "line-color": "#fff",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 13.5,
+ 0
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
}
},
{
- "id": "place_label_city",
- "type": "symbol",
+ "id": "tunnel-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "place_label",
- "filter": ["all", ["==", "$type", "Point"], ["==", "type", "city"]],
- "maxzoom": 16,
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
"layout": {
- "text-field": "{name_en}",
- "text-font": ["Open Sans Bold"],
- "text-max-width": 20,
- "text-size": {
- "stops": [[3, 12], [8, 25]]
- }
+ "line-join": "round"
},
"paint": {
- "text-color": "rgba(110,110,110,0.9)",
- "text-halo-color": "rgba(255,255,255,0.7)",
- "text-halo-width": 2,
- "text-halo-blur": 1
+ "line-color": "#444",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 10
+ ]
+ ]
+ }
}
},
{
- "id": "country_label",
- "type": "symbol",
+ "id": "tunnel-trunk-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
"source": "vector_tiles",
- "source-layer": "country_label",
- "filter": ["==", "$type", "Point"],
- "maxzoom": 12,
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ],
"layout": {
- "text-field": "{name_en}",
- "text-font": ["Open Sans Regular"],
- "text-max-width": 20,
- "text-size": {
- "stops": [[3, 14], [8, 22]]
- }
+ "line-join": "round"
},
"paint": {
- "text-color": "rgba(110,110,110,0.9)",
- "text-halo-color": "rgba(255,255,255,0.75)",
- "text-halo-width": 1,
- "text-halo-blur": 1
+ "line-color": "#fff4c6",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#aaa",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-railway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849354174.1904"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-color": "#bbb",
+ "line-width": {
+ "base": 1.4,
+ "stops": [[14, 0.4], [15, 0.75], [20, 2]]
+ },
+ "line-dasharray": [
+ 2,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "aeroway-taxiway-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "in",
+ "class",
+ "taxiway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "rgba(153, 153, 153, 1)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 11,
+ 2
+ ],
+ [
+ 17,
+ 12
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "aeroway-runway-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "in",
+ "class",
+ "runway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#aaa",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 11,
+ 5
+ ],
+ [
+ 17,
+ 55
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "aeroway-area",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 4,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "in",
+ "class",
+ "runway",
+ "taxiway"
+ ]
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [13, 0], [14, 1]
+ ]
+ },
+ "fill-color": "#f0f0f0"
+ }
+ },
+ {
+ "id": "aeroway-taxiway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 4,
+ "filter": [
+ "all",
+ [
+ "in",
+ "class",
+ "taxiway"
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#e9e9e9",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [11, 1], [17, 10]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [11, 0], [12, 1]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-runway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "aeroway",
+ "minzoom": 4,
+ "filter": [
+ "all",
+ [
+ "in",
+ "class",
+ "runway"
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#f0f0f0",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [11, 4], [17, 50]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [11, 0], [12, 1]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-area",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-color": "hsla(0, 0%, 89%, 0.56)",
+ "fill-outline-color": "#cfcdca",
+ "fill-opacity": 0.9,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "highway-motorway-link-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "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": "highway-link-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link",
+ "trunk_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": "highway-minor-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!=",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "minor",
+ "service",
+ "track"
+ ]
+ ]
+ ],
+ "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,
+ 15
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-secondary-tertiary-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#999999",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 8,
+ 1.5
+ ],
+ [
+ 20,
+ 17
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-trunk-primary-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 5,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#a0a0a0",
+ "line-opacity": {
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 1
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 22
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-motorway-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 4,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#a0a0a0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 4,
+ 0
+ ],
+ [
+ 5,
+ 0.4
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 22
+ ]
+ ]
+ },
+ "line-opacity": {
+ "stops": [
+ [
+ 4,
+ 0
+ ],
+ [
+ 5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "paint": {
+ "line-color": "#d0d0d0",
+ "line-dasharray": [
+ 1.5,
+ 0.75
+ ],
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 15,
+ 1.2
+ ],
+ [
+ 20,
+ 4
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-motorway-link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12.5,
+ 0
+ ],
+ [
+ 13,
+ 1.5
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12.5,
+ 0
+ ],
+ [
+ 13,
+ 1.5
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-minor",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!=",
+ "brunnel",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "minor",
+ "service",
+ "track"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#d9d9d9",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 13.5,
+ 0
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#b9b9b9",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 8,
+ 0.5
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-trunk-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "highway-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "minzoom": 5,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round",
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "railway-service",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "rail"
+ ],
+ [
+ "has",
+ "service"
+ ]
+ ]
+ ],
+ "paint": {
+ "line-color": "hsla(0, 0%, 73%, 0.77)",
+ "line-width": {
+ "base": 1.4,
+ "stops": [
+ [
+ 14,
+ 0.4
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "railway-service-hatching",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "rail"
+ ],
+ [
+ "has",
+ "service"
+ ]
+ ]
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "line-color": "hsla(0, 0%, 73%, 0.68)",
+ "line-dasharray": [
+ 0.2,
+ 8
+ ],
+ "line-width": {
+ "base": 1.4,
+ "stops": [
+ [
+ 14.5,
+ 0
+ ],
+ [
+ 15,
+ 2
+ ],
+ [
+ 20,
+ 6
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "railway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!has",
+ "service"
+ ],
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "rail"
+ ]
+ ]
+ ],
+ "paint": {
+ "line-color": "#bbb",
+ "line-width": {
+ "base": 1.4,
+ "stops": [
+ [
+ 14,
+ 0.4
+ ],
+ [
+ 15,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "railway-hatching",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849345966.4436"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!has",
+ "service"
+ ],
+ [
+ "!in",
+ "brunnel",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "rail"
+ ]
+ ]
+ ],
+ "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": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#777",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12,
+ 1
+ ],
+ [
+ 13,
+ 3
+ ],
+ [
+ 14,
+ 4
+ ],
+ [
+ 20,
+ 15
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-link-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#666",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12,
+ 1
+ ],
+ [
+ 13,
+ 3
+ ],
+ [
+ 14,
+ 4
+ ],
+ [
+ 20,
+ 15
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#777",
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 8,
+ 1.5
+ ],
+ [
+ 20,
+ 28
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk-primary-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#777",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0.4
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 26
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#777",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0.4
+ ],
+ [
+ 6,
+ 0.6
+ ],
+ [
+ 7,
+ 1.5
+ ],
+ [
+ 20,
+ 22
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-path-casing",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "paint": {
+ "line-color": "#777",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 15,
+ 1.2
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "paint": {
+ "line-color": "#ddd",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 15,
+ 1.2
+ ],
+ [
+ 20,
+ 4
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1.5,
+ 0.75
+ ]
+ }
+ },
+ {
+ "id": "bridge-motorway-link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12.5,
+ 0
+ ],
+ [
+ 13,
+ 1.5
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#b0b0b0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12.5,
+ 0
+ ],
+ [
+ 13,
+ 1.5
+ ],
+ [
+ 14,
+ 2.5
+ ],
+ [
+ 20,
+ 11.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#f5f5f5",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 20
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#f0f0f0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#f0f0f0",
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 6.5,
+ 0
+ ],
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 20,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-railway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-color": "#f0f0f0",
+ "line-width": {
+ "base": 1.4,
+ "stops": [
+ [
+ 14,
+ 0.4
+ ],
+ [
+ 15,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-railway-hatching",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444849334699.1902"
+ },
+ "source": "vector_tiles",
+ "source-layer": "transportation",
+ "filter": [
+ "all",
+ [
+ "==",
+ "brunnel",
+ "bridge"
+ ],
+ [
+ "==",
+ "class",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-color": "#bbb",
+ "line-dasharray": [
+ 0.2,
+ 8
+ ],
+ "line-width": {
+ "base": 1.4,
+ "stops": [
+ [
+ 14.5,
+ 0
+ ],
+ [
+ 15,
+ 3
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "boundary-water",
+ "type": "line",
+ "source": "vector_tiles",
+ "source-layer": "boundary",
+ "filter": [
+ "all",
+ [
+ "in",
+ "admin_level",
+ 2,
+ 4
+ ],
+ [
+ "==",
+ "maritime",
+ 1
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "#8ca0c2",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [0, 0.6], [4, 1.4], [5, 2], [12, 8]
+ ]
+ },
+ "line-opacity": {
+ "stops": [
+ [6, 0.6], [10, 1]
+ ]
+ }
+ }
+ },
+ {
+ "id": "waterway-name",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "waterway",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "has",
+ "name"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Italic"
+ ],
+ "text-size": 14,
+ "text-field": "{name}",
+ "text-max-width": 5,
+ "text-rotation-alignment": "map",
+ "symbol-placement": "line",
+ "text-letter-spacing": 0.2,
+ "symbol-spacing": 350
+ },
+ "paint": {
+ "text-color": "#687692",
+ "text-halo-width": 1.5,
+ "text-halo-color": "rgba(255,255,255,0.7)"
+ }
+ },
+ {
+ "id": "water-name-lakeline",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "water_name",
+ "filter": [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Italic"
+ ],
+ "text-size": 14,
+ "text-field": "{name}",
+ "text-max-width": 5,
+ "text-rotation-alignment": "map",
+ "symbol-placement": "line",
+ "symbol-spacing": 350,
+ "text-letter-spacing": 0.2
+ },
+ "paint": {
+ "text-color": "#687692",
+ "text-halo-width": 1.5,
+ "text-halo-color": "rgba(255,255,255,0.7)"
+ }
+ },
+ {
+ "id": "water-name-ocean",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "water_name",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "==",
+ "class",
+ "ocean"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Italic"
+ ],
+ "text-size": 14,
+ "text-field": "{name}",
+ "text-max-width": 5,
+ "text-rotation-alignment": "map",
+ "symbol-placement": "point",
+ "symbol-spacing": 350,
+ "text-letter-spacing": 0.2
+ },
+ "paint": {
+ "text-color": "#687692",
+ "text-halo-width": 1.5,
+ "text-halo-color": "rgba(255,255,255,0.7)"
+ }
+ },
+ {
+ "id": "water-name-other",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "water_name",
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "!in",
+ "class",
+ "ocean"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Italic"
+ ],
+ "text-size": {
+ "stops": [
+ [0, 10], [6, 14]
+ ]
+ },
+ "text-field": "{name}",
+ "text-max-width": 5,
+ "text-rotation-alignment": "map",
+ "symbol-placement": "point",
+ "symbol-spacing": 350,
+ "text-letter-spacing": 0.2,
+ "visibility": "visible"
+ },
+ "paint": {
+ "text-color": "#687692",
+ "text-halo-width": 1.5,
+ "text-halo-color": "rgba(255,255,255,0.7)"
+ }
+ },
+ {
+ "id": "poi-level-3",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "poi",
+ "minzoom": 16,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ ">=",
+ "rank",
+ 25
+ ]
+ ],
+ "layout": {
+ "text-padding": 2,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "text-anchor": "top",
+ "icon-image": "{class}_11",
+ "text-field": "{name}",
+ "text-offset": [
+ 0,
+ 0.6
+ ],
+ "text-size": 12,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-halo-blur": 0.5,
+ "text-color": "#999",
+ "text-halo-width": 1,
+ "text-halo-color": "#ffffff"
+ }
+ },
+ {
+ "id": "poi-level-2",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "poi",
+ "minzoom": 15,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "all",
+ [
+ "<=",
+ "rank",
+ 24
+ ],
+ [
+ ">=",
+ "rank",
+ 15
+ ]
+ ]
+ ],
+ "layout": {
+ "text-padding": 2,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "text-anchor": "top",
+ "icon-image": "{class}_11",
+ "text-field": "{name}",
+ "text-offset": [
+ 0,
+ 0.6
+ ],
+ "text-size": 12,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-halo-blur": 0.5,
+ "text-color": "#999",
+ "text-halo-width": 1,
+ "text-halo-color": "#ffffff"
+ }
+ },
+ {
+ "id": "poi-level-1",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "poi",
+ "minzoom": 14,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "all",
+ [
+ "<=",
+ "rank",
+ 14
+ ],
+ [
+ "has",
+ "name"
+ ]
+ ]
+ ],
+ "layout": {
+ "text-padding": 2,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "text-anchor": "top",
+ "icon-image": "{class}_11",
+ "text-field": "{name}",
+ "text-offset": [
+ 0,
+ 0.6
+ ],
+ "text-size": 12,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-halo-blur": 0.5,
+ "text-color": "#999",
+ "text-halo-width": 1,
+ "text-halo-color": "#ffffff"
+ }
+ },
+ {
+ "id": "highway-name-path",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 15.5,
+ "filter": [
+ "==",
+ "class",
+ "path"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 14,
+ 13
+ ]
+ ]
+ },
+ "text-font": [
+ "Open Sans Regular"
+ ],
+ "text-field": "{name}",
+ "symbol-placement": "line",
+ "text-rotation-alignment": "map"
+ },
+ "paint": {
+ "text-halo-color": "#f8f4f0",
+ "text-color": "#444",
+ "text-halo-width": 0.5
+ }
+ },
+ {
+ "id": "highway-name-minor",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 15,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "class",
+ "minor",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 14,
+ 13
+ ]
+ ]
+ },
+ "text-font": [
+ "Open Sans Regular"
+ ],
+ "text-field": "{name}",
+ "symbol-placement": "line",
+ "text-rotation-alignment": "map"
+ },
+ "paint": {
+ "text-halo-blur": 0.5,
+ "text-color": "#666",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "highway-name-major",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 12.2,
+ "filter": [
+ "in",
+ "class",
+ "primary",
+ "secondary",
+ "tertiary",
+ "trunk"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 14,
+ 13
+ ]
+ ]
+ },
+ "text-font": [
+ "Open Sans Regular"
+ ],
+ "text-field": "{name}",
+ "symbol-placement": "line",
+ "text-rotation-alignment": "map"
+ },
+ "paint": {
+ "text-halo-blur": 0.5,
+ "text-color": "#666",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "highway-shield",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 8,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "ref_length",
+ 6
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "!in",
+ "network",
+ "us-interstate",
+ "us-highway",
+ "us-state"
+ ]
+ ],
+ "layout": {
+ "text-size": 12,
+ "icon-image": "road_{ref_length}",
+ "icon-rotation-alignment": "viewport",
+ "symbol-spacing": 200,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "symbol-placement": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "point"
+ ],
+ [
+ 11,
+ "line"
+ ]
+ ]
+ },
+ "text-rotation-alignment": "viewport",
+ "icon-size": 1,
+ "text-field": "{ref}"
+ },
+ "paint": {
+ "text-color": "#666"
+ }
+ },
+ {
+ "id": "highway-shield-us-interstate",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 7,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "ref_length",
+ 6
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "network",
+ "us-interstate"
+ ]
+ ],
+ "layout": {
+ "text-size": 10,
+ "icon-image": "{network}_{ref_length}",
+ "icon-rotation-alignment": "viewport",
+ "symbol-spacing": 200,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "symbol-placement": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "point"
+ ],
+ [
+ 7,
+ "line"
+ ],
+ [
+ 8,
+ "line"
+ ]
+ ]
+ },
+ "text-rotation-alignment": "viewport",
+ "icon-size": 1,
+ "text-field": "{ref}"
+ },
+ "paint": {
+ "text-color": "rgba(0, 0, 0, 1)"
+ }
+ },
+ {
+ "id": "highway-shield-us-other",
+ "type": "symbol",
+ "source": "vector_tiles",
+ "source-layer": "transportation_name",
+ "minzoom": 9,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "ref_length",
+ 6
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "network",
+ "us-highway",
+ "us-state"
+ ]
+ ],
+ "layout": {
+ "text-size": 10,
+ "icon-image": "{network}_{ref_length}",
+ "icon-rotation-alignment": "viewport",
+ "symbol-spacing": 200,
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "symbol-placement": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "point"
+ ],
+ [
+ 11,
+ "line"
+ ]
+ ]
+ },
+ "text-rotation-alignment": "viewport",
+ "icon-size": 1,
+ "text-field": "{ref}"
+ },
+ "paint": {
+ "text-color": "rgba(0, 0, 0, 1)"
+ }
+ },
+ {
+ "id": "place-other",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "!in",
+ "class",
+ "city",
+ "town",
+ "village"
+ ],
+ "layout": {
+ "text-letter-spacing": 0.1,
+ "text-size": {
+ "base": 1.2,
+ "stops": [
+ [
+ 12,
+ 10
+ ],
+ [
+ 15,
+ 14
+ ]
+ ]
+ },
+ "text-font": [
+ "Open Sans Bold"
+ ],
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#888",
+ "text-halo-width": 1.2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-village",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "==",
+ "class",
+ "village"
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Regular"
+ ],
+ "text-size": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 12
+ ],
+ [
+ 15,
+ 22
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "#444",
+ "text-halo-width": 1.2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-town",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "==",
+ "class",
+ "town"
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Regular"
+ ],
+ "text-size": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 14
+ ],
+ [
+ 15,
+ 24
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "#444",
+ "text-halo-width": 1.2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-city",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "all",
+ [
+ "!=",
+ "capital",
+ 2
+ ],
+ [
+ "==",
+ "class",
+ "city"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "text-size": {
+ "base": 1.2,
+ "stops": [
+ [
+ 7,
+ 14
+ ],
+ [
+ 11,
+ 24
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "#666",
+ "text-halo-width": 1.2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-city-capital",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "all",
+ [
+ "==",
+ "capital",
+ 2
+ ],
+ [
+ "==",
+ "class",
+ "city"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Semibold"
+ ],
+ "text-size": {
+ "base": 1.2,
+ "stops": [
+ [
+ 7,
+ 14
+ ],
+ [
+ 11,
+ 24
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 8,
+ "icon-image": "star_11",
+ "text-offset": [
+ 0.4,
+ 0
+ ],
+ "icon-size": 0.8,
+ "text-anchor": "left"
+ },
+ "paint": {
+ "text-color": "#444",
+ "text-halo-width": 1.2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-country-3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "country"
+ ],
+ [
+ ">=",
+ "rank",
+ 3
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Bold"
+ ],
+ "text-field": "{name_en}",
+ "text-size": {
+ "stops": [
+ [
+ 3,
+ 11
+ ],
+ [
+ 7,
+ 17
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-max-width": 6.25
+ },
+ "paint": {
+ "text-halo-blur": 1,
+ "text-color": "#444",
+ "text-halo-width": 2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-country-2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "country"
+ ],
+ [
+ "==",
+ "rank",
+ 2
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Bold"
+ ],
+ "text-field": "{name_en}",
+ "text-size": {
+ "stops": [
+ [
+ 2,
+ 11
+ ],
+ [
+ 5,
+ 17
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-max-width": 6.25
+ },
+ "paint": {
+ "text-halo-blur": 1,
+ "text-color": "#444",
+ "text-halo-width": 2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-country-1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "country"
+ ],
+ [
+ "==",
+ "rank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Bold"
+ ],
+ "text-field": "{name_en}",
+ "text-size": {
+ "stops": [
+ [
+ 1,
+ 11
+ ],
+ [
+ 4,
+ 17
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-max-width": 6.25
+ },
+ "paint": {
+ "text-halo-blur": 1,
+ "text-color": "#444",
+ "text-halo-width": 2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
+ }
+ },
+ {
+ "id": "place-continent",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444849242106.713"
+ },
+ "source": "vector_tiles",
+ "source-layer": "place",
+ "maxzoom": 1,
+ "filter": [
+ "==",
+ "class",
+ "continent"
+ ],
+ "layout": {
+ "text-font": [
+ "Open Sans Bold"
+ ],
+ "text-field": "{name_en}",
+ "text-size": 14,
+ "text-max-width": 6.25,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-halo-blur": 1,
+ "text-color": "#444",
+ "text-halo-width": 2,
+ "text-halo-color": "rgba(255,255,255,0.8)"
}
}
]
diff --git a/manager/client/src/main/java/org/openremote/manager/client/widget/MapWidget.java b/manager/client/src/main/java/org/openremote/manager/client/widget/MapWidget.java
index 07c5a028d..7800fcb93 100644
--- a/manager/client/src/main/java/org/openremote/manager/client/widget/MapWidget.java
+++ b/manager/client/src/main/java/org/openremote/manager/client/widget/MapWidget.java
@@ -144,7 +144,7 @@ public class MapWidget extends FlowPanel {
}
mapOptions.put("container", hostElementId);
- mapOptions.put("attributionControl", false);
+ mapOptions.put("attributionControl", true);
mapboxMap = new MapboxMap(mapOptions.asNativeObject());
mapboxMap.on(EventType.LOAD, eventData -> {
diff --git a/manager/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy b/manager/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
index 1a79e80f4..968e62e72 100644
--- a/manager/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
+++ b/manager/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
@@ -42,7 +42,6 @@ class MapResourceTest extends Specification implements ManagerContainerTrait {
def json = new JsonSlurper().parseText(mapSettings.toJson());
json.center.size() == 2;
json.maxBounds.size() == 4;
- json.maxZoom == 18;
json.style != null;
cleanup: "the server should be stopped"