{"styles": [{"layer": "traffic_on_route", "technique": "line", "attr": {"category": ["match", ["get", "traffic"], "none", "traffic-on-route-blocking", ["stationary", "queuing"], "traffic-on-route-stationary-queuing", ["slow", "minor"], "traffic-on-route-slow-minor", ["free", "unknown"], "traffic-on-route-free-unknown", "traffic-on-route"], "width": ["world-scale", ["ref", "Traffic.OnRoute.Width"]], "color": ["case", ["==", ["get", "id"], "route-traveled"], ["ref", "Traffic.OnRoute.Traveled.Color"], ["==", ["get", "traffic"], "none"], ["ref", "Traffic.OnRoute.Blocking.Color"], ["any", ["==", ["get", "traffic"], "stationary"], ["==", ["get", "traffic"], "queuing"]], ["ref", "Traffic.OnRoute.StationaryQueuing.Color"], ["any", ["==", ["get", "traffic"], "slow"], ["==", ["get", "traffic"], "minor"]], ["ref", "Traffic.OnRoute.SlowMinor.Color"], ["ref", "Traffic.OnRoute.Free.Color"]], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"layer": "traffic_on_route", "technique": "line", "description": "outline", "attr": {"category": "traffic-on-route-outline", "width": ["world-scale", ["+", ["ref", "Traffic.OnRoute.Outline.Width"], ["ref", "Traffic.OnRoute.Width"]]], "color": ["match", ["get", "id"], "route-traveled", ["ref", "Traffic.OnRoute.Traveled.Outline.Color"], ["ref", "Traffic.OnRoute.Outline.Color"]], "softdepth": ["ref", "SoftDepth.Threshold"]}}]}