Home > @magiclane/maps-sdk > LaneImageRenderSettings > (constructor)

LaneImageRenderSettings.(constructor)

Creates lane guidance rendering settings with customizable colors.

Initializes rendering settings for lane guidance images. All color parameters are optional and default to values optimized for clarity: transparent background, white for recommended lanes, and gray for non-recommended lanes.

Signature:

constructor(backgroundColor?: Color, activeColor?: Color, inactiveColor?: Color);

Parameters

Parameter

Type

Description

backgroundColor

Color

(Optional) Background color behind the lane symbols (default: transparent)

activeColor

Color

(Optional) Color for lanes the driver should use (default: white)

inactiveColor

Color

(Optional) Color for lanes the driver should avoid (default: gray)