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

type FeatureProperties \= {  
    [categories](#categories)?: string\[\];  
    [country\_code](#country_code): string;  
    [kind](#kind)?:  
        | "road"  
        | "road\_relation"  
        | "admin\_area"  
        | "place"  
        | "street"  
        | "virtual\_street";  
    ["osm:place\_type"](#osmplace_type)?: string;  
    ["osm:tags"](#osmtags)?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, string\>;  
    [ref](#ref): string;  
    [wikidata](#wikidata)?: string;  
}

##### Index

### Properties[](#properties)

[categories?](#categories) [country\_code](#country_code) [kind?](#kind) [osm:place\_type?](#osmplace_type) [osm:tags?](#osmtags) [ref](#ref) [wikidata?](#wikidata)

## Properties[](#properties-1)

### `Optional`categories[](#categories)

categories?: string\[\]

Array of POI categories. Only available for `poi` type.

### country\_code[](#country_code)

country\_code: string

ISO 3166-1 alpha-2 country code of the feature

### `Optional`kind[](#kind)

kind?:  
    | "road"  
    | "road\_relation"  
    | "admin\_area"  
    | "place"  
    | "street"  
    | "virtual\_street"

(experimental) Kind of the feature

### `Optional`osm:place\_type[](#osmplace_type)

"osm:place\_type"?: string

(experimental) Value of place=\* tag from OpenStreetMap feature if kind=place

### `Optional`osm:tags[](#osmtags)

"osm:tags"?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, string\>

(experimental) Feature tags from OpenStreetMap. Only available for `poi` type.

### ref[](#ref)

ref: string

External reference of the feature used for debugging purposes

### `Optional`wikidata[](#wikidata)

wikidata?: string

Wikidata identifier.
