{"styles": [{"id": "contour_lines_counting", "layer": "tilezen_contour", "when": ["all", ["ref", "Is.Contour.Layer"], ["ref", "Is.Contour.Counting"]], "technique": "line", "description": "Countour Counting Line. Every 5th contour line is displayed thicker & with labels.", "attr": {"category": "contour", "width": ["world-scale", ["ref", "ContourLine.Counting.Width"]], "color": ["ref", "ContourLine.Counting.Color"], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "ContourLine.Ambient.Factor"], "diffuse": ["ref", "ContourLine.Diffuse.Factor"]}}, {"id": "contour_lines", "layer": "tilezen_contour", "when": ["all", ["ref", "Is.Contour.Layer"], ["ref", "Is.Contour"]], "technique": "line", "description": "Countour Line", "attr": {"category": "contour", "width": ["world-scale", ["ref", "ContourLine.Width"]], "color": ["ref", "ContourLine.Color"], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "ContourLine.Ambient.Factor"], "diffuse": ["ref", "ContourLine.Diffuse.Factor"]}}, {"id": "contour_lines_labels", "layer": "tilezen_contour", "when": ["all", ["ref", "Is.Contour.Layer"], ["ref", "Is.Contour.Counting"]], "technique": "text", "description": "Contour Line Labels on every 5th contour line.", "attr": {"category": "contour-line-labels", "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "font": ["ref", "Default.Font"], "shape": "line", "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.85, "far-threshold-range": 0.015, "polyline-padding-px": 2, "softdepth": ["ref", "SoftDepth.Threshold"], "anchor-point-density": ["step", ["zoom"], 5, 8, 20, 16, 40], "text": ["concat", ["get", "height"], " m"], "color": ["ref", "ContourLine.Label.Color"], "outline-color": ["ref", "ContourLine.Label.Outline.Color"], "size": ["ppi-scale", ["ref", "ContourLine.Label.Size"], ["ref", "ScalePPI.Labels"]], "outline-width": ["ppi-scale", ["ref", "ContourLine.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]]}}]}