Home > @magiclane/maps-sdk > BikeProfileElectricBikeProfile

BikeProfileElectricBikeProfile class

Bike and electric bike routing profile.

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

Routing

Signature:

export declare class BikeProfileElectricBikeProfile 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Creates a container for bike/e-bike profile selection.

Properties

Property

Modifiers

Type

Description

eProfile?

ElectricBikeProfile

(Optional) Selected e-bike profile.

profile

BikeProfile

Selected bike profile. Default is BikeProfile.city.

Methods

Method

Modifiers

Description

equals(other)

Check equality with another BikeProfileElectricBikeProfile

hashCode()

Get hash code for use in maps/sets