getStyleById()
Home > @gooddata/sdk-backend-spi > IGeoService > getStyleById
IGeoService.getStyleById() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Loads the MapLibre style for a specific style identifier.
Signature:
getStyleById(styleId: string, params?: IGeoStyleParams): Promise<IGeoStyleSpecification>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
styleId |
string |
Style identifier (e.g. |
|
params |
(Optional) Optional query parameters. |
Returns:
Promise<IGeoStyleSpecification>