@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPRouteLeg

    A leg of a MPRoute is defined as all steps between any context shifts (entering/exiting buildings, changing floors).

    A leg is comprised of a list of steps as well as a startLocation and an endLocation.

    MPRouteLeg

    Index

    Properties

    distance?: MPRouteProperty

    The distance of the leg.

    duration?: MPRouteProperty

    The expected time it takes to traverse the leg.

    endAdress?: string

    The address at the end of the leg.

    endLocation?: MPRouteCoordinate

    The end coordinate of the leg.

    legEndReason?: string

    The reason for the end of the leg.

    legStartReason?: string

    The reason for the start of the leg.

    startAddress?: string

    The address at the start of the leg.

    startLocation?: MPRouteCoordinate

    The start coordinate of the leg.

    steps?: MPRouteStep[]

    The steps the leg consists of.

    stopIndex?: number

    The index of the stop.

    Methods