{"styles": [{"id": "trafficlight", "layer": "tilezen_points", "when": ["ref", "Is.POI.TrafficLight"], "technique": "icon", "description": "Traffic Lights", "attr": {"category": "poi-labels", "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "perspective-scale-min": ["ref", "Icon.PerspectiveScaling.Min"], "perspective-scale-max": ["ref", "Icon.PerspectiveScaling.Max"], "icon-shadow-color": ["ref", "Icon.Shadow.Color"], "far-threshold-range": 0.015, "fade-time": 0.3, "replaceable": true, "new-label-spread-frames": 10, "width": ["ppi-scale", ["ref", "POI.TrafficLight.Icon.Size"], ["ref", "ScalePPI.Labels"]], "shadow-size-increment": ["ref", "Icon.Shadow.SizeIncrement"], "shadow-dx": ["ref", "Icon.Shadow.DistanceX"], "shadow-color": ["ref", "Icon.Shadow.Color"], "shadow-shear-factor-y": ["ref", "Icon.Shadow.ShearFactorY"], "far-threshold": 0.9, "shadow-enabled": ["ref", "Traffic.Icon.Shadow.Enabled"], "brightness": ["ref", "TrafficLight.Icon.Brightness"], "shadow-dy": ["-", ["ref", "Icon.Shadow.DistanceY"]], "shadow-blur-radius": ["ref", "Icon.Shadow.BlurRadius"], "shadow-shear-factor-x": ["ref", "Icon.Shadow.ShearFactorX"], "source": ["ref", "POI.Icon.TrafficLight.Lookup.FileName"], "z-order": ["+", ["-", 100000, ["*", ["ref", "POI.Icon.TrafficLight.Lookup.Priority"], 10]], ["case", ["get", "quality_score"], ["get", "quality_score"], ["-", 25, ["get", "min_zoom"]]]], "minZoomLevel": ["ref", "POI.Icon.TrafficLight.Lookup.IconMinLevel"], "maxZoomLevel": ["ref", "POI.Icon.TrafficLight.Lookup.IconMaxLevel"]}}]}