TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DisplayPlaceProps

    DisplayPlaceProps: CommonPlaceProps & PlaceDisplayProps

    Place base and display properties combined.

    Merges complete place information from the core API with display-specific properties for rendering on the map.

    This is the full type used by the PlacesModule for rendering search results, POIs, and other location markers on the map. It combines:

    • Geographic data (coordinates, address)
    • Place metadata (POI info, opening hours, etc.)
    • Display properties (icon, title, category)
    • Interactive state (event handling)
    const place: DisplayPlaceProps = {
    type: 'Point',
    position: { lon: 4.9, lat: 52.3 },
    address: {
    streetName: 'Damrak',
    municipalitySubdivision: 'Amsterdam',
    countryCode: 'NL'
    },
    poi: {
    name: 'Central Station',
    categories: ['RAILWAY_STATION']
    },
    id: 'place-123',
    title: 'Amsterdam Central Station',
    iconID: 'poi-transit',
    category: 'RAILWAY_STATION'
    };