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

    Type Alias DatasetMode

    DatasetMode: "single" | "multiple"

    The per-slice display policy. With multiple (default), several history datasets can be on the map at once. With single, only the most recent one stays. Switching from multiple to single automatically drops every dataset except the latest and clears their modules, so the map matches the new policy immediately.