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

    Type Alias StyleInput

    StyleInput: StandardStyleID | StandardStyle & { type: "standard" }

    The map style to initialize the map with.

    The map loads TomTom standard styles only. Restyle one at runtime with StylingFoundationsModule.

    // A standard style ID
    style: 'streetLight'

    // A standard style with the parts it includes
    style: {
    type: 'standard',
    id: 'streetLight',
    include: ['trafficFlow', 'terrain']
    }