Home > @magiclane/maps-sdk > CarProfile

CarProfile class

Car routing profile.

Profile used for car routing. Extends MotorVehicleProfile and exposes parameters relevant when computing car routes.

Routing

Signature:

export declare class CarProfile extends MotorVehicleProfile 

Extends: MotorVehicleProfile

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Car profile constructor with predefined FuelType.petrol as fuel type.

Methods

Method

Modifiers

Description

equals(other)

Check equality with another CarProfile

hashCode()

Get hash code for use in maps/sets