new LayerStyleConverter(_styleFactory)
MapboxViewer/infrastructure/adapters/style-converters/LayerStyleConverter.ts, line 6
Creates a LayerStyleConverter instance.
| Name | Type | Description |
|---|---|---|
_styleFactory |
The style factory to use. |
Methods
-
convert(map, layerOpts)
MapboxViewer/infrastructure/adapters/style-converters/LayerStyleConverter.ts, line 26 -
Converts layer options into a Mapbox style configuration.
Name Type Description mapThe Mapbox map instance.
layerOptsThe options for the layer, including style configurations.
Returns:
A style conversion result compatible with Mapbox.
