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

# Class RTTFingerprint

Immutable value describing the state a render-to-texture tile's textures were rendered from: the source tiles drawn into them, the source data revision, the map zoom (zoom-dependent style properties are evaluated then) and the ids of the layers visible at that zoom.

#### Internal[](#internal)

##### Index

### Constructors

[constructor](#constructor)

### Methods

[difference](#difference)

## Constructors

### constructor[](#constructor)

-   new RTTFingerprint(  
        coords: [OverscaledTileID](https://docs.maptiler.com/sdk-js/api-reference/interfaces/OverscaledTileID/)\[\],  
        revision: number,  
        zoom: number,  
        visibleLayerIds: string,  
    ): RTTFingerprint[](#constructorrttfingerprint)
    
    #### Parameters
    
    -   coords: [OverscaledTileID](https://docs.maptiler.com/sdk-js/api-reference/interfaces/OverscaledTileID/)\[\]
    -   revision: number
    -   zoom: number
    -   visibleLayerIds: string
    
    #### Returns RTTFingerprint
    

## Methods

### difference[](#difference)

-   difference(  
        other: RTTFingerprint | undefined,  
    ): "zoom" | "none" | "sourceTiles" | "visibleLayers" | "revision"[](#difference-1)
    
    The most severe difference between this fingerprint and the one the textures were rendered from, `none` when they match. A missing fingerprint counts as a revision difference.
    
    #### Parameters
    
    -   other: RTTFingerprint | undefined
    
    #### Returns "zoom" | "none" | "sourceTiles" | "visibleLayers" | "revision"
