TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ChargingStopIconConfig

    Icon display configuration for charging stops along the route.

    type ChargingStopIconConfig = {
        customIcons?: CustomImage[];
        mapping?: ChargingStopIconMapping;
    }
    Index

    Properties

    customIcons?: CustomImage[]

    Optional custom icons to be added to the map style for charging stops.

    These icons can be referenced in the mapping configuration to customize the appearance of charging stop markers based on specific criteria.

    Mapping configuration, from charging stop objects to sprite image IDs.

    Defines how to select the appropriate icon for each charging stop based on its properties, such as charging speed or a custom mapping function. Does not necessary require custom icons to be provided. If not provided, default icons will be used.