{"styles": [{"id": "roads-simple_line", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.RestrictedAccess"]], ["any", ["ref", "Is.Street.Pedestrian"], ["all", ["ref", "Is.Street.Walkway"], ["!", ["ref", "Is.RailFerry"]]], ["ref", "Is.Street.Category4"], ["ref", "Is.Street.Category3"]]], "technique": "simple_line", "description": "Roads as simple lines", "attr": {"category": ["ref", "Internal.Street.RenderPass"], "minZoomLevel": ["ref", "Street.SimpleLine.MinZoomLevel"], "maxZoomLevel": ["ref", "Street.SimpleLine.MaxZoomLevel"], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Internal.Street.Ambient.Factor"], "diffuse": ["ref", "Internal.Street.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "color": ["ref", "Internal.StreetColor"], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "ferry_labels", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Ferry"], ["ref", "Ferry.Label.Display.Enabled"]], "technique": "text", "description": "Ferry Labels", "attr": {"category": "ferry-labels", "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "font": ["ref", "Default.Font"], "shape": "line", "vertical-alignment": "LineBorderBottom", "line-width": ["world-scale", ["ref", "Ferry.Label.Offset"]], "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.85, "far-threshold-range": 0.015, "polyline-padding-px": 2, "dual-language-leading-space": ["ppi-scale", ["ref", "Label.DualLanguage.Leading"], ["ref", "ScalePPI.Labels"]], "softdepth": ["ref", "SoftDepth.Threshold"], "tracking-space": ["ppi-scale", ["ref", "Ferry.Label.Tracking"], ["ref", "ScalePPI.Labels"]], "color": ["ref", "Ferry.Label.Color"], "outline-color": ["ref", "Ferry.Label.Outline.Color"], "size": ["ppi-scale", ["ref", "Ferry.Label.Size"], ["ref", "ScalePPI.Labels"]], "outline-width": ["ppi-scale", ["ref", "Ferry.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "case-conversion": ["ref", "Ferry.Label.Variant"]}}, {"id": "ferry_lines", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Ferry"]], "technique": "line", "description": "Ferry Line", "attr": {"category": "ferry", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Ferry.Line.Ambient.Factor"], "diffuse": ["ref", "Ferry.Line.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "color": ["ref", "Ferry.Line.Color"], "dash-gap-color": ["ref", "Ferry.SecondLine.Color"], "width": ["world-scale", ["ref", "Ferry.Line.Width"]], "dasharray": ["ref", "Internal.Ferry.DashArray"], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "skirun_labels", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Ski.Downhill"], ["ref", "Ski.Downhill.Label.Display.Enabled"]], "technique": "text", "description": "SkiRun Downhill Labels", "attr": {"category": "skirundownhill-labels", "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "font": ["ref", "Default.Font"], "shape": "line", "vertical-alignment": "Dynamic", "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.85, "far-threshold-range": 0.015, "polyline-padding-px": 2, "dual-language-leading-space": ["ppi-scale", ["ref", "Label.DualLanguage.Leading"], ["ref", "ScalePPI.Labels"]], "softdepth": ["ref", "SoftDepth.Threshold"], "color": ["ref", "SkiRun.Label.Color"], "outline-color": ["ref", "SkiRun.Label.Outline.Color"], "size": ["ppi-scale", ["ref", "SkiRun.Label.Size"], ["ref", "ScalePPI.Labels"]], "outline-width": ["ppi-scale", ["ref", "SkiRun.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "case-conversion": ["ref", "SkiRun.Label.Variant"]}}, {"id": "skirun_lines", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Ski.Downhill"]], "technique": "line", "description": "SkiRun Downhill Line", "attr": {"category": "skirun_downhill", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "SkiRun.Line.Ambient.Factor"], "diffuse": ["ref", "SkiRun.Line.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "color": ["ref", "SkiRun.Line.Color"], "dash-gap-color": ["ref", "SkiRun.Arrow.Color"], "width": ["world-scale", ["ref", "SkiRun.Line.Width"]], "dasharray": ["case", ["ref", "Is.OneWay"], ["make-vector", 0, ["world-discrete-scale", ["ref", "SkiRun.Arrow.Gap.Length"]], ["world-scale", ["ref", "SkiRun.Line.Width"]], ["-", ["world-discrete-scale", ["+", ["ref", "SkiRun.Arrow.Gap.Length"], ["ref", "SkiRun.Line.Width"]]], ["world-scale", ["ref", "SkiRun.Line.Width"]]]], null], "dash-image": ["ref", "Street.Arrow.Asset"], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "skirun_outlines", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Ski.Downhill"]], "technique": "line", "description": "SkiRun Downhill Outline", "attr": {"category": "skirun_downhill-outline", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "SkiRun.Line.Ambient.Factor"], "diffuse": ["ref", "SkiRun.Line.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "color": ["ref", "SkiRun.Outline.Color"], "width": ["case", ["<=", ["ref", "SkiRun.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "SkiRun.Outline.Width"]], ["ref", "SkiRun.Line.Width"]]]], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "truck_preferred_road_outline", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.TruckPreferred"]], "technique": "line", "description": "Truck Preferred Road Outline", "attr": {"category": "truck-preferred-road-outline", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.TruckPreferred.Ambient.Factor"], "diffuse": ["ref", "Street.TruckPreferred.Diffuse.Factor"], "minZoomLevel": ["ref", "Street.TruckPreferred.MinZoomLevel"], "alpha-blend-type": ["ref", "Street.TruckPreferred.Alpha.Blend.Type"], "width": ["case", ["all", ["ref", "Is.Street.Category0"], ["ref", "Is.Ramp"]], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category0.Ramp.Width"], ["ref", "Street.Category0.Ramp.Width"]]], ["ref", "Is.Street.Category0"], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category0.Width"], ["ref", "Street.Category0.Width"]]], ["all", ["ref", "Is.Street.Category1"], ["ref", "Is.Ramp"]], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category1.Ramp.Width"], ["ref", "Street.Category1.Ramp.Width"]]], ["ref", "Is.Street.Category1"], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category1.Width"], ["ref", "Street.Category1.Width"]]], ["all", ["ref", "Is.Street.Category2"], ["ref", "Is.Ramp"]], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category2.Ramp.Width"], ["ref", "Street.Category2.Ramp.Width"]]], ["ref", "Is.Street.Category2"], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category2.Width"], ["ref", "Street.Category2.Width"]]], ["all", ["ref", "Is.Street.Category3"], ["ref", "Is.Ramp"]], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category3.Ramp.Width"], ["ref", "Street.Category3.Ramp.Width"]]], ["ref", "Is.Street.Category3"], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category3.Width"], ["ref", "Street.Category3.Width"]]], ["all", ["ref", "Is.Street.Category4"], ["ref", "Is.Ramp"]], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category4.Ramp.Width"], ["ref", "Street.Category4.Ramp.Width"]]], ["ref", "Is.Street.Category4"], ["world-scale", ["+", ["ref", "Street.TruckPreferred.Category4.Width"], ["ref", "Street.Category4.Width"]]], 0], "color": ["case", ["ref", "Is.Street.Category0"], ["ref", "Street.TruckPreferred.Category0.Color"], ["ref", "Is.Street.Category1"], ["ref", "Street.TruckPreferred.Category1.Color"], ["ref", "Is.Street.Category2"], ["ref", "Street.TruckPreferred.Category2.Color"], ["ref", "Is.Street.Category3"], ["ref", "Street.TruckPreferred.Category3.Color"], ["ref", "Is.Street.Category4"], ["ref", "Street.TruckPreferred.Category4.Color"], "#000000"], "softdepth": ["ref", "SoftDepth.Threshold"]}}]}