@regionerne/gis-komponent 0.0.109 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1354,7 +1354,7 @@ class KomponentSettingsHelperService {
1354
1354
  const fillStyle = styles.find((s) => s?.getFill?.());
1355
1355
  // find first style with stroke for LineString
1356
1356
  const strokeStyle = styles.find((s) => s?.getStroke?.());
1357
- return (geomType === 'Polygon' ? fillStyle?.getFill()?.getColor() : strokeStyle?.getFill()?.getColor()) || null;
1357
+ return (geomType === 'Polygon' ? fillStyle?.getFill()?.getColor() : strokeStyle?.getStroke()?.getColor()) || null;
1358
1358
  }
1359
1359
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: KomponentSettingsHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1360
1360
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: KomponentSettingsHelperService, providedIn: 'root' });