Type Alias SymbolLayoutPropsPossiblyEvaluated
type SymbolLayoutPropsPossiblyEvaluated = {
"icon-allow-overlap": boolean;
"icon-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>;
"icon-ignore-placement": boolean;
"icon-image": PossiblyEvaluatedPropertyValue<ResolvedImage>;
"icon-keep-upright": boolean;
"icon-offset": PossiblyEvaluatedPropertyValue<[number, number]>;
"icon-optional": boolean;
"icon-overlap": "never" | "always" | "cooperative";
"icon-padding": PossiblyEvaluatedPropertyValue<Padding>;
"icon-pitch-alignment": "map" | "viewport" | "auto";
"icon-rotate": PossiblyEvaluatedPropertyValue<number>;
"icon-rotation-alignment": "map" | "viewport" | "auto";
"icon-size": PossiblyEvaluatedPropertyValue<number>;
"icon-text-fit": "none" | "width" | "height" | "both";
"icon-text-fit-padding": [number, number, number, number];
"symbol-avoid-edges": boolean;
"symbol-placement": "point" | "line" | "line-center";
"symbol-sort-key": PossiblyEvaluatedPropertyValue<number>;
"symbol-spacing": number;
"symbol-z-order": "auto" | "viewport-y" | "source";
"text-allow-overlap": boolean;
"text-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>;
"text-field": PossiblyEvaluatedPropertyValue<Formatted>;
"text-font": PossiblyEvaluatedPropertyValue<string[]>;
"text-ignore-placement": boolean;
"text-justify": PossiblyEvaluatedPropertyValue<
"auto"
| "left"
| "center"
| "right",
>;
"text-keep-upright": boolean;
"text-letter-spacing": PossiblyEvaluatedPropertyValue<number>;
"text-line-height": number;
"text-max-angle": number;
"text-max-width": PossiblyEvaluatedPropertyValue<number>;
"text-offset": PossiblyEvaluatedPropertyValue<[number, number]>;
"text-optional": boolean;
"text-overlap": "never" | "always" | "cooperative";
"text-padding": number;
"text-pitch-alignment": "map" | "viewport" | "auto";
"text-radial-offset": PossiblyEvaluatedPropertyValue<number>;
"text-rotate": PossiblyEvaluatedPropertyValue<number>;
"text-rotation-alignment": "map" | "viewport" | "viewport-glyph" | "auto";
"text-size": PossiblyEvaluatedPropertyValue<number>;
"text-transform": PossiblyEvaluatedPropertyValue<
"none"
| "uppercase"
| "lowercase",
>;
"text-variable-anchor": (
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
)[];
"text-variable-anchor-offset": PossiblyEvaluatedPropertyValue<
VariableAnchorOffsetCollection,
>;
"text-writing-mode": ("horizontal" | "vertical")[];
}
"icon-allow-overlap": boolean;
"icon-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>;
"icon-ignore-placement": boolean;
"icon-image": PossiblyEvaluatedPropertyValue<ResolvedImage>;
"icon-keep-upright": boolean;
"icon-offset": PossiblyEvaluatedPropertyValue<[number, number]>;
"icon-optional": boolean;
"icon-overlap": "never" | "always" | "cooperative";
"icon-padding": PossiblyEvaluatedPropertyValue<Padding>;
"icon-pitch-alignment": "map" | "viewport" | "auto";
"icon-rotate": PossiblyEvaluatedPropertyValue<number>;
"icon-rotation-alignment": "map" | "viewport" | "auto";
"icon-size": PossiblyEvaluatedPropertyValue<number>;
"icon-text-fit": "none" | "width" | "height" | "both";
"icon-text-fit-padding": [number, number, number, number];
"symbol-avoid-edges": boolean;
"symbol-placement": "point" | "line" | "line-center";
"symbol-sort-key": PossiblyEvaluatedPropertyValue<number>;
"symbol-spacing": number;
"symbol-z-order": "auto" | "viewport-y" | "source";
"text-allow-overlap": boolean;
"text-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>;
"text-field": PossiblyEvaluatedPropertyValue<Formatted>;
"text-font": PossiblyEvaluatedPropertyValue<string[]>;
"text-ignore-placement": boolean;
"text-justify": PossiblyEvaluatedPropertyValue<
"auto"
| "left"
| "center"
| "right",
>;
"text-keep-upright": boolean;
"text-letter-spacing": PossiblyEvaluatedPropertyValue<number>;
"text-line-height": number;
"text-max-angle": number;
"text-max-width": PossiblyEvaluatedPropertyValue<number>;
"text-offset": PossiblyEvaluatedPropertyValue<[number, number]>;
"text-optional": boolean;
"text-overlap": "never" | "always" | "cooperative";
"text-padding": number;
"text-pitch-alignment": "map" | "viewport" | "auto";
"text-radial-offset": PossiblyEvaluatedPropertyValue<number>;
"text-rotate": PossiblyEvaluatedPropertyValue<number>;
"text-rotation-alignment": "map" | "viewport" | "viewport-glyph" | "auto";
"text-size": PossiblyEvaluatedPropertyValue<number>;
"text-transform": PossiblyEvaluatedPropertyValue<
"none"
| "uppercase"
| "lowercase",
>;
"text-variable-anchor": (
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
)[];
"text-variable-anchor-offset": PossiblyEvaluatedPropertyValue<
VariableAnchorOffsetCollection,
>;
"text-writing-mode": ("horizontal" | "vertical")[];
}
Index
Properties
icon-allow-overlap
icon-anchor
icon-ignore-placement
icon-image
icon-keep-upright
icon-offset
icon-optional
icon-overlap
icon-padding
icon-pitch-alignment
icon-rotate
icon-rotation-alignment
icon-size
icon-text-fit
icon-text-fit-padding
symbol-avoid-edges
symbol-placement
symbol-sort-key
symbol-spacing
symbol-z-order
text-allow-overlap
text-anchor
text-field
text-font
text-ignore-placement
text-justify
text-keep-upright
text-letter-spacing
text-line-height
text-max-angle
text-max-width
text-offset
text-optional
text-overlap
text-padding
text-pitch-alignment
text-radial-offset
text-rotate
text-rotation-alignment
text-size
text-transform
text-variable-anchor
text-variable-anchor-offset
text-writing-mode
Properties
icon-allow-overlap
"icon-allow-overlap": boolean
icon-anchor
"icon-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>
icon-ignore-placement
"icon-ignore-placement": boolean
icon-image
icon-keep-upright
"icon-keep-upright": boolean
icon-offset
icon-optional
"icon-optional": boolean
icon-overlap
"icon-overlap": "never" | "always" | "cooperative"
icon-padding
icon-pitch-alignment
"icon-pitch-alignment": "map" | "viewport" | "auto"
icon-rotate
icon-rotation-alignment
"icon-rotation-alignment": "map" | "viewport" | "auto"
icon-size
icon-text-fit
"icon-text-fit": "none" | "width" | "height" | "both"
icon-text-fit-padding
"icon-text-fit-padding": [number, number, number, number]
symbol-avoid-edges
"symbol-avoid-edges": boolean
symbol-placement
"symbol-placement": "point" | "line" | "line-center"
symbol-sort-key
symbol-spacing
"symbol-spacing": number
symbol-z-order
"symbol-z-order": "auto" | "viewport-y" | "source"
text-allow-overlap
"text-allow-overlap": boolean
text-anchor
"text-anchor": PossiblyEvaluatedPropertyValue<
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right",
>
text-field
text-font
text-ignore-placement
"text-ignore-placement": boolean
text-justify
text-keep-upright
"text-keep-upright": boolean
text-letter-spacing
text-line-height
"text-line-height": number
text-max-angle
"text-max-angle": number
text-max-width
text-offset
text-optional
"text-optional": boolean
text-overlap
"text-overlap": "never" | "always" | "cooperative"
text-padding
"text-padding": number
text-pitch-alignment
"text-pitch-alignment": "map" | "viewport" | "auto"
text-radial-offset
text-rotate
text-rotation-alignment
"text-rotation-alignment": "map" | "viewport" | "viewport-glyph" | "auto"
text-size
text-transform
text-variable-anchor
"text-variable-anchor": (
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
)[]
| "center"
| "left"
| "right"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
)[]
text-variable-anchor-offset
text-writing-mode
"text-writing-mode": ("horizontal" | "vertical")[]
Was this helpful?