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 |
(Optional) Background color behind the lane symbols (default: transparent) | |
|
activeColor |
(Optional) Color for lanes the driver should use (default: white) | |
|
inactiveColor |
(Optional) Color for lanes the driver should avoid (default: gray) |