|
12 | 12 | "transition": { "duration": 300, "delay": 0 },
|
13 | 13 | "light": { "intensity": 0.2 },
|
14 | 14 | "glyphs": "https://api.jawg.io/glyphs/{fontstack}/{range}.pbf",
|
| 15 | + "sprite": "https://streetcomplete.app/map-jawg/sprites", |
15 | 16 | "layers": [
|
16 | 17 | { "id": "background", "type": "background", "paint": {"background-color": "#2e2e48"}},
|
17 | 18 | { "id": "landuse-town", "source": "jawg-streets", "source-layer": "landuse", "minzoom": 11.0, "filter": ["!", ["in", ["get", "class"], ["literal", ["pitch", "park", "grass", "cemetery", "wood", "scrub", "national_park"]]]], "type": "fill", "paint": { "fill-color": "#3d364e", "fill-opacity": ["interpolate", ["exponential", 2], ["zoom"], 11.0, 0.0, 12.0, 1.0]} },
|
|
94 | 95 | { "id": "paths-bridge-private", "source": "jawg-streets", "source-layer": "road", "filter": ["all", ["==", ["get", "class"], "path"], ["==", ["geometry-type"], "LineString"], ["in", ["get", "access"], ["literal", ["no", "private", "destination", "customers", "delivery", "agricultural", "forestry", "emergency"]]], ["==", ["get", "structure"], "bridge"]], "type": "line","paint": {"line-color": "#3d364e", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 14.0, 0.25, 16.0, 0.5, 24.0, 128.0], "line-dasharray": [1, 2]},"layout": {"line-cap": "round", "line-join": "round"} },
|
95 | 96 | { "id": "roads-service-bridge-private", "source": "jawg-streets", "source-layer": "road", "filter": ["all", ["in", ["get", "class"], ["literal", ["service", "driveway"]]], ["==", ["geometry-type"], "LineString"], ["in", ["get", "access"], ["literal", ["no", "private", "destination", "customers", "delivery", "agricultural", "forestry", "emergency"]]], ["==", ["get", "structure"], "bridge"]], "type": "line","paint": {"line-color": "#3d364e", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13.0, 0.25, 16.0, 1.5, 24.0, 384.0], "line-dasharray": [1, 2]},"layout": {"line-cap": "round", "line-join": "round"} },
|
96 | 97 | { "id": "railways-bridge", "source": "jawg-streets", "source-layer": "road", "filter": ["all", ["in", ["get", "class"], ["literal", ["major_rail", "minor_rail"]]], ["==", ["geometry-type"], "LineString"], ["==", ["get", "structure"], "bridge"]], "type": "line","paint": {"line-color": "#96c", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 12.0, 0.75, 13.0, 2.0, 16.999, 4.0, 17.0, 2.0, 24.0, 128.0], "line-gap-width": ["interpolate", ["exponential", 2], ["zoom"], 12.0, 0.0, 17.0, 0.0, 24.0, 256.0], "line-opacity": ["interpolate", ["exponential", 2], ["zoom"], 12.0, 0.0, 13.0, 1.0]},"layout": {"line-join": "round"} },
|
97 |
| - { "id": "oneway-arrows", "source": "jawg-streets", "source-layer": "road", "minzoom": 16.0, "filter": ["all", ["==", ["geometry-type"], "LineString"], ["==", ["get", "oneway"], true]], "type": "symbol", "paint": {"icon-color": "#ccf"}, "layout": {"icon-image": "oneway", "symbol-spacing": 200, "symbol-placement": "line", "icon-padding": 5} }, |
| 98 | + { "id": "oneway-arrows", "source": "jawg-streets", "source-layer": "road", "minzoom": 17.0, "filter": ["all", ["==", ["geometry-type"], "LineString"], ["==", ["get", "oneway"], true]], "type": "symbol", "paint": {"icon-color": "#ccf"}, "layout": {"icon-image": "oneway-arrow", "icon-size": ["interpolate", ["exponential", 2], ["zoom"], 17.0, 0.25, 24.0, 16.0], "symbol-spacing": ["interpolate", ["exponential", 2], ["zoom"], 17.0, 200.0, 24.0, 12800.0], "symbol-placement": "line", "icon-padding": 5, "icon-rotate": 90, "icon-rotation-alignment": "map"} }, |
98 | 99 | { "id": "boundaries", "source": "jawg-streets", "source-layer": "admin", "filter": ["all", ["==", ["get", "admin_level"], 2], ["!=", ["get", "maritime"], true]], "type": "line","paint": {"line-color": "#e72", "line-width": 1, "line-dasharray": [1, 2]} },
|
99 | 100 | { "id": "labels-country", "source": "jawg-streets", "source-layer": "place_label", "filter": ["==", ["get", "class"], "country"], "type": "symbol", "paint": {"text-color": "#ccf", "text-halo-color": "#2e2e48", "text-halo-width": 2.5}, "layout": {"text-field": ["coalesce", ["get", "name"]], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 1.0, 13.0, 24.0, 64.0], "text-font": ["Roboto Bold", "Noto Bold"], "text-padding": 12, "symbol-sort-key": ["get", "scalerank"]} },
|
100 | 101 | { "id": "labels-localities", "source": "jawg-streets", "source-layer": "place_label", "filter": ["==", ["get", "class"], "locality"], "type": "symbol", "paint": {"text-color": "#ccf", "text-halo-color": "#2e2e48", "text-halo-width": 2.5}, "layout": {"text-field": ["coalesce", ["get", "name"]], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 1.0, 13.0, 24.0, 64.0], "text-font": ["Roboto Regular", "Noto Regular"], "text-padding": 12, "symbol-sort-key": ["get", "scalerank"]} },
|
|
0 commit comments