---
title: "PropertyValue | 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.

# Interface PropertyValue<T, R>

#### Deprecated[](#deprecated)

Will be removed from public API in MapTiler SDK v4

interface PropertyValue<[T](#t), [R](#r)\> {  
    [expression](#expression): [StylePropertyExpression](https://docs.maptiler.com/sdk-js/api-reference/types/StylePropertyExpression/);  
    [property](#property): [Property](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Property/)<[T](#t), [R](#r)\>;  
    [value](#value): void | [PropertyValueSpecification](https://docs.maptiler.com/sdk-js/api-reference/types/PropertyValueSpecification/)<[T](#t)\>;  
    [getGlobalStateRefs](#getglobalstaterefs-1)(): Set<string\>;  
    [isDataDriven](#isdatadriven-1)(): boolean;  
    [possiblyEvaluate](#possiblyevaluate-1)(  
        parameters: [EvaluationParameters](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.EvaluationParameters/),  
        canonical?: [ICanonicalTileID](https://docs.maptiler.com/sdk-js/api-reference/interfaces/ICanonicalTileID/),  
        availableImages?: string\[\],  
    ): [R](#r);  
}

#### Type Parameters

-   T
-   R

##### Index

### Properties[](#properties)

[expression](#expression) [property](#property) [value](#value)

### Methods[](#methods)

[getGlobalStateRefs](#getglobalstaterefs) [isDataDriven](#isdatadriven) [possiblyEvaluate](#possiblyevaluate)

## Properties[](#properties-1)

### expression[](#expression)

expression: [StylePropertyExpression](https://docs.maptiler.com/sdk-js/api-reference/types/StylePropertyExpression/)

### property[](#property)

property: [Property](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Property/)<[T](#t), [R](#r)\>

### value[](#value)

value: void | [PropertyValueSpecification](https://docs.maptiler.com/sdk-js/api-reference/types/PropertyValueSpecification/)<[T](#t)\>

## Methods[](#methods-1)

### getGlobalStateRefs[](#getglobalstaterefs)

-   getGlobalStateRefs(): Set<string\>[](#getglobalstaterefs-1)
    
    #### Returns Set<string\>
    

### isDataDriven[](#isdatadriven)

-   isDataDriven(): boolean[](#isdatadriven-1)
    
    #### Returns boolean
    

### possiblyEvaluate[](#possiblyevaluate)

-   possiblyEvaluate(  
        parameters: [EvaluationParameters](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.EvaluationParameters/),  
        canonical?: [ICanonicalTileID](https://docs.maptiler.com/sdk-js/api-reference/interfaces/ICanonicalTileID/),  
        availableImages?: string\[\],  
    ): [R](#r)[](#possiblyevaluate-1)
    
    #### Parameters
    
    -   parameters: [EvaluationParameters](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.EvaluationParameters/)
    -   `Optional`canonical: [ICanonicalTileID](https://docs.maptiler.com/sdk-js/api-reference/interfaces/ICanonicalTileID/)
    -   `Optional`availableImages: string\[\]
    
    #### Returns [R](#r)
