@regionerne/gis-komponent 0.0.105 → 0.0.107

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.
@@ -52,6 +52,7 @@ export declare class ToolboxComponent implements OnInit, OnChanges {
52
52
  private _originalMapWidth;
53
53
  private _originalMapHeight;
54
54
  private pointClickKey?;
55
+ private _cursorLayerForDraw?;
55
56
  private _geometrySearchService;
56
57
  private _polygonCleanupService;
57
58
  private drawInteraction?;
@@ -2,6 +2,7 @@ import { GeoServer } from '../models/geoserver';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Style } from 'ol/style';
4
4
  import { StyleFunction } from 'ol/style/Style';
5
+ import VectorLayer from 'ol/layer/Vector';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class KomponentSettingsHelperService {
7
8
  private readonly _httpClient;
@@ -9,6 +10,9 @@ export declare class KomponentSettingsHelperService {
9
10
  private _getSldStyleObject$;
10
11
  private _loadStyleFromGeoServer$;
11
12
  getStyle(styleName: string, workspace: string, geoserver: GeoServer, styleType: string): Observable<StyleFunction | Style>;
13
+ createCursorLayer(fillColor: string): VectorLayer;
14
+ attachCursorToMap(map: any, layer: any): void;
15
+ getFillColorFromStyle(style: Style | StyleFunction): string | null;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<KomponentSettingsHelperService, never>;
13
17
  static ɵprov: i0.ɵɵInjectableDeclaration<KomponentSettingsHelperService>;
14
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regionerne/gis-komponent",
3
- "version": "0.0.105",
3
+ "version": "0.0.107",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.2.0",
6
6
  "@angular/core": ">=19.2.0",