On this page

Type Alias FeatureProperties

type FeatureProperties = {
    categories?: string[];
    country_code: string;
    kind?:
        | "road"
        | "road_relation"
        | "admin_area"
        | "place"
        | "street"
        | "virtual_street";
    "osm:place_type"?: string;
    "osm:tags"?: Record<string, string>;
    ref: string;
    wikidata?: string;
}
Index

Properties

categories?: string[]

Array of POI categories. Only available for poi type.

country_code: string

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

kind?:
    | "road"
    | "road_relation"
    | "admin_area"
    | "place"
    | "street"
    | "virtual_street"

(experimental) Kind of the feature

"osm:place_type"?: string

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

"osm:tags"?: Record<string, string>

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

ref: string

External reference of the feature used for debugging purposes

wikidata?: string

Wikidata identifier.

Was this helpful?
SDK JS
Reference
FeatureProperties