{"styles": [{"id": "exit_info_number", "layer": "tilezen_points", "when": ["all", ["ref", "Is.ExitInfo.Number"], ["ref", "ExitInfo.Number.Display.Enabled"]], "technique": "icon-text", "description": "Exit Info Number", "attr": {"category": ["case", ["ref", "Is.ExitInfo.Street.Category0"], "exit-info-number0", ["ref", "Is.ExitInfo.Street.Category1"], "exit-info-number1", ["ref", "Is.ExitInfo.Street.Category2"], "exit-info-number2", ["ref", "Is.ExitInfo.Street.Category3"], "exit-info-number3", "exit-info-number4"], "attribute-name": "exit_number", "secondary-attribute-name": "exit_number", "margin": ["ppi-scale", ["ref", "ExitInfo.Margin"], ["ref", "ScalePPI.Labels"]], "persisting-margin-reducing": ["ppi-scale", ["ref", "ExitInfo.PersistingMargin.Reducing"], ["ref", "ScalePPI.Labels"]], "icon-placement": "C", "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.8, "far-threshold-range": 0.015, "break-line": true, "perspective-scale-min": ["ref", "Icon.PerspectiveScaling.Min"], "perspective-scale-max": ["ref", "Icon.PerspectiveScaling.Max"], "font": ["ref", "Default.Font"], "text-size": ["ppi-scale", ["*", ["ref", "ExitInfo.Number.Label.Size"], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], "text-outline-width": ["ppi-scale", ["ref", "ExitInfo.Number.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "text-color": ["case", ["ref", "Is.IsoCountryGroup.AMER"], ["ref", "ExitInfo.Number.Label.AMER.Color"], ["ref", "ExitInfo.Number.Label.Color"]], "text-outline-color": ["case", ["ref", "Is.IsoCountryGroup.AMER"], ["ref", "ExitInfo.Number.Label.AMER.Outline.Color"], ["ref", "ExitInfo.Number.Label.Outline.Color"]], "leading-space": ["ppi-scale", ["ref", "ExitInfo.Number.Label.Leading"], ["ref", "ScalePPI.Labels"]], "icon-height": ["ppi-scale", ["*", ["ref", "ExitInfo.Number.Icon.Height"], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], "icon-width": ["case", ["==", ["length", ["get", "exit_number"]], 2], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 1], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], ["==", ["length", ["get", "exit_number"]], 3], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 1.15], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], ["==", ["length", ["get", "exit_number"]], 4], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 1.35], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], ["==", ["length", ["get", "exit_number"]], 5], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 1.55], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], [">=", ["length", ["get", "exit_number"]], 6], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 1.65], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], ["ppi-scale", ["*", ["*", ["ref", "ExitInfo.Number.Icon.Width"], 0.7], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]]], "text-dx": ["case", ["^=", ["get", "exit_number"], "1"], ["ppi-scale", -0.8, ["ref", "ScalePPI.Labels"]], ["ppi-scale", -0.3, ["ref", "ScalePPI.Labels"]]], "icon-brightness": ["ref", "ExitInfo.Icon.Brightness"], "text-brightness": ["ref", "ExitInfo.Label.Brightness"], "icon-shadow-enabled": ["ref", "ExitInfo.Number.Icon.Shadow.Enabled"], "icon-shadow-color": ["ref", "Icon.Shadow.Color"], "icon-shadow-blur-radius": ["ref", "Icon.Shadow.BlurRadius"], "icon-shadow-size-increment": ["ref", "Icon.Shadow.SizeIncrement"], "icon-shadow-dx": ["ref", "Icon.Shadow.DistanceX"], "icon-shadow-dy": ["-", ["ref", "Icon.Shadow.DistanceY"]], "icon-shadow-shear-factor-x": ["ref", "Icon.Shadow.ShearFactorX"], "icon-shadow-shear-factor-y": ["ref", "Icon.Shadow.ShearFactorY"], "icon-source": ["ref", "POI.Icon.ExitInfo.Lookup.FileName"], "iconMinZoomLevel": ["ref", "POI.Icon.ExitInfo.Lookup.IconMinLevel"], "textMinZoomLevel": ["ref", "POI.Icon.ExitInfo.Lookup.IconMinLevel"]}}, {"id": "exit_info_name", "layer": "tilezen_points", "when": ["all", ["ref", "Is.ExitInfo.Name"], ["ref", "ExitInfo.Name.Display.Enabled"]], "technique": "icon-text", "description": "Exit Info Name", "attr": {"category": ["case", ["ref", "Is.ExitInfo.Street.Category0"], "exit-info-name0", ["ref", "Is.ExitInfo.Street.Category1"], "exit-info-name1", ["ref", "Is.ExitInfo.Street.Category2"], "exit-info-name2", ["ref", "Is.ExitInfo.Street.Category3"], "exit-info-name3", "exit-info-name4"], "attribute-name": "exit_name", "secondary-attribute-name": "exit_name", "margin": ["ppi-scale", ["ref", "ExitInfo.Margin"], ["ref", "ScalePPI.Labels"]], "persisting-margin-reducing": ["ppi-scale", ["ref", "ExitInfo.PersistingMargin.Reducing"], ["ref", "ScalePPI.Labels"]], "text-placement": ["case", ["==", ["ref", "ExitInfo.Number.Display.Enabled"], true], ["case", ["has", "exit_number"], "T", "C"], "C"], "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.8, "far-threshold-range": 0.015, "break-line": true, "perspective-scale-min": ["ref", "Icon.PerspectiveScaling.Min"], "perspective-scale-max": ["ref", "Icon.PerspectiveScaling.Max"], "perspective-scale-offset-min": ["ref", "Icon.PerspectiveScaling.Min"], "perspective-scale-offset-max": ["ref", "Icon.PerspectiveScaling.Max"], "font": ["ref", "Default.Font"], "text-size": ["ppi-scale", ["*", ["ref", "ExitInfo.Name.Label.Size"], ["ref", "ExitInfo.Name.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], "text-outline-width": ["ppi-scale", ["ref", "ExitInfo.Name.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "text-color": ["case", ["ref", "Is.IsoCountryGroup.AMER"], ["ref", "ExitInfo.Name.Label.AMER.Color"], ["ref", "ExitInfo.Name.Label.Color"]], "text-outline-color": ["case", ["ref", "Is.IsoCountryGroup.AMER"], ["ref", "ExitInfo.Name.Label.AMER.Outline.Color"], ["ref", "ExitInfo.Name.Label.Outline.Color"]], "leading-space": ["ppi-scale", ["ref", "ExitInfo.Name.Label.Leading"], ["ref", "ScalePPI.Labels"]], "text-dy": ["case", ["has", "exit_number"], ["+", ["/", ["ppi-scale", ["*", ["ref", "ExitInfo.Number.Icon.Height"], ["ref", "ExitInfo.Number.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], 2], ["ppi-scale", ["ref", "ExitInfo.Name.Label.OffsetY"], ["ref", "ScalePPI.Labels"]]], 0], "text-case-conversion": ["ref", "ExitInfo.Name.Label.Variant"], "background-image": ["ref", "POI.Icon.ExitInfo.Lookup.BillboardFileName"], "background-padding": ["ppi-scale", ["*", ["make-vector", 6, 4, 6, 4], ["ref", "ExitInfo.Name.Label.SizeFactor"]], ["ref", "ScalePPI.Labels"]], "icon-brightness": ["ref", "ExitInfo.Icon.Brightness"], "text-brightness": ["ref", "ExitInfo.Label.Brightness"], "iconMinZoomLevel": ["ref", "POI.Icon.ExitInfo.Lookup.TextMinLevel"], "textMinZoomLevel": ["ref", "POI.Icon.ExitInfo.Lookup.TextMinLevel"]}}]}