TomTom Maps for JavaScript
    Preparing search index...

    Type Alias POI

    Point of Interest (POI) information.

    Contains detailed information about a place such as a business, landmark, or facility. This data enriches basic place information with operational details and categorization.

    const poi: POI = {
    name: 'Central Station Café',
    phone: '+31 20 123 4567',
    brands: ['Starbucks'],
    categoryIds: [7315025],
    categories: ['Café'],
    url: 'https://example.com',
    openingHours: { mode: 'nextSevenDays', timeRanges: [...], alwaysOpenThisPeriod: false }
    };
    type POI = {
        brands?: string[];
        categories?: string[];
        categoryIds?: number[];
        classifications?: Classification[];
        name: string;
        openingHours?: OpeningHours;
        phone?: string;
        timeZone?: TimeZone;
        url?: string;
    }
    Index

    Properties

    brands?: string[]

    Brand names associated with this POI.

    For chain locations, identifies the brand (e.g., 'Starbucks', 'Shell', 'Marriott').

    categories?: string[]

    Human-readable category names for the POI.

    Localized text descriptions of the POI categories (e.g., 'Restaurant', 'Gas Station', 'Hotel').

    categoryIds?: number[]

    Category identifiers for the POI.

    Numeric IDs corresponding to the POI category classification system. Use these for filtering or identifying POI types programmatically.

    classifications?: Classification[]

    Detailed category classifications with localized names.

    Provides category information in multiple languages and includes standardized codes.

    name: string

    Name of the point of interest.

    The primary display name, localized according to the request language.

    openingHours?: OpeningHours

    Operating hours information.

    Specifies when the POI is open, including daily schedules and special hours. Useful for determining if a location is currently open or planning visits.

    phone?: string

    Contact phone number for the POI.

    Typically includes country code (e.g., '+31 20 123 4567').

    timeZone?: TimeZone

    Time zone of the POI location.

    Used for interpreting opening hours and scheduling visits across time zones.

    url?: string

    Website URL for the POI.

    Official website or online presence for the business or location.