Skip to content

VehicleMarkerAppearance

How an empty vehicle shows on the radar, for vehicles.setMarker and as an answer to vehicleMarkerAppearanceRequest. A field left out keeps its default.

Renamed in 0.28 from VehicleMarkerSettings; see renamed names.

type VehicleMarkerAppearance = {
visible?: boolean; colorRgba?: number;
};
type VehicleMarkerAppearanceDecision = boolean | VehicleMarkerAppearance | void;
Field Type Description
visible boolean Optional. Whether it shows.
colorRgba number Optional. 0xRRGGBBAA; alpha 0 hides it.