Skip to main content

flywave-3dtile-datasource.tilerenderdatasource.updatestylebyid

Home > @flywave/flywave-3dtile-datasource > TileRenderDataSource > updateStyleById

TileRenderDataSource.updateStyleById() method

Update style properties by its identifier.

Signature:

updateStyleById(id: string, updates: Partial<Style>): boolean;

Parameters

Parameter

Type

Description

id

string

The style identifier.

updates

Partial<Style>

The style properties to update.

Returns:



boolean

`true` if style was found and updated, `false` otherwise.