This is the documentation of version 1.0.0-rc.6. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CommonPlaceProps

    The properties all place types share.

    They include the 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

    Structured address components.

    addressRanges?: AddressRanges

    The address ranges along a street segment, present only when type === 'Address Range'.

    chargingPark?: ChargingPark

    The EV charging infrastructure, present only for electric vehicle charging station POIs.

    dataSources?: PlaceDataSources

    References to additional data sources, with IDs for fetching more detailed information from other services (geometry).

    entryPoints?: EntryPoint[]

    The physical entry points (entrances) of the place.

    geographyType?: GeographyType[]

    The geographic entity types, present only when type === 'Geography'.

    An area with multiple administrative roles has multiple types.

    mapcodes?: Mapcode[]

    The mapcodes of this location, which you can use instead of coordinates.

    poi?: POI

    The Point of Interest information, such as business details, categories and hours, present only when type === 'POI'.

    relatedPois?: RelatedPOI[]

    The related parent or child POIs, such as stores within a mall or a mall containing stores.

    type: PlaceType

    The type of this place.