TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CommonPlaceProps

    Common properties shared by all place types.

    Provides the base structure for place information including address, entry points, POI details, and data source references.

    type CommonPlaceProps = {
        address: AddressProperties;
        addressRanges?: AddressRanges;
        chargingPark?: ChargingPark;
        dataSources?: PlaceDataSources;
        entryPoints?: EntryPoint[];
        geographyType?: GeographyType[];
        mapcodes?: Mapcode[];
        poi?: POI;
        relatedPois?: RelatedPOI[];
        type: PlaceType;
    }
    Index

    Properties

    Structured address components.

    addressRanges?: AddressRanges

    Address ranges along a street segment.

    Present only when type === 'Address Range'.

    chargingPark?: ChargingPark

    EV charging infrastructure information.

    Present only for Electric Vehicle charging station POIs.

    dataSources?: PlaceDataSources

    References to additional data sources.

    IDs for fetching more detailed information from other services (geometry, availability, POI details).

    entryPoints?: EntryPoint[]

    Physical entry points (entrances) to the place.

    Useful for navigation to direct users to the correct entrance.

    geographyType?: GeographyType[]

    Geographic entity type(s).

    Present only when type === 'Geography'. Array can contain multiple types for areas with multiple administrative roles.

    mapcodes?: Mapcode[]

    Mapcode representations of this location.

    Alternative location codes that can be used instead of coordinates.

    poi?: POI

    Point of Interest information.

    Present only when type === 'POI'. Contains business details, categories, hours, etc.

    relatedPois?: RelatedPOI[]

    Related Points of Interest.

    Parent or child POIs (e.g., stores within a mall, a mall containing stores).

    type: PlaceType

    Type classification of this place.