TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Classification

    POI category classification with localized names.

    Provides both a standardized category code and human-readable names in multiple languages for displaying POI types.

    const classification: Classification = {
    code: 'RESTAURANT',
    names: [
    { nameLocale: 'en-US', name: 'Restaurant' },
    { nameLocale: 'fr-FR', name: 'Restaurant' },
    { nameLocale: 'de-DE', name: 'Restaurant' }
    ]
    };
    type Classification = {
        code: POICategory;
        names: LocalizedName[];
    }
    Index

    Properties

    Properties

    Standardized category code.

    Use this for programmatic filtering and identification of POI types. See POICategory for available codes.

    names: LocalizedName[]

    Localized names for this category.

    Array of names in different languages/locales for internationalization support.