Listener that is invoked during directions when a MPRouteLeg is selected.

Export

OnLegSelectedListener

interface OnLegSelectedListener ((legIndex) => void)
  • when a new leg index is selected.

    Parameters

    • legIndex: number

      The selected leg index.

    Returns void

Generated using TypeDoc