Browse Source

doSetup in shapes-data-layer

pull/14155/head
LeoMorgan113 10 months ago
parent
commit
e96ec31c67
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/shapes-data-layer.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/shapes-data-layer.ts

@ -371,7 +371,7 @@ export abstract class TbShapesDataLayer<S extends ShapeDataLayerSettings, L exte
protected doSetup(): Observable<any> {
this.shapePatternProcessor = ShapePatternProcessor.fromSettings(this, this.settings);
this.strokeColorProcessor = new DataLayerColorProcessor(this, this.settings.strokeColor);
return forkJoin([this.shapePatternProcessor ? this.shapePatternProcessor.setup() : of([]), this.strokeColorProcessor.setup()]);
return forkJoin([this.shapePatternProcessor.setup(), this.strokeColorProcessor.setup()]);
}
}

Loading…
Cancel
Save