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

# Variable SVGTextContentElement

SVGTextContentElement: {  
    LENGTHADJUST\_SPACING: 1;  
    LENGTHADJUST\_SPACINGANDGLYPHS: 2;  
    LENGTHADJUST\_UNKNOWN: 0;  
    prototype: [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/);  
    new (): [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/);  
}

#### Type Declaration

-   -   new (): [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/)
    -   #### Returns [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/)
        
-   ##### `Readonly`LENGTHADJUST\_SPACING: 1
    
-   ##### `Readonly`LENGTHADJUST\_SPACINGANDGLYPHS: 2
    
-   ##### `Readonly`LENGTHADJUST\_UNKNOWN: 0
    
-   ##### prototype: [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/)
