From 076cafea945339442675410aa17f1d7b1decc0a5 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:32:42 +0100 Subject: [PATCH 1/9] Remove "visibility": "visible" --- style.json | 67 ++++++++++++------------------------------------------ 1 file changed, 14 insertions(+), 53 deletions(-) diff --git a/style.json b/style.json index 2414a22..570e876 100644 --- a/style.json +++ b/style.json @@ -32,7 +32,6 @@ "type": "raster", "source": "natural_earth_shaded_relief", "maxzoom": 6, - "layout": {"visibility": "visible"}, "paint": {"raster-opacity": {"base": 1.5, "stops": [[0, 0.6], [6, 0.1]]}} }, { @@ -66,7 +65,6 @@ "source-layer": "landuse", "maxzoom": 8, "filter": ["==", "class", "residential"], - "layout": {"visibility": "visible"}, "paint": { "fill-color": { "base": 1, @@ -110,7 +108,6 @@ "source": "openmaptiles", "source-layer": "landuse", "filter": ["==", "class", "cemetery"], - "layout": {"visibility": "visible"}, "paint": {"fill-color": "hsl(75, 37%, 81%)"} }, { @@ -230,7 +227,7 @@ ["==", "ramp", 1], ["==", "brunnel", "tunnel"] ], - "layout": {"line-join": "round", "visibility": "visible"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-dasharray": [0.5, 0.25], @@ -346,7 +343,7 @@ ["==", "class", "motorway"], ["==", "brunnel", "tunnel"] ], - "layout": {"line-join": "round", "visibility": "visible"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-dasharray": [0.5, 0.25], @@ -386,7 +383,7 @@ ["==", "ramp", 1], ["==", "brunnel", "tunnel"] ], - "layout": {"line-join": "round", "visibility": "visible"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#fc8", "line-width": { @@ -487,7 +484,7 @@ ["==", "class", "motorway"], ["==", "brunnel", "tunnel"] ], - "layout": {"line-join": "round", "visibility": "visible"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#ffdaa6", "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]} @@ -558,7 +555,6 @@ "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "$type", "Polygon"]], - "layout": {"visibility": "visible"}, "paint": {"fill-pattern": "pedestrian_polygon"} }, { @@ -614,11 +610,7 @@ ["!in", "class", "pedestrian", "path", "track", "service"], ["==", "ramp", "1"] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-opacity": 1, @@ -663,11 +655,7 @@ ["in", "class", "secondary", "tertiary"], ["!=", "ramp", 1] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-opacity": 1, @@ -685,11 +673,7 @@ ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"] ], - "layout": { - "line-cap": "butt", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "butt", "line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-opacity": 1, @@ -712,11 +696,7 @@ ["==", "class", "motorway"], ["!=", "ramp", "1"] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-width": { @@ -797,11 +777,7 @@ ["==", "ramp", 1], ["!in", "class", "pedestrian", "path", "track", "service"] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#fea", "line-width": { @@ -821,11 +797,7 @@ ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "secondary", "tertiary"] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#fea", "line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]} @@ -842,11 +814,7 @@ ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"] ], - "layout": { - "line-cap": "butt", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "butt", "line-join": "round"}, "paint": { "line-color": "#fea", "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]} @@ -865,11 +833,7 @@ ["==", "class", "motorway"], ["!=", "ramp", 1] ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, + "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": { "base": 1, @@ -1052,7 +1016,7 @@ ["==", "brunnel", "bridge"], ["in", "class", "path", "pedestrian"] ], - "layout": {"line-join": "miter", "visibility": "visible"}, + "layout": {"line-join": "miter"}, "paint": { "line-color": "hsl(35, 6%, 80%)", "line-dasharray": [1, 0], @@ -1320,7 +1284,6 @@ "source-layer": "building", "minzoom": 13, "maxzoom": 14, - "layout": {"visibility": "visible"}, "paint": { "fill-color": "hsl(35, 8%, 85%)", "fill-outline-color": { @@ -1336,7 +1299,6 @@ "source": "openmaptiles", "source-layer": "building", "minzoom": 14, - "layout": {"visibility": "visible"}, "paint": { "fill-extrusion-color": "hsl(35, 8%, 85%)", "fill-extrusion-height": { @@ -1520,8 +1482,7 @@ "text-max-width": 9, "text-offset": [0.9, 0], "text-padding": 2, - "text-size": 12, - "visibility": "visible" + "text-size": 12 }, "paint": { "text-color": "#4898ff", From a746ade4842c25fbe04c499eaf3f7900a2023a95 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:37:17 +0100 Subject: [PATCH 2/9] Remove "line-opacity": 1 --- style.json | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/style.json b/style.json index 570e876..ac77781 100644 --- a/style.json +++ b/style.json @@ -53,8 +53,7 @@ "layout": {}, "paint": { "line-dasharray": [1, 1.5], - "line-color": "rgba(228, 241, 215, 1)", - "line-opacity": 1 + "line-color": "rgba(228, 241, 215, 1)" } }, { @@ -231,7 +230,6 @@ "paint": { "line-color": "#e9ac77", "line-dasharray": [0.5, 0.25], - "line-opacity": 1, "line-width": { "base": 1.2, "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] @@ -266,7 +264,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": { "base": 1.2, "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] @@ -308,7 +305,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]} } }, @@ -435,7 +431,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#fff", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]} } }, @@ -573,7 +568,6 @@ "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]] @@ -613,7 +607,6 @@ "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]] @@ -658,7 +651,6 @@ "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]} } }, @@ -676,7 +668,6 @@ "layout": {"line-cap": "butt", "line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": { "base": 1.2, "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]] @@ -923,7 +914,6 @@ "layout": {"line-cap": "round", "line-join": "round"}, "paint": { "line-color": "#fff", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]} } }, @@ -942,7 +932,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": { "base": 1.2, "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] @@ -976,7 +965,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": { "base": 1.2, "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] @@ -1037,7 +1025,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]} } }, @@ -1163,7 +1150,6 @@ "layout": {"line-join": "round"}, "paint": { "line-color": "#fff", - "line-opacity": 1, "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]} } }, From 2616f96a6d8928127242ddfda51e4f795fc25fad Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:38:50 +0100 Subject: [PATCH 3/9] Remove "layout": {} --- style.json | 1 - 1 file changed, 1 deletion(-) diff --git a/style.json b/style.json index ac77781..3324f74 100644 --- a/style.json +++ b/style.json @@ -50,7 +50,6 @@ "type": "line", "source": "openmaptiles", "source-layer": "park", - "layout": {}, "paint": { "line-dasharray": [1, 1.5], "line-color": "rgba(228, 241, 215, 1)" From 4fbbb6e55d710dedf066a19a28682835a053a0f3 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:42:06 +0100 Subject: [PATCH 4/9] Remove "metadata": {} --- style.json | 92 ------------------------------------------------------ 1 file changed, 92 deletions(-) diff --git a/style.json b/style.json index 3324f74..6c4cb26 100644 --- a/style.json +++ b/style.json @@ -58,7 +58,6 @@ { "id": "landuse_residential", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "maxzoom": 8, @@ -76,7 +75,6 @@ { "id": "landcover_wood", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landcover", "filter": ["all", ["==", "class", "wood"]], @@ -89,7 +87,6 @@ { "id": "landcover_grass", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landcover", "filter": ["all", ["==", "class", "grass"]], @@ -102,7 +99,6 @@ { "id": "landuse_cemetery", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": ["==", "class", "cemetery"], @@ -111,7 +107,6 @@ { "id": "landuse_hospital", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": ["==", "class", "hospital"], @@ -120,7 +115,6 @@ { "id": "landuse_school", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landuse", "filter": ["==", "class", "school"], @@ -129,7 +123,6 @@ { "id": "waterway_river", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "waterway", "filter": ["==", "class", "river"], @@ -142,7 +135,6 @@ { "id": "waterway_other", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "waterway", "filter": ["all", ["!=", "class", "river"]], @@ -155,7 +147,6 @@ { "id": "water", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "water", "paint": {"fill-color": "rgb(158,189,255)"} @@ -163,7 +154,6 @@ { "id": "landcover_sand", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "landcover", "filter": ["all", ["==", "class", "sand"]], @@ -172,7 +162,6 @@ { "id": "aeroway_fill", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, @@ -182,7 +171,6 @@ { "id": "aeroway_runway", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, @@ -199,7 +187,6 @@ { "id": "aeroway_taxiway", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, @@ -216,7 +203,6 @@ { "id": "tunnel_motorway_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -238,7 +224,6 @@ { "id": "tunnel_service_track_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -256,7 +241,6 @@ { "id": "tunnel_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]], @@ -272,7 +256,6 @@ { "id": "tunnel_street_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -293,7 +276,6 @@ { "id": "tunnel_secondary_tertiary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -310,7 +292,6 @@ { "id": "tunnel_trunk_primary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -330,7 +311,6 @@ { "id": "tunnel_motorway_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -351,7 +331,6 @@ { "id": "tunnel_path_pedestrian", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -369,7 +348,6 @@ { "id": "tunnel_motorway_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -390,7 +368,6 @@ { "id": "tunnel_service_track", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -407,7 +384,6 @@ { "id": "tunnel_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]], @@ -423,7 +399,6 @@ { "id": "tunnel_minor", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]], @@ -436,7 +411,6 @@ { "id": "tunnel_secondary_tertiary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -453,7 +427,6 @@ { "id": "tunnel_trunk_primary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -470,7 +443,6 @@ { "id": "tunnel_motorway", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -487,7 +459,6 @@ { "id": "tunnel_major_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]], @@ -499,7 +470,6 @@ { "id": "tunnel_major_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]], @@ -512,7 +482,6 @@ { "id": "tunnel_transit_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -528,7 +497,6 @@ { "id": "tunnel_transit_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -545,7 +513,6 @@ { "id": "road_area_pattern", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "$type", "Polygon"]], @@ -554,7 +521,6 @@ { "id": "road_motorway_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 12, @@ -576,7 +542,6 @@ { "id": "road_service_track_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -593,7 +558,6 @@ { "id": "road_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 13, @@ -615,7 +579,6 @@ { "id": "road_minor_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -638,7 +601,6 @@ { "id": "road_secondary_tertiary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -656,7 +618,6 @@ { "id": "road_trunk_primary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -676,7 +637,6 @@ { "id": "road_motorway_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 5, @@ -698,7 +658,6 @@ { "id": "road_path_pedestrian", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 14, @@ -718,7 +677,6 @@ { "id": "road_motorway_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 12, @@ -740,7 +698,6 @@ { "id": "road_service_track", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -757,7 +714,6 @@ { "id": "road_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 13, @@ -779,7 +735,6 @@ { "id": "road_secondary_tertiary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -796,7 +751,6 @@ { "id": "road_trunk_primary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -813,7 +767,6 @@ { "id": "road_motorway", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "minzoom": 5, @@ -835,7 +788,6 @@ { "id": "road_major_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -851,7 +803,6 @@ { "id": "road_major_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -868,7 +819,6 @@ { "id": "road_transit_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -884,7 +834,6 @@ { "id": "road_transit_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -901,7 +850,6 @@ { "id": "road_minor", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -919,7 +867,6 @@ { "id": "bridge_motorway_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -940,7 +887,6 @@ { "id": "bridge_service_track_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -957,7 +903,6 @@ { "id": "bridge_link_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]], @@ -973,7 +918,6 @@ { "id": "bridge_street_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -994,7 +938,6 @@ { "id": "bridge_path_pedestrian_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1013,7 +956,6 @@ { "id": "bridge_secondary_tertiary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1030,7 +972,6 @@ { "id": "bridge_trunk_primary_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1050,7 +991,6 @@ { "id": "bridge_motorway_casing", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1070,7 +1010,6 @@ { "id": "bridge_path_pedestrian", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1088,7 +1027,6 @@ { "id": "bridge_motorway_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1109,7 +1047,6 @@ { "id": "bridge_service_track", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1126,7 +1063,6 @@ { "id": "bridge_link", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]], @@ -1142,7 +1078,6 @@ { "id": "bridge_street", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]], @@ -1155,7 +1090,6 @@ { "id": "bridge_secondary_tertiary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1172,7 +1106,6 @@ { "id": "bridge_trunk_primary", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1189,7 +1122,6 @@ { "id": "bridge_motorway", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1206,7 +1138,6 @@ { "id": "bridge_major_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]], @@ -1218,7 +1149,6 @@ { "id": "bridge_major_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]], @@ -1231,7 +1161,6 @@ { "id": "bridge_transit_rail", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1247,7 +1176,6 @@ { "id": "bridge_transit_rail_hatching", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -1264,7 +1192,6 @@ { "id": "building", "type": "fill", - "metadata": {}, "source": "openmaptiles", "source-layer": "building", "minzoom": 13, @@ -1280,7 +1207,6 @@ { "id": "building-3d", "type": "fill-extrusion", - "metadata": {}, "source": "openmaptiles", "source-layer": "building", "minzoom": 14, @@ -1300,7 +1226,6 @@ { "id": "boundary_3", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "boundary", "minzoom": 8, @@ -1315,7 +1240,6 @@ { "id": "boundary_2", "type": "line", - "metadata": {}, "source": "openmaptiles", "source-layer": "boundary", "filter": ["all", ["==", "admin_level", 2]], @@ -1329,7 +1253,6 @@ { "id": "water_name_line", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "water_name", "minzoom": 0, @@ -1350,7 +1273,6 @@ { "id": "water_name_point", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "water_name", "minzoom": 0, @@ -1370,7 +1292,6 @@ { "id": "poi_z16", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "poi", "minzoom": 16, @@ -1395,7 +1316,6 @@ { "id": "poi_z15", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "poi", "minzoom": 15, @@ -1425,7 +1345,6 @@ { "id": "poi_z14", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "poi", "minzoom": 14, @@ -1455,7 +1374,6 @@ { "id": "poi_transit", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "poi", "filter": ["all", ["in", "class", "bus", "rail", "airport"]], @@ -1479,7 +1397,6 @@ { "id": "road_label", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation_name", "filter": ["all"], @@ -1500,7 +1417,6 @@ { "id": "road_shield", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "transportation_name", "minzoom": 7, @@ -1522,7 +1438,6 @@ { "id": "place_other", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": [ @@ -1546,7 +1461,6 @@ { "id": "place_village", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": ["all", ["==", "class", "village"]], @@ -1565,7 +1479,6 @@ { "id": "place_town", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": ["all", ["==", "class", "town"]], @@ -1587,7 +1500,6 @@ { "id": "place_city", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "minzoom": 5, @@ -1612,7 +1524,6 @@ { "id": "state", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "maxzoom": 6, @@ -1632,7 +1543,6 @@ { "id": "country_3", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": ["all", [">=", "rank", 3], ["==", "class", "country"]], @@ -1653,7 +1563,6 @@ { "id": "country_2", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": ["all", ["==", "rank", 2], ["==", "class", "country"]], @@ -1674,7 +1583,6 @@ { "id": "country_1", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "filter": ["all", ["==", "rank", 1], ["==", "class", "country"]], From 42187694db20bd0cfa9bd0030f7e7ae31b1815a8 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:46:19 +0100 Subject: [PATCH 5/9] Remove "minzoom": 0 --- style.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/style.json b/style.json index 6c4cb26..85751cb 100644 --- a/style.json +++ b/style.json @@ -1255,7 +1255,6 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "water_name", - "minzoom": 0, "filter": ["all", ["==", "$type", "LineString"]], "layout": { "text-field": "{name}", @@ -1275,7 +1274,6 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "water_name", - "minzoom": 0, "filter": ["==", "$type", "Point"], "layout": { "text-field": "{name}", From d72ff2a83fd9741ee2f39379f445cef4adbaef68 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:48:16 +0100 Subject: [PATCH 6/9] Remove remaining empty objects --- style.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/style.json b/style.json index 85751cb..2d2118a 100644 --- a/style.json +++ b/style.json @@ -1430,8 +1430,7 @@ "text-rotation-alignment": "viewport", "text-size": 10, "icon-size": 0.8 - }, - "paint": {} + } }, { "id": "place_other", @@ -1601,7 +1600,6 @@ { "id": "continent", "type": "symbol", - "metadata": {}, "source": "openmaptiles", "source-layer": "place", "maxzoom": 1, From 5667f3d98f8247c2eac34f12554aaffc0529d6a6 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:49:33 +0100 Subject: [PATCH 7/9] Remove "line-join": "miter" --- style.json | 1 - 1 file changed, 1 deletion(-) diff --git a/style.json b/style.json index 2d2118a..b69088a 100644 --- a/style.json +++ b/style.json @@ -946,7 +946,6 @@ ["==", "brunnel", "bridge"], ["in", "class", "path", "pedestrian"] ], - "layout": {"line-join": "miter"}, "paint": { "line-color": "hsl(35, 6%, 80%)", "line-dasharray": [1, 0], From 86793fddf09b63b7d5243d0f1f26fe74503ffa8d Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:50:44 +0100 Subject: [PATCH 8/9] Remove "line-cap": "butt" --- style.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.json b/style.json index b69088a..cbe49ca 100644 --- a/style.json +++ b/style.json @@ -625,7 +625,7 @@ ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"] ], - "layout": {"line-cap": "butt", "line-join": "round"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", "line-width": { @@ -758,7 +758,7 @@ ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"] ], - "layout": {"line-cap": "butt", "line-join": "round"}, + "layout": {"line-join": "round"}, "paint": { "line-color": "#fea", "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]} From 4f84cf578baade70f06131fcb467b297e495123c Mon Sep 17 00:00:00 2001 From: pathmapper Date: Sun, 27 Oct 2019 10:54:28 +0100 Subject: [PATCH 9/9] Remove "text-padding": 2 --- style.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/style.json b/style.json index cbe49ca..653cf7d 100644 --- a/style.json +++ b/style.json @@ -1300,7 +1300,6 @@ "text-font": ["Roboto Condensed Italic"], "text-max-width": 9, "text-offset": [0, 0.6], - "text-padding": 2, "text-size": 12 }, "paint": { @@ -1329,7 +1328,6 @@ "text-font": ["Roboto Condensed Italic"], "text-max-width": 9, "text-offset": [0, 0.6], - "text-padding": 2, "text-size": 12 }, "paint": { @@ -1358,7 +1356,6 @@ "text-font": ["Roboto Condensed Italic"], "text-max-width": 9, "text-offset": [0, 0.6], - "text-padding": 2, "text-size": 12 }, "paint": { @@ -1381,7 +1378,6 @@ "text-font": ["Roboto Condensed Italic"], "text-max-width": 9, "text-offset": [0.9, 0], - "text-padding": 2, "text-size": 12 }, "paint": {