remove trailing whitespace + use local image sprite
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 4,
|
||||
"sprite": "https://www.mapbox.com/mapbox-gl-styles/sprites/bright",
|
||||
"sprite": "img/sprite",
|
||||
"glyphs": "https://mapbox.s3.amazonaws.com/gl-glyphs-256/{fontstack}/{range}.pbf",
|
||||
"constants": {
|
||||
"@name": "{name_en}",
|
||||
@@ -46,7 +46,7 @@
|
||||
"@tunnel_line_dasharray": [{
|
||||
"base": 1.5, "stops": [[12, 6], [20, 9]]
|
||||
}, {
|
||||
"base": 1.5, "stops": [[12, 2], [20, 3]]
|
||||
"base": 1.5, "stops": [[12, 2], [20, 3]]
|
||||
}],
|
||||
"@motorway_width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]},
|
||||
"@motorway_casing_width": {"base": 1.2, "stops": [[5, 0.4], [6, 0.6], [7, 1.5], [20, 22]]},
|
||||
@@ -56,14 +56,14 @@
|
||||
"@main_casing_width": {"base": 1.2, "stops": [[5, 0.1], [6, 0.2], [7, 1.5], [20, 18]]},
|
||||
"@street_width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]},
|
||||
"@street_casing_width": {"base": 1.2, "stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]},
|
||||
"@street_casing_opacity": {"stops": [[12, 0], [12.5, 1]]},
|
||||
"@street_casing_opacity": {"stops": [[12, 0], [12.5, 1]]},
|
||||
"@service_casing_width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]},
|
||||
"@service_width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]},
|
||||
"@path_width": {"base": 1.2, "stops": [[15, 1.2], [20, 4]]},
|
||||
"@path_line_dasharray": [{
|
||||
"base": 1.2, "stops": [[15, 2], [20, 4]]
|
||||
},{
|
||||
"base": 1.2, "stops": [[15, 1], [20, 2]]
|
||||
"base": 1.2, "stops": [[15, 1], [20, 2]]
|
||||
}],
|
||||
"@rail_width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]},
|
||||
"@rail_hatch_width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]},
|
||||
@@ -75,7 +75,7 @@
|
||||
"@admin_level_2_width": {
|
||||
"base": 1,
|
||||
"stops": [[4, 1.4], [5, 2], [12, 8]]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
@@ -187,7 +187,7 @@
|
||||
"stops": [[13, 0.5], [20, 6]]
|
||||
}
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "water",
|
||||
"source": "mapbox",
|
||||
@@ -205,7 +205,7 @@
|
||||
"fill-color": "white",
|
||||
"fill-opacity": 0.3,
|
||||
"fill-translate": [0, 2.5]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "water_pattern",
|
||||
"ref": "water",
|
||||
@@ -231,7 +231,7 @@
|
||||
"source": "mapbox",
|
||||
"source-layer": "aeroway",
|
||||
"min-zoom": 11,
|
||||
"filter": {
|
||||
"filter": {
|
||||
"$type": "LineString",
|
||||
"type": "runway" },
|
||||
"style": {
|
||||
@@ -247,7 +247,7 @@
|
||||
"source": "mapbox",
|
||||
"source-layer": "aeroway",
|
||||
"min-zoom": 11,
|
||||
"filter": {
|
||||
"filter": {
|
||||
"$type": "LineString",
|
||||
"type": "taxiway" },
|
||||
"style": {
|
||||
@@ -295,7 +295,7 @@
|
||||
"line-dasharray": "@tunnel_line_dasharray",
|
||||
"line-width": "@motorway_link_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "tunnel_service_casing",
|
||||
"source": "mapbox",
|
||||
@@ -310,7 +310,7 @@
|
||||
"line-dasharray": "@tunnel_line_dasharray",
|
||||
"line-width": "@service_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "tunnel_street_casing",
|
||||
"source": "mapbox",
|
||||
@@ -325,7 +325,7 @@
|
||||
"line-width": "@street_casing_width",
|
||||
"line-opacity": "@street_casing_opacity"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "tunnel_main_casing",
|
||||
"source": "mapbox",
|
||||
@@ -340,7 +340,7 @@
|
||||
"line-dasharray": "@tunnel_line_dasharray",
|
||||
"line-width": "@main_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "tunnel_motorway_casing",
|
||||
"source": "mapbox",
|
||||
@@ -366,42 +366,42 @@
|
||||
"line-color": "@path",
|
||||
"line-dasharray": "@path_line_dasharray",
|
||||
"line-width": "@path_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_motorway_link",
|
||||
"ref": "tunnel_motorway_link_casing",
|
||||
"style": {
|
||||
"line-color": "@motorway",
|
||||
"line-width": "@motorway_link_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_service",
|
||||
"ref": "tunnel_service_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@service_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_street",
|
||||
"ref": "tunnel_street_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@street_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_main",
|
||||
"ref": "tunnel_main_casing",
|
||||
"style": {
|
||||
"line-color": "@main_tunnel",
|
||||
"line-width": "@main_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_motorway",
|
||||
"ref": "tunnel_motorway_casing",
|
||||
"style": {
|
||||
"line-color": "@motorway_tunnel",
|
||||
"line-width": "@motorway_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "tunnel_major_rail",
|
||||
"source": "mapbox",
|
||||
@@ -419,7 +419,7 @@
|
||||
"line-color": "@rail",
|
||||
"line-dasharray": "@rail_hatch_line_dasharray",
|
||||
"line-width": "@rail_hatch_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "road_motorway_link_casing",
|
||||
"source": "mapbox",
|
||||
@@ -434,7 +434,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@motorway_link_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_service_casing",
|
||||
"source": "mapbox",
|
||||
@@ -448,7 +448,7 @@
|
||||
"line-color": "@street_casing",
|
||||
"line-width": "@service_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_street_casing",
|
||||
"source": "mapbox",
|
||||
@@ -463,7 +463,7 @@
|
||||
"line-width": "@street_casing_width",
|
||||
"line-opacity": "@street_casing_opacity"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_main_casing",
|
||||
"source": "mapbox",
|
||||
@@ -477,7 +477,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@main_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_motorway_casing",
|
||||
"source": "mapbox",
|
||||
@@ -492,7 +492,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@motorway_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_path",
|
||||
"source": "mapbox",
|
||||
@@ -503,35 +503,35 @@
|
||||
"line-dasharray": "@path_line_dasharray",
|
||||
"line-width": "@path_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_motorway_link",
|
||||
"ref": "road_motorway_link_casing",
|
||||
"style": {
|
||||
"line-color": "@motorway",
|
||||
"line-width": "@motorway_link_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "road_service",
|
||||
"ref": "road_service_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@service_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "road_street",
|
||||
"ref": "road_street_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@street_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "road_main",
|
||||
"ref": "road_main_casing",
|
||||
"style": {
|
||||
"line-color": "@main",
|
||||
"line-width": "@main_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "road_motorway",
|
||||
"ref": "road_motorway_casing",
|
||||
@@ -539,7 +539,7 @@
|
||||
"line-color": "@motorway",
|
||||
"line-width": "@motorway_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "road_major_rail",
|
||||
"source": "mapbox",
|
||||
@@ -557,7 +557,7 @@
|
||||
"line-color": "@rail",
|
||||
"line-dasharray": "@rail_hatch_line_dasharray",
|
||||
"line-width": "@rail_hatch_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_motorway_link_casing",
|
||||
"source": "mapbox",
|
||||
@@ -570,7 +570,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@motorway_link_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_motorway_casing",
|
||||
"source": "mapbox",
|
||||
@@ -583,7 +583,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@motorway_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_service_casing",
|
||||
"source": "mapbox",
|
||||
@@ -596,7 +596,7 @@
|
||||
"line-color": "@street_casing",
|
||||
"line-width": "@service_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_street_casing",
|
||||
"source": "mapbox",
|
||||
@@ -610,7 +610,7 @@
|
||||
"line-width": "@street_casing_width",
|
||||
"line-opacity": "@street_casing_opacity"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_main_casing",
|
||||
"source": "mapbox",
|
||||
@@ -623,7 +623,7 @@
|
||||
"line-color": "@motorway_casing",
|
||||
"line-width": "@main_casing_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_path",
|
||||
"source": "mapbox",
|
||||
@@ -634,42 +634,42 @@
|
||||
"line-dasharray": "@path_line_dasharray",
|
||||
"line-width": "@path_width"
|
||||
},
|
||||
"type": "line"
|
||||
"type": "line"
|
||||
}, {
|
||||
"id": "bridge_motorway_link",
|
||||
"ref": "bridge_motorway_link_casing",
|
||||
"style": {
|
||||
"line-color": "@motorway",
|
||||
"line-width": "@motorway_link_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_service",
|
||||
"ref": "bridge_service_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@service_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_street",
|
||||
"ref": "bridge_street_casing",
|
||||
"style": {
|
||||
"line-color": "@street",
|
||||
"line-width": "@street_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_main",
|
||||
"ref": "bridge_main_casing",
|
||||
"style": {
|
||||
"line-color": "@main",
|
||||
"line-width": "@main_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_motorway",
|
||||
"ref": "bridge_motorway_casing",
|
||||
"style": {
|
||||
"line-color": "@motorway",
|
||||
"line-width": "@motorway_width"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"id": "bridge_major_rail",
|
||||
"source": "mapbox",
|
||||
@@ -853,7 +853,7 @@
|
||||
"stops": [[4, 13], [7, 17]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "country_label_4",
|
||||
"source": "mapbox",
|
||||
@@ -924,7 +924,7 @@
|
||||
"stops": [[3, 18], [4, 22]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "marine_label_point_2",
|
||||
"source": "mapbox",
|
||||
@@ -969,7 +969,7 @@
|
||||
"stops": [[3, 14], [4, 16]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "marine_label_3",
|
||||
"source": "mapbox",
|
||||
@@ -1014,7 +1014,7 @@
|
||||
"stops": [[3, 11], [4, 14]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "marine_label_4",
|
||||
"source": "mapbox",
|
||||
@@ -1059,7 +1059,7 @@
|
||||
"stops": [[3, 11], [4, 12]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "place_label_city",
|
||||
"source": "mapbox",
|
||||
@@ -1143,7 +1143,7 @@
|
||||
"text-color": "#765",
|
||||
"text-size": 11
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "road_label",
|
||||
"source": "mapbox",
|
||||
@@ -1164,7 +1164,7 @@
|
||||
"stops": [[13, 12], [14, 13]]
|
||||
}
|
||||
},
|
||||
"type": "symbol"
|
||||
"type": "symbol"
|
||||
}, {
|
||||
"id": "place_label_other",
|
||||
"source": "mapbox",
|
||||
|
||||
Reference in New Issue
Block a user