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

    Class BikeProfileElectricBikeProfile

    Bike and electric bike routing profile.

    Container used to select a standard bike profile or an electric-bike profile for routing. The profile field selects the general cycling behaviour (city, road, etc.) while eProfile holds optional electric-specific parameters.

    Index

    Constructors

    Properties

    Selected e-bike profile.

    profile: BikeProfile

    Selected bike profile. Default is BikeProfile.city.

    Methods

    • Get hash code for use in maps/sets

      Returns number

    • Internal

      Serializes this instance to a JSON-compatible map.

      Used internally, not intended for direct use by consumers. The map structure may change without notice.

      Returns Record<string, any>

      JSON-compatible map

    • Internal

      Deserializes a JSON-compatible map to create an instance.

      Used internally, not intended for direct use by consumers. The expected map structure may change without notice.

      Parameters

      • json: any

        JSON-compatible map

      Returns BikeProfileElectricBikeProfile

      A new BikeProfileElectricBikeProfile instance