Home > @magiclane/maps-sdk > VehicleRegistration

VehicleRegistration class

Vehicle registration information.

Base class that holds vehicle registration details used by routing and transport-related preferences. Subclasses such as MotorVehicleProfile and ElectricBikeProfile extend this to provide additional routing parameters.

Routing

Signature:

export declare class VehicleRegistration 

Constructors

Constructor

Modifiers

Description

(constructor)(plateNumber)

Creates a registration record containing the vehicle's plate number.

Properties

Property

Modifiers

Type

Description

plateNumber

string

Methods

Method

Modifiers

Description

equals(other)

Check equality with another VehicleRegistration

hashCode()

Get hash code for use in maps/sets

hashString(str)

protected