toLayerComponent static method
Implementation
static TileLayerComponent toLayerComponent(Layer layer) {
return TileLayerComponent(
id: layer.id ?? 0,
tiles: layer.tiles,
position: layer.position,
visible: layer.visible,
name: layer.name,
layerClass: layer.layerClass,
opacity: layer.opacity,
properties: layer.properties,
priority: layer.priority,
);
}