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

    Type Alias StandardStyle

    Configuration for a TomTom standard map style.

    Provides options to customize which style parts are included.

    // Standard style with every style part
    const style: StandardStyle = {
    id: 'standardLight'
    };

    // Leave the traffic parts out
    const styleNoTraffic: StandardStyle = {
    id: 'standardLight',
    include: ['terrain']
    };
    type StandardStyle = {
        id?: StandardStyleID;
        include?: StylePart[];
    }
    Index

    Standard style identifier.

    Determines the visual appearance of the map.

    include?: StylePart[]

    Which StyleParts to load. Leave it out for every part; [] loads none.

    All style parts