new LayerConvertionFactory()
MapboxViewer/infrastructure/factories/LayerConvertionFactory.ts, line 16
Creates a LayerConvertionFactory instance.
Methods
-
canConvert(layer)
MapboxViewer/infrastructure/factories/LayerConvertionFactory.ts, line 57 -
Checks if a layer can be converted.
Name Type Description layerThe layer to check.
Returns:
True if convertible. -
getStrategy(layer)
MapboxViewer/infrastructure/factories/LayerConvertionFactory.ts, line 44 -
Gets the conversion strategy for a given layer.
Name Type Description layerThe layer to convert.
Returns:
The strategy or null if not found. -
registerStrategies()
MapboxViewer/infrastructure/factories/LayerConvertionFactory.ts, line 26 -
Registers all available conversion strategies.
