TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DisplayPlaceProps

    DisplayPlaceProps: CommonPlaceProps & PlaceDisplayProps

    Full property shape used by the PlacesModule when rendering a place: the core place data (CommonPlaceProps) merged with the display-only fields the module attaches (PlaceDisplayProps).

    const place: DisplayPlaceProps = {
    type: 'POI',
    poi: {
    name: 'Central Station',
    categories: ['RAILWAY_STATION'],
    },
    address: {
    streetName: 'Damrak',
    municipalitySubdivision: 'Amsterdam',
    countryCode: 'NL',
    },
    id: 'place-123',
    title: 'Amsterdam Central Station',
    iconID: 'poi-railway_station',
    category: 'railway_station',
    group: 'transport',
    };