---
title: "FeatureBase | 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 FeatureBase

type FeatureBase \= {  
    [id](#id): string;  
    [language](#language)?: string;  
    [text](#text): string;  
    \[text: \`text\_${string}\`\]: string;  
    \[language: \`language\_${string}\`\]: string;  
}

#### Indexable

-   \[text: \`text\_${string}\`\]: string
    
    A string analogous to the `text` field that matches the query in the requested language. This field is only returned when multiple languages are requested using the `language` parameter, and will be present for each requested language.
    
-   \[language: \`language\_${string}\`\]: string
    
    A ISO 639-1 query's fallback language code. This field is only returned when multiple languages are requested using the `language` parameter, and will be present for each requested language.
    

##### Index

### Properties[](#properties)

[id](#id) [language?](#language) [text](#text)

## Properties[](#properties-1)

### id[](#id)

id: string

Unique feature ID

### `Optional`language[](#language)

language?: string

Query's primary ISO 639-1 language code

### text[](#text)

text: string

Localized feature name
