Class: StyleConversionService

StyleConversionService

Service for converting layer styles from GO layer options to Mapbox format.

new StyleConversionService()

MapboxViewer/application/services/StyleConversionService.ts, line 6

Methods

asyncconvertFromDataLayerOptions(map, layerOpts)

MapboxViewer/application/services/StyleConversionService.ts, line 22

Converts layer options to Mapbox style conversion result.

Name Type Description
map

The Mapbox map instance.

layerOpts

The GO layer options.

Returns:
The style conversion result.