---
title: "SymbolLayoutPropsPossiblyEvaluated | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias SymbolLayoutPropsPossiblyEvaluated

type SymbolLayoutPropsPossiblyEvaluated \= {  
    ["icon-allow-overlap"](#icon-allow-overlap): boolean;  
    ["icon-anchor"](#icon-anchor): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
        | "center"  
        | "left"  
        | "right"  
        | "top"  
        | "bottom"  
        | "top-left"  
        | "top-right"  
        | "bottom-left"  
        | "bottom-right",  
    \>;  
    ["icon-ignore-placement"](#icon-ignore-placement): boolean;  
    ["icon-image"](#icon-image): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[ResolvedImage](https://docs.maptiler.com/sdk-js/api-reference/classes/ResolvedImage/)\>;  
    ["icon-keep-upright"](#icon-keep-upright): boolean;  
    ["icon-offset"](#icon-offset): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<\[number, number\]\>;  
    ["icon-optional"](#icon-optional): boolean;  
    ["icon-overlap"](#icon-overlap): "never" | "always" | "cooperative";  
    ["icon-padding"](#icon-padding): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[Padding](https://docs.maptiler.com/sdk-js/api-reference/classes/Padding/)\>;  
    ["icon-pitch-alignment"](#icon-pitch-alignment): "map" | "viewport" | "auto";  
    ["icon-rotate"](#icon-rotate): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["icon-rotation-alignment"](#icon-rotation-alignment): "map" | "viewport" | "auto";  
    ["icon-size"](#icon-size): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["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-sort-key): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["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](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
        | "center"  
        | "left"  
        | "right"  
        | "top"  
        | "bottom"  
        | "top-left"  
        | "top-right"  
        | "bottom-left"  
        | "bottom-right",  
    \>;  
    ["text-field"](#text-field): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[Formatted](https://docs.maptiler.com/sdk-js/api-reference/classes/Formatted/)\>;  
    ["text-font"](#text-font): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<string\[\]\>;  
    ["text-ignore-placement"](#text-ignore-placement): boolean;  
    ["text-justify"](#text-justify): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
        "auto"  
        | "left"  
        | "center"  
        | "right",  
    \>;  
    ["text-keep-upright"](#text-keep-upright): boolean;  
    ["text-letter-spacing"](#text-letter-spacing): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["text-line-height"](#text-line-height): number;  
    ["text-max-angle"](#text-max-angle): number;  
    ["text-max-width"](#text-max-width): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["text-offset"](#text-offset): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<\[number, number\]\>;  
    ["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-radial-offset): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["text-rotate"](#text-rotate): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["text-rotation-alignment"](#text-rotation-alignment): "map" | "viewport" | "viewport-glyph" | "auto";  
    ["text-size"](#text-size): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>;  
    ["text-transform"](#text-transform): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
        "none"  
        | "uppercase"  
        | "lowercase",  
    \>;  
    ["text-variable-anchor"](#text-variable-anchor): (  
        | "center"  
        | "left"  
        | "right"  
        | "top"  
        | "bottom"  
        | "top-left"  
        | "top-right"  
        | "bottom-left"  
        | "bottom-right"  
    )\[\];  
    ["text-variable-anchor-offset"](#text-variable-anchor-offset): [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
        [VariableAnchorOffsetCollection](https://docs.maptiler.com/sdk-js/api-reference/classes/VariableAnchorOffsetCollection/),  
    \>;  
    ["text-writing-mode"](#text-writing-mode): ("horizontal" | "vertical")\[\];  
}

##### Index

### Properties[](#properties)

[icon-allow-overlap](#icon-allow-overlap) [icon-anchor](#icon-anchor) [icon-ignore-placement](#icon-ignore-placement) [icon-image](#icon-image) [icon-keep-upright](#icon-keep-upright) [icon-offset](#icon-offset) [icon-optional](#icon-optional) [icon-overlap](#icon-overlap) [icon-padding](#icon-padding) [icon-pitch-alignment](#icon-pitch-alignment) [icon-rotate](#icon-rotate) [icon-rotation-alignment](#icon-rotation-alignment) [icon-size](#icon-size) [icon-text-fit](#icon-text-fit) [icon-text-fit-padding](#icon-text-fit-padding) [symbol-avoid-edges](#symbol-avoid-edges) [symbol-placement](#symbol-placement) [symbol-sort-key](#symbol-sort-key) [symbol-spacing](#symbol-spacing) [symbol-z-order](#symbol-z-order) [text-allow-overlap](#text-allow-overlap) [text-anchor](#text-anchor) [text-field](#text-field) [text-font](#text-font) [text-ignore-placement](#text-ignore-placement) [text-justify](#text-justify) [text-keep-upright](#text-keep-upright) [text-letter-spacing](#text-letter-spacing) [text-line-height](#text-line-height) [text-max-angle](#text-max-angle) [text-max-width](#text-max-width) [text-offset](#text-offset) [text-optional](#text-optional) [text-overlap](#text-overlap) [text-padding](#text-padding) [text-pitch-alignment](#text-pitch-alignment) [text-radial-offset](#text-radial-offset) [text-rotate](#text-rotate) [text-rotation-alignment](#text-rotation-alignment) [text-size](#text-size) [text-transform](#text-transform) [text-variable-anchor](#text-variable-anchor) [text-variable-anchor-offset](#text-variable-anchor-offset) [text-writing-mode](#text-writing-mode)

## Properties[](#properties-1)

### icon-allow-overlap[](#icon-allow-overlap)

"icon-allow-overlap": boolean

### icon-anchor[](#icon-anchor)

"icon-anchor": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
    | "center"  
    | "left"  
    | "right"  
    | "top"  
    | "bottom"  
    | "top-left"  
    | "top-right"  
    | "bottom-left"  
    | "bottom-right",  
\>

### icon-ignore-placement[](#icon-ignore-placement)

"icon-ignore-placement": boolean

### icon-image[](#icon-image)

"icon-image": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[ResolvedImage](https://docs.maptiler.com/sdk-js/api-reference/classes/ResolvedImage/)\>

### icon-keep-upright[](#icon-keep-upright)

"icon-keep-upright": boolean

### icon-offset[](#icon-offset)

"icon-offset": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<\[number, number\]\>

### icon-optional[](#icon-optional)

"icon-optional": boolean

### icon-overlap[](#icon-overlap)

"icon-overlap": "never" | "always" | "cooperative"

### icon-padding[](#icon-padding)

"icon-padding": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[Padding](https://docs.maptiler.com/sdk-js/api-reference/classes/Padding/)\>

### icon-pitch-alignment[](#icon-pitch-alignment)

"icon-pitch-alignment": "map" | "viewport" | "auto"

### icon-rotate[](#icon-rotate)

"icon-rotate": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### icon-rotation-alignment[](#icon-rotation-alignment)

"icon-rotation-alignment": "map" | "viewport" | "auto"

### icon-size[](#icon-size)

"icon-size": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### icon-text-fit[](#icon-text-fit)

"icon-text-fit": "none" | "width" | "height" | "both"

### icon-text-fit-padding[](#icon-text-fit-padding)

"icon-text-fit-padding": \[number, number, number, number\]

### symbol-avoid-edges[](#symbol-avoid-edges)

"symbol-avoid-edges": boolean

### symbol-placement[](#symbol-placement)

"symbol-placement": "point" | "line" | "line-center"

### symbol-sort-key[](#symbol-sort-key)

"symbol-sort-key": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### symbol-spacing[](#symbol-spacing)

"symbol-spacing": number

### symbol-z-order[](#symbol-z-order)

"symbol-z-order": "auto" | "viewport-y" | "source"

### text-allow-overlap[](#text-allow-overlap)

"text-allow-overlap": boolean

### text-anchor[](#text-anchor)

"text-anchor": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
    | "center"  
    | "left"  
    | "right"  
    | "top"  
    | "bottom"  
    | "top-left"  
    | "top-right"  
    | "bottom-left"  
    | "bottom-right",  
\>

### text-field[](#text-field)

"text-field": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<[Formatted](https://docs.maptiler.com/sdk-js/api-reference/classes/Formatted/)\>

### text-font[](#text-font)

"text-font": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<string\[\]\>

### text-ignore-placement[](#text-ignore-placement)

"text-ignore-placement": boolean

### text-justify[](#text-justify)

"text-justify": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
    "auto"  
    | "left"  
    | "center"  
    | "right",  
\>

### text-keep-upright[](#text-keep-upright)

"text-keep-upright": boolean

### text-letter-spacing[](#text-letter-spacing)

"text-letter-spacing": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### text-line-height[](#text-line-height)

"text-line-height": number

### text-max-angle[](#text-max-angle)

"text-max-angle": number

### text-max-width[](#text-max-width)

"text-max-width": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### text-offset[](#text-offset)

"text-offset": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<\[number, number\]\>

### text-optional[](#text-optional)

"text-optional": boolean

### text-overlap[](#text-overlap)

"text-overlap": "never" | "always" | "cooperative"

### text-padding[](#text-padding)

"text-padding": number

### text-pitch-alignment[](#text-pitch-alignment)

"text-pitch-alignment": "map" | "viewport" | "auto"

### text-radial-offset[](#text-radial-offset)

"text-radial-offset": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### text-rotate[](#text-rotate)

"text-rotate": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### text-rotation-alignment[](#text-rotation-alignment)

"text-rotation-alignment": "map" | "viewport" | "viewport-glyph" | "auto"

### text-size[](#text-size)

"text-size": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<number\>

### text-transform[](#text-transform)

"text-transform": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
    "none"  
    | "uppercase"  
    | "lowercase",  
\>

### text-variable-anchor[](#text-variable-anchor)

"text-variable-anchor": (  
    | "center"  
    | "left"  
    | "right"  
    | "top"  
    | "bottom"  
    | "top-left"  
    | "top-right"  
    | "bottom-left"  
    | "bottom-right"  
)\[\]

### text-variable-anchor-offset[](#text-variable-anchor-offset)

"text-variable-anchor-offset": [PossiblyEvaluatedPropertyValue](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.PossiblyEvaluatedPropertyValue/)<  
    [VariableAnchorOffsetCollection](https://docs.maptiler.com/sdk-js/api-reference/classes/VariableAnchorOffsetCollection/),  
\>

### text-writing-mode[](#text-writing-mode)

"text-writing-mode": ("horizontal" | "vertical")\[\]
