@igo2/integration 1.13.2 → 1.13.3

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.
@@ -1,4 +1,4 @@
1
- import { FeatureStore, Feature } from '@igo2/geo';
1
+ import { DrawControl, FeatureStore, FeatureWithDraw, VectorLayer } from '@igo2/geo';
2
2
  import { MapState } from '../map/map.state';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare class DrawState {
8
8
  private mapState;
9
- /**
10
- * Store that holds the measures
11
- */
12
- store: FeatureStore<Feature>;
9
+ stores: FeatureStore<FeatureWithDraw>[];
10
+ layersID: string[];
11
+ drawControls: [string, DrawControl][];
12
+ activeDrawingLayer: VectorLayer;
13
13
  constructor(mapState: MapState);
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DrawState, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<DrawState>;
@@ -1,4 +1,4 @@
1
- import { FeatureStore, Feature, IgoMap } from '@igo2/geo';
1
+ import { FeatureStore, IgoMap, DrawControl, FeatureWithDraw, VectorLayer } from '@igo2/geo';
2
2
  import { MapState } from '../../map/map.state';
3
3
  import { DrawState } from '../draw.state';
4
4
  import * as i0 from "@angular/core";
@@ -12,12 +12,19 @@ export declare class DrawingToolComponent {
12
12
  * Map to measure on
13
13
  * @internal
14
14
  */
15
- get store(): FeatureStore<Feature>;
15
+ get stores(): FeatureStore<FeatureWithDraw>[];
16
16
  /**
17
17
  * Map to measure on
18
18
  * @internal
19
19
  */
20
20
  get map(): IgoMap;
21
+ get layersID(): string[];
22
+ get drawControls(): [string, DrawControl][];
23
+ set drawControls(dc: [string, DrawControl][]);
24
+ get activeDrawingLayer(): VectorLayer;
25
+ set activeDrawingLayer(value: VectorLayer);
26
+ addLayersID(layerID: string): void;
27
+ addDrawControls(dc: [string, DrawControl][]): void;
21
28
  constructor(drawState: DrawState, mapState: MapState);
22
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DrawingToolComponent, never>;
23
30
  static ɵcmp: i0.ɵɵComponentDeclaration<DrawingToolComponent, "igo-drawing-tool", never, {}, {}, never, never, false>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/integration",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -18,8 +18,8 @@
18
18
  "peerDependencies": {
19
19
  "@angular/common": "^14.1.2",
20
20
  "@angular/core": "^14.1.2",
21
- "@igo2/geo": "1.13.2",
22
- "@igo2/context": "1.13.2",
21
+ "@igo2/geo": "1.13.3",
22
+ "@igo2/context": "1.13.3",
23
23
  "rxjs": "^7.5.6"
24
24
  },
25
25
  "dependencies": {