@magiclane/maps-sdk
    Preparing search index...

    Enumeration RangeType

    Range type to define ranges in.

    Unit type to define ranges in. Currently only used for the roundtrips feature, not the ranges (aka isochrones) feature.

    Index

    Enumeration Members

    defaultType: 0

    Use distanceBased for route type "shortest" and timeBased for route type "fastest" (backward compatibility)

    distanceBased: 1

    Range unit is in meters

    energyBased: 3

    Range unit is in Watt-hours (not currently supported for roundtrips)

    timeBased: 2

    Range unit is in seconds