Home > @magiclane/maps-sdk > EVCarModel

EVCarModel class

An electric vehicle car model used for EV route calculations.

Contains vehicle specifications relevant to EV routing such as battery capacity, charging ports, range, efficiency, and fast charge capability.

Routes & Navigation

Signature:

export declare class EVCarModel extends GemAutoreleaseObject 

Extends: GemAutoreleaseObject

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the EVCarModel class.

Properties

Property

Modifiers

Type

Description

batteryCapacity

readonly

number

The usable battery capacity in Wh.

efficiency

readonly

number

The energy consumption in Wh/km.

fastCharge

readonly

number

How many km can be charged in one hour (10-80% interval).

id

readonly

number

The unique identifier of the car model.

name

readonly

string

The name of the car model.

ports

readonly

number

Supported charging ports, a combination of one or more charging connector types.

towbarPossible

readonly

number

The maximum weight available on the vehicle towbar.

vehicleRange

readonly

number

The vehicle range in meters.