TomTom Maps for JavaScript
    Preparing search index...

    Function sectionSourceKey

    • The key the given section type's source, events scope and getShown() entry are filed under.

      Type Parameters

      Parameters

      • type: T

      Returns SectionSourceKey<T>

      routing.events[sectionSourceKey('lowEmissionZone')].on('click', (section) => { … });
      const tunnels = routing.getShown()[sectionSourceKey('tunnel')];