@igo2/integration 1.14.1 → 1.14.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.
Files changed (213) hide show
  1. package/esm2020/igo2-integration.mjs +4 -4
  2. package/esm2020/lib/about/about-tool/about-tool.component.mjs +184 -184
  3. package/esm2020/lib/about/about-tool/index.mjs +1 -1
  4. package/esm2020/lib/about/about.module.mjs +54 -54
  5. package/esm2020/lib/about/index.mjs +1 -1
  6. package/esm2020/lib/analytics/analytics-listener.service.mjs +71 -71
  7. package/esm2020/lib/analytics/analytics.module.mjs +15 -15
  8. package/esm2020/lib/analytics/index.mjs +1 -1
  9. package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +112 -112
  10. package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +28 -28
  11. package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +88 -88
  12. package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +28 -28
  13. package/esm2020/lib/catalog/catalog.module.mjs +23 -23
  14. package/esm2020/lib/catalog/catalog.state.mjs +53 -53
  15. package/esm2020/lib/catalog/index.mjs +5 -5
  16. package/esm2020/lib/context/context-editor-tool/context-editor-tool.component.mjs +33 -33
  17. package/esm2020/lib/context/context-manager-tool/context-manager-tool.component.mjs +43 -43
  18. package/esm2020/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +24 -24
  19. package/esm2020/lib/context/context-share-tool/context-share-tool.component.mjs +33 -33
  20. package/esm2020/lib/context/context.module.mjs +38 -38
  21. package/esm2020/lib/context/context.state.mjs +87 -87
  22. package/esm2020/lib/context/index.mjs +5 -5
  23. package/esm2020/lib/directions/directions-tool/directions-tool.component.mjs +86 -86
  24. package/esm2020/lib/directions/directions-tool/index.mjs +1 -1
  25. package/esm2020/lib/directions/directions.module.mjs +25 -25
  26. package/esm2020/lib/directions/directions.state.mjs +63 -63
  27. package/esm2020/lib/directions/index.mjs +2 -2
  28. package/esm2020/lib/draw/draw.module.mjs +20 -20
  29. package/esm2020/lib/draw/draw.state.mjs +40 -39
  30. package/esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs +71 -71
  31. package/esm2020/lib/draw/index.mjs +2 -2
  32. package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +9 -9
  33. package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +43 -43
  34. package/esm2020/lib/filter/active-ogc-filter-tool/index.mjs +1 -1
  35. package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +9 -9
  36. package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +43 -43
  37. package/esm2020/lib/filter/active-time-filter-tool/index.mjs +1 -1
  38. package/esm2020/lib/filter/filter.module.mjs +50 -50
  39. package/esm2020/lib/filter/index.mjs +5 -5
  40. package/esm2020/lib/filter/ogc-filter-tool/index.mjs +1 -1
  41. package/esm2020/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +24 -24
  42. package/esm2020/lib/filter/spatial-filter-tool/index.mjs +1 -1
  43. package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +534 -534
  44. package/esm2020/lib/filter/time-filter-tool/index.mjs +1 -1
  45. package/esm2020/lib/filter/time-filter-tool/time-filter-tool.component.mjs +24 -24
  46. package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +136 -136
  47. package/esm2020/lib/import-export/import-export-tool/index.mjs +1 -1
  48. package/esm2020/lib/import-export/import-export.module.mjs +47 -47
  49. package/esm2020/lib/import-export/import-export.state.mjs +40 -40
  50. package/esm2020/lib/import-export/index.mjs +2 -2
  51. package/esm2020/lib/integration.module.mjs +71 -71
  52. package/esm2020/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +472 -472
  53. package/esm2020/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +88 -88
  54. package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +217 -217
  55. package/esm2020/lib/map/advanced-map-tool/index.mjs +1 -1
  56. package/esm2020/lib/map/index.mjs +8 -8
  57. package/esm2020/lib/map/layer-list-tool.state.mjs +41 -41
  58. package/esm2020/lib/map/map-details-tool/index.mjs +1 -1
  59. package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +255 -255
  60. package/esm2020/lib/map/map-legend/index.mjs +1 -1
  61. package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +274 -274
  62. package/esm2020/lib/map/map-proximity-tool/index.mjs +1 -1
  63. package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +205 -205
  64. package/esm2020/lib/map/map-proximity.state.mjs +162 -162
  65. package/esm2020/lib/map/map-tool/index.mjs +1 -1
  66. package/esm2020/lib/map/map-tool/map-tool.component.mjs +129 -129
  67. package/esm2020/lib/map/map-tools/index.mjs +1 -1
  68. package/esm2020/lib/map/map-tools/map-tools.component.mjs +477 -477
  69. package/esm2020/lib/map/map.module.mjs +140 -140
  70. package/esm2020/lib/map/map.state.mjs +46 -46
  71. package/esm2020/lib/measure/index.mjs +3 -3
  72. package/esm2020/lib/measure/measure.module.mjs +19 -19
  73. package/esm2020/lib/measure/measure.state.mjs +34 -34
  74. package/esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs +44 -44
  75. package/esm2020/lib/measure/measurer-tool/measurer-tool.module.mjs +24 -24
  76. package/esm2020/lib/print/index.mjs +1 -1
  77. package/esm2020/lib/print/print-tool/index.mjs +1 -1
  78. package/esm2020/lib/print/print-tool/print-tool.component.mjs +32 -32
  79. package/esm2020/lib/print/print.module.mjs +25 -25
  80. package/esm2020/lib/search/index.mjs +6 -6
  81. package/esm2020/lib/search/query.state.mjs +33 -33
  82. package/esm2020/lib/search/search-bar/search-bar-binding.directive.mjs +60 -60
  83. package/esm2020/lib/search/search-bar/search-bar.module.mjs +21 -21
  84. package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +593 -588
  85. package/esm2020/lib/search/search-results-tool/search-results-tool.module.mjs +64 -64
  86. package/esm2020/lib/search/search.module.mjs +23 -23
  87. package/esm2020/lib/search/search.state.mjs +106 -106
  88. package/esm2020/lib/storage/index.mjs +1 -1
  89. package/esm2020/lib/storage/storage.module.mjs +15 -15
  90. package/esm2020/lib/storage/storage.state.mjs +22 -22
  91. package/esm2020/lib/tool/index.mjs +1 -1
  92. package/esm2020/lib/tool/tool.module.mjs +15 -15
  93. package/esm2020/lib/tool/tool.state.mjs +51 -51
  94. package/esm2020/lib/workspace/index.mjs +3 -3
  95. package/esm2020/lib/workspace/shared/edition-actions.service.mjs +155 -155
  96. package/esm2020/lib/workspace/shared/feature-actions.service.mjs +143 -143
  97. package/esm2020/lib/workspace/shared/index.mjs +2 -2
  98. package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +157 -157
  99. package/esm2020/lib/workspace/shared/workspace.utils.mjs +6 -6
  100. package/esm2020/lib/workspace/workspace-button/index.mjs +1 -1
  101. package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +68 -68
  102. package/esm2020/lib/workspace/workspace.module.mjs +36 -36
  103. package/esm2020/lib/workspace/workspace.state.mjs +187 -187
  104. package/esm2020/public_api.mjs +34 -34
  105. package/fesm2015/igo2-integration.mjs +6462 -6457
  106. package/fesm2015/igo2-integration.mjs.map +1 -1
  107. package/fesm2020/igo2-integration.mjs +6021 -6016
  108. package/fesm2020/igo2-integration.mjs.map +1 -1
  109. package/index.d.ts +5 -5
  110. package/lib/about/about-tool/about-tool.component.d.ts +34 -34
  111. package/lib/about/about-tool/index.d.ts +1 -1
  112. package/lib/about/about.module.d.ts +16 -16
  113. package/lib/about/index.d.ts +1 -1
  114. package/lib/analytics/analytics-listener.service.d.ts +27 -27
  115. package/lib/analytics/analytics.module.d.ts +6 -6
  116. package/lib/analytics/index.d.ts +1 -1
  117. package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +57 -57
  118. package/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.d.ts +12 -12
  119. package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +50 -50
  120. package/lib/catalog/catalog-library-tool/catalog-library-tool.module.d.ts +12 -12
  121. package/lib/catalog/catalog.module.d.ts +8 -8
  122. package/lib/catalog/catalog.state.d.ts +37 -37
  123. package/lib/catalog/index.d.ts +5 -5
  124. package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +9 -9
  125. package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +15 -15
  126. package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +5 -5
  127. package/lib/context/context-share-tool/context-share-tool.component.d.ts +13 -13
  128. package/lib/context/context.module.d.ts +11 -11
  129. package/lib/context/context.state.d.ts +37 -37
  130. package/lib/context/index.d.ts +5 -5
  131. package/lib/directions/directions-tool/directions-tool.component.d.ts +54 -54
  132. package/lib/directions/directions-tool/index.d.ts +1 -1
  133. package/lib/directions/directions.module.d.ts +10 -10
  134. package/lib/directions/directions.state.d.ts +28 -28
  135. package/lib/directions/index.d.ts +2 -2
  136. package/lib/draw/draw.module.d.ts +8 -8
  137. package/lib/draw/draw.state.d.ts +17 -16
  138. package/lib/draw/drawing-tool/drawing-tool.component.d.ts +31 -31
  139. package/lib/draw/index.d.ts +2 -2
  140. package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.d.ts +2 -2
  141. package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +12 -12
  142. package/lib/filter/active-ogc-filter-tool/index.d.ts +1 -1
  143. package/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.d.ts +2 -2
  144. package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +12 -12
  145. package/lib/filter/active-time-filter-tool/index.d.ts +1 -1
  146. package/lib/filter/filter.module.d.ts +15 -15
  147. package/lib/filter/index.d.ts +5 -5
  148. package/lib/filter/ogc-filter-tool/index.d.ts +1 -1
  149. package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +6 -6
  150. package/lib/filter/spatial-filter-tool/index.d.ts +1 -1
  151. package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +82 -82
  152. package/lib/filter/time-filter-tool/index.d.ts +1 -1
  153. package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +6 -6
  154. package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +31 -31
  155. package/lib/import-export/import-export-tool/index.d.ts +1 -1
  156. package/lib/import-export/import-export.module.d.ts +15 -15
  157. package/lib/import-export/import-export.state.d.ts +24 -24
  158. package/lib/import-export/index.d.ts +2 -2
  159. package/lib/integration.module.d.ts +20 -20
  160. package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +97 -97
  161. package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +12 -12
  162. package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +65 -65
  163. package/lib/map/advanced-map-tool/index.d.ts +1 -1
  164. package/lib/map/index.d.ts +8 -8
  165. package/lib/map/layer-list-tool.state.d.ts +19 -19
  166. package/lib/map/map-details-tool/index.d.ts +1 -1
  167. package/lib/map/map-details-tool/map-details-tool.component.d.ts +38 -38
  168. package/lib/map/map-legend/index.d.ts +1 -1
  169. package/lib/map/map-legend/map-legend-tool.component.d.ts +40 -40
  170. package/lib/map/map-proximity-tool/index.d.ts +1 -1
  171. package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -36
  172. package/lib/map/map-proximity.state.d.ts +28 -28
  173. package/lib/map/map-tool/index.d.ts +1 -1
  174. package/lib/map/map-tool/map-tool.component.d.ts +27 -27
  175. package/lib/map/map-tools/index.d.ts +1 -1
  176. package/lib/map/map-tools/map-tools.component.d.ts +65 -65
  177. package/lib/map/map.module.d.ts +38 -38
  178. package/lib/map/map.state.d.ts +24 -24
  179. package/lib/measure/index.d.ts +3 -3
  180. package/lib/measure/measure.module.d.ts +7 -7
  181. package/lib/measure/measure.state.d.ts +16 -16
  182. package/lib/measure/measurer-tool/measurer-tool.component.d.ts +24 -24
  183. package/lib/measure/measurer-tool/measurer-tool.module.d.ts +11 -11
  184. package/lib/print/index.d.ts +1 -1
  185. package/lib/print/print-tool/index.d.ts +1 -1
  186. package/lib/print/print-tool/print-tool.component.d.ts +10 -10
  187. package/lib/print/print.module.d.ts +10 -10
  188. package/lib/search/index.d.ts +6 -6
  189. package/lib/search/query.state.d.ts +20 -20
  190. package/lib/search/search-bar/search-bar-binding.directive.d.ts +20 -20
  191. package/lib/search/search-bar/search-bar.module.d.ts +11 -11
  192. package/lib/search/search-results-tool/search-results-tool.component.d.ts +101 -98
  193. package/lib/search/search-results-tool/search-results-tool.module.d.ts +18 -18
  194. package/lib/search/search.module.d.ts +8 -8
  195. package/lib/search/search.state.d.ts +54 -54
  196. package/lib/storage/index.d.ts +1 -1
  197. package/lib/storage/storage.module.d.ts +6 -6
  198. package/lib/storage/storage.state.d.ts +12 -12
  199. package/lib/tool/index.d.ts +1 -1
  200. package/lib/tool/tool.module.d.ts +6 -6
  201. package/lib/tool/tool.state.d.ts +22 -22
  202. package/lib/workspace/index.d.ts +3 -3
  203. package/lib/workspace/shared/edition-actions.service.d.ts +26 -26
  204. package/lib/workspace/shared/feature-actions.service.d.ts +25 -25
  205. package/lib/workspace/shared/index.d.ts +2 -2
  206. package/lib/workspace/shared/wfs-actions.service.d.ts +27 -27
  207. package/lib/workspace/shared/workspace.utils.d.ts +2 -2
  208. package/lib/workspace/workspace-button/index.d.ts +1 -1
  209. package/lib/workspace/workspace-button/workspace-button.component.d.ts +21 -21
  210. package/lib/workspace/workspace.module.d.ts +12 -12
  211. package/lib/workspace/workspace.state.d.ts +63 -63
  212. package/package.json +3 -3
  213. package/public_api.d.ts +31 -31
@@ -1,82 +1,82 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { MatIconRegistry } from '@angular/material/icon';
3
- import { IgoMap, DataSourceService, LayerService, Feature, SpatialFilterService, SpatialFilterType, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterThematic, Layer, MeasureLengthUnit } from '@igo2/geo';
4
- import { EntityStore } from '@igo2/common';
5
- import { BehaviorSubject } from 'rxjs';
6
- import { MapState } from '../../map/map.state';
7
- import { ImportExportState } from './../../import-export/import-export.state';
8
- import * as olstyle from 'ol/style';
9
- import { MessageService, LanguageService } from '@igo2/core';
10
- import { ToolState } from '../../tool/tool.state';
11
- import { WorkspaceState } from '../../workspace/workspace.state';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * Tool to apply spatial filter
15
- */
16
- export declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
17
- private matIconRegistry;
18
- private spatialFilterService;
19
- private dataSourceService;
20
- private layerService;
21
- private mapState;
22
- private messageService;
23
- private languageService;
24
- private importExportState;
25
- private toolState;
26
- private workspaceState;
27
- private cdRef;
28
- get map(): IgoMap;
29
- type: SpatialFilterType;
30
- itemType: SpatialFilterItemType;
31
- freehandDrawIsActive: boolean;
32
- layers: Layer[];
33
- activeLayers: Layer[];
34
- queryType: SpatialFilterQueryType;
35
- thematics: SpatialFilterThematic[];
36
- zone: Feature;
37
- zoneWithBuffer: Feature;
38
- buffer: number;
39
- iterator: number;
40
- selectedFeature$: BehaviorSubject<Feature>;
41
- private format;
42
- store: EntityStore<Feature>;
43
- spatialListStore: EntityStore<Feature>;
44
- loading: boolean;
45
- thematicLength: number;
46
- measureUnit: MeasureLengthUnit;
47
- private unsubscribe$;
48
- private moveendKey;
49
- defaultStyle: olstyle.Style | ((feature: any, resolution: any) => olstyle.Style);
50
- constructor(matIconRegistry: MatIconRegistry, spatialFilterService: SpatialFilterService, dataSourceService: DataSourceService, layerService: LayerService, mapState: MapState, messageService: MessageService, languageService: LanguageService, importExportState: ImportExportState, toolState: ToolState, workspaceState: WorkspaceState, cdRef: ChangeDetectorRef);
51
- ngOnInit(): void;
52
- ngOnDestroy(): void;
53
- getOutputType(event: SpatialFilterType): void;
54
- getOutputQueryType(event: SpatialFilterQueryType): void;
55
- activateExportTool(): void;
56
- activateWorkspace(record?: any): void;
57
- private selectWorkspaceEntity;
58
- private loadFilterList;
59
- getOutputToggleSearch(): void;
60
- getOutputClearSearch(): void;
61
- clearMap(): void;
62
- private loadThematics;
63
- onZoneChange(feature: Feature, buffer?: boolean): void;
64
- /**
65
- * Try to add zone feature to the map overlay
66
- */
67
- tryAddFeaturesToMap(features: Feature[], buffer?: boolean): void;
68
- /**
69
- * Try to add point features to the map
70
- * Necessary to create clusters
71
- */
72
- private tryAddPointToMap;
73
- private createSvgIcon;
74
- /**
75
- * Try to add line or polygon features to the map
76
- */
77
- private tryAddLayerToMap;
78
- zoomToFeatureExtent(feature: any): void;
79
- pushLayer(layer: any): void;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<SpatialFilterToolComponent, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<SpatialFilterToolComponent, "igo-spatial-filter-tool", never, { "type": "type"; "itemType": "itemType"; "freehandDrawIsActive": "freehandDrawIsActive"; }, {}, never, never, false>;
82
- }
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { MatIconRegistry } from '@angular/material/icon';
3
+ import { IgoMap, DataSourceService, LayerService, Feature, SpatialFilterService, SpatialFilterType, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterThematic, Layer, MeasureLengthUnit } from '@igo2/geo';
4
+ import { EntityStore } from '@igo2/common';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { MapState } from '../../map/map.state';
7
+ import { ImportExportState } from './../../import-export/import-export.state';
8
+ import * as olstyle from 'ol/style';
9
+ import { MessageService, LanguageService } from '@igo2/core';
10
+ import { ToolState } from '../../tool/tool.state';
11
+ import { WorkspaceState } from '../../workspace/workspace.state';
12
+ import * as i0 from "@angular/core";
13
+ /**
14
+ * Tool to apply spatial filter
15
+ */
16
+ export declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
17
+ private matIconRegistry;
18
+ private spatialFilterService;
19
+ private dataSourceService;
20
+ private layerService;
21
+ private mapState;
22
+ private messageService;
23
+ private languageService;
24
+ private importExportState;
25
+ private toolState;
26
+ private workspaceState;
27
+ private cdRef;
28
+ get map(): IgoMap;
29
+ type: SpatialFilterType;
30
+ itemType: SpatialFilterItemType;
31
+ freehandDrawIsActive: boolean;
32
+ layers: Layer[];
33
+ activeLayers: Layer[];
34
+ queryType: SpatialFilterQueryType;
35
+ thematics: SpatialFilterThematic[];
36
+ zone: Feature;
37
+ zoneWithBuffer: Feature;
38
+ buffer: number;
39
+ iterator: number;
40
+ selectedFeature$: BehaviorSubject<Feature>;
41
+ private format;
42
+ store: EntityStore<Feature>;
43
+ spatialListStore: EntityStore<Feature>;
44
+ loading: boolean;
45
+ thematicLength: number;
46
+ measureUnit: MeasureLengthUnit;
47
+ private unsubscribe$;
48
+ private moveendKey;
49
+ defaultStyle: olstyle.Style | ((feature: any, resolution: any) => olstyle.Style);
50
+ constructor(matIconRegistry: MatIconRegistry, spatialFilterService: SpatialFilterService, dataSourceService: DataSourceService, layerService: LayerService, mapState: MapState, messageService: MessageService, languageService: LanguageService, importExportState: ImportExportState, toolState: ToolState, workspaceState: WorkspaceState, cdRef: ChangeDetectorRef);
51
+ ngOnInit(): void;
52
+ ngOnDestroy(): void;
53
+ getOutputType(event: SpatialFilterType): void;
54
+ getOutputQueryType(event: SpatialFilterQueryType): void;
55
+ activateExportTool(): void;
56
+ activateWorkspace(record?: any): void;
57
+ private selectWorkspaceEntity;
58
+ private loadFilterList;
59
+ getOutputToggleSearch(): void;
60
+ getOutputClearSearch(): void;
61
+ clearMap(): void;
62
+ private loadThematics;
63
+ onZoneChange(feature: Feature, buffer?: boolean): void;
64
+ /**
65
+ * Try to add zone feature to the map overlay
66
+ */
67
+ tryAddFeaturesToMap(features: Feature[], buffer?: boolean): void;
68
+ /**
69
+ * Try to add point features to the map
70
+ * Necessary to create clusters
71
+ */
72
+ private tryAddPointToMap;
73
+ private createSvgIcon;
74
+ /**
75
+ * Try to add line or polygon features to the map
76
+ */
77
+ private tryAddLayerToMap;
78
+ zoomToFeatureExtent(feature: any): void;
79
+ pushLayer(layer: any): void;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpatialFilterToolComponent, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpatialFilterToolComponent, "igo-spatial-filter-tool", never, { "type": "type"; "itemType": "itemType"; "freehandDrawIsActive": "freehandDrawIsActive"; }, {}, never, never, false>;
82
+ }
@@ -1 +1 @@
1
- export * from './time-filter-tool.component';
1
+ export * from './time-filter-tool.component';
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TimeFilterToolComponent {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeFilterToolComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TimeFilterToolComponent, "igo-time-filter-tool", never, {}, {}, never, never, false>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TimeFilterToolComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeFilterToolComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeFilterToolComponent, "igo-time-filter-tool", never, {}, {}, never, never, false>;
6
+ }
@@ -1,31 +1,31 @@
1
- import { OnInit } from '@angular/core';
2
- import type { WorkspaceStore } from '@igo2/common';
3
- import { IgoMap, ExportOptions, ProjectionsLimitationsOptions } from '@igo2/geo';
4
- import { MapState } from '../../map/map.state';
5
- import { ImportExportMode, ImportExportState, ImportExportType } from '../import-export.state';
6
- import { WorkspaceState } from '../../workspace/workspace.state';
7
- import * as i0 from "@angular/core";
8
- export declare class ImportExportToolComponent implements OnInit {
9
- private mapState;
10
- importExportState: ImportExportState;
11
- private workspaceState;
12
- projectionsLimitations: ProjectionsLimitationsOptions;
13
- selectFirstProj: boolean;
14
- /**
15
- * Map to measure on
16
- * @internal
17
- */
18
- get map(): IgoMap;
19
- get workspaceStore(): WorkspaceStore;
20
- importExportType: ImportExportType;
21
- importExportShowBothType: boolean;
22
- constructor(mapState: MapState, importExportState: ImportExportState, workspaceState: WorkspaceState);
23
- ngOnInit(): void;
24
- private selectType;
25
- private selectMode;
26
- modeChanged(mode: ImportExportMode): void;
27
- exportOptionsChange(exportOptions: ExportOptions): void;
28
- importExportTypeChange(event: any): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ImportExportToolComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<ImportExportToolComponent, "igo-import-export-tool", never, { "projectionsLimitations": "projectionsLimitations"; "selectFirstProj": "selectFirstProj"; "importExportType": "importExportType"; "importExportShowBothType": "importExportShowBothType"; }, {}, never, never, false>;
31
- }
1
+ import { OnInit } from '@angular/core';
2
+ import type { WorkspaceStore } from '@igo2/common';
3
+ import { IgoMap, ExportOptions, ProjectionsLimitationsOptions } from '@igo2/geo';
4
+ import { MapState } from '../../map/map.state';
5
+ import { ImportExportMode, ImportExportState, ImportExportType } from '../import-export.state';
6
+ import { WorkspaceState } from '../../workspace/workspace.state';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ImportExportToolComponent implements OnInit {
9
+ private mapState;
10
+ importExportState: ImportExportState;
11
+ private workspaceState;
12
+ projectionsLimitations: ProjectionsLimitationsOptions;
13
+ selectFirstProj: boolean;
14
+ /**
15
+ * Map to measure on
16
+ * @internal
17
+ */
18
+ get map(): IgoMap;
19
+ get workspaceStore(): WorkspaceStore;
20
+ importExportType: ImportExportType;
21
+ importExportShowBothType: boolean;
22
+ constructor(mapState: MapState, importExportState: ImportExportState, workspaceState: WorkspaceState);
23
+ ngOnInit(): void;
24
+ private selectType;
25
+ private selectMode;
26
+ modeChanged(mode: ImportExportMode): void;
27
+ exportOptionsChange(exportOptions: ExportOptions): void;
28
+ importExportTypeChange(event: any): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportExportToolComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImportExportToolComponent, "igo-import-export-tool", never, { "projectionsLimitations": "projectionsLimitations"; "selectFirstProj": "selectFirstProj"; "importExportType": "importExportType"; "importExportShowBothType": "importExportShowBothType"; }, {}, never, never, false>;
31
+ }
@@ -1 +1 @@
1
- export * from './import-export-tool.component';
1
+ export * from './import-export-tool.component';
@@ -1,15 +1,15 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./import-export-tool/import-export-tool.component";
4
- import * as i2 from "@igo2/geo";
5
- import * as i3 from "@igo2/context";
6
- import * as i4 from "@angular/common";
7
- import * as i5 from "@igo2/core";
8
- import * as i6 from "@angular/material/button-toggle";
9
- import * as i7 from "@angular/material/tabs";
10
- export declare class IgoAppImportExportModule {
11
- static forRoot(): ModuleWithProviders<IgoAppImportExportModule>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoAppImportExportModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppImportExportModule, [typeof i1.ImportExportToolComponent], [typeof i2.IgoImportExportModule, typeof i3.IgoContextImportExportModule, typeof i4.CommonModule, typeof i5.IgoLanguageModule, typeof i6.MatButtonToggleModule, typeof i7.MatTabsModule], [typeof i1.ImportExportToolComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppImportExportModule>;
15
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./import-export-tool/import-export-tool.component";
4
+ import * as i2 from "@igo2/geo";
5
+ import * as i3 from "@igo2/context";
6
+ import * as i4 from "@angular/common";
7
+ import * as i5 from "@igo2/core";
8
+ import * as i6 from "@angular/material/button-toggle";
9
+ import * as i7 from "@angular/material/tabs";
10
+ export declare class IgoAppImportExportModule {
11
+ static forRoot(): ModuleWithProviders<IgoAppImportExportModule>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoAppImportExportModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppImportExportModule, [typeof i1.ImportExportToolComponent], [typeof i2.IgoImportExportModule, typeof i3.IgoContextImportExportModule, typeof i4.CommonModule, typeof i5.IgoLanguageModule, typeof i6.MatButtonToggleModule, typeof i7.MatTabsModule], [typeof i1.ImportExportToolComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppImportExportModule>;
15
+ }
@@ -1,24 +1,24 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { ExportOptions } from '@igo2/geo';
3
- import * as i0 from "@angular/core";
4
- export declare enum ImportExportType {
5
- layer = "layer",
6
- context = "context"
7
- }
8
- export declare enum ImportExportMode {
9
- import = "import",
10
- export = "export"
11
- }
12
- /**
13
- * Service that holds the state of the importExport module
14
- */
15
- export declare class ImportExportState {
16
- readonly importExportType$: BehaviorSubject<ImportExportType>;
17
- readonly selectedMode$: BehaviorSubject<ImportExportMode>;
18
- readonly exportOptions$: BehaviorSubject<ExportOptions>;
19
- setImportExportType(type: ImportExportType): void;
20
- setMode(mode: ImportExportMode): void;
21
- setsExportOptions(exportOptions: ExportOptions): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ImportExportState, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<ImportExportState>;
24
- }
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import { ExportOptions } from '@igo2/geo';
3
+ import * as i0 from "@angular/core";
4
+ export declare enum ImportExportType {
5
+ layer = "layer",
6
+ context = "context"
7
+ }
8
+ export declare enum ImportExportMode {
9
+ import = "import",
10
+ export = "export"
11
+ }
12
+ /**
13
+ * Service that holds the state of the importExport module
14
+ */
15
+ export declare class ImportExportState {
16
+ readonly importExportType$: BehaviorSubject<ImportExportType>;
17
+ readonly selectedMode$: BehaviorSubject<ImportExportMode>;
18
+ readonly exportOptions$: BehaviorSubject<ExportOptions>;
19
+ setImportExportType(type: ImportExportType): void;
20
+ setMode(mode: ImportExportMode): void;
21
+ setsExportOptions(exportOptions: ExportOptions): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportExportState, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImportExportState>;
24
+ }
@@ -1,2 +1,2 @@
1
- export * from './import-export-tool';
2
- export * from './import-export.state';
1
+ export * from './import-export-tool';
2
+ export * from './import-export.state';
@@ -1,20 +1,20 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./storage/storage.module";
3
- import * as i2 from "./analytics/analytics.module";
4
- import * as i3 from "./context/context.module";
5
- import * as i4 from "./catalog/catalog.module";
6
- import * as i5 from "./directions/directions.module";
7
- import * as i6 from "./draw/draw.module";
8
- import * as i7 from "./workspace/workspace.module";
9
- import * as i8 from "./import-export/import-export.module";
10
- import * as i9 from "./map/map.module";
11
- import * as i10 from "./measure/measure.module";
12
- import * as i11 from "./print/print.module";
13
- import * as i12 from "./search/search.module";
14
- import * as i13 from "./filter/filter.module";
15
- import * as i14 from "./about/about.module";
16
- export declare class IgoIntegrationModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoIntegrationModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoIntegrationModule, never, never, [typeof i1.IgoAppStorageModule, typeof i2.IgoAppAnalyticsModule, typeof i3.IgoAppContextModule, typeof i4.IgoAppCatalogModule, typeof i5.IgoAppDirectionsModule, typeof i6.IgoAppDrawModule, typeof i7.IgoAppWorkspaceModule, typeof i8.IgoAppImportExportModule, typeof i9.IgoAppMapModule, typeof i10.IgoAppMeasureModule, typeof i11.IgoAppPrintModule, typeof i12.IgoAppSearchModule, typeof i13.IgoAppFilterModule, typeof i14.IgoAppAboutModule]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoIntegrationModule>;
20
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./storage/storage.module";
3
+ import * as i2 from "./analytics/analytics.module";
4
+ import * as i3 from "./context/context.module";
5
+ import * as i4 from "./catalog/catalog.module";
6
+ import * as i5 from "./directions/directions.module";
7
+ import * as i6 from "./draw/draw.module";
8
+ import * as i7 from "./workspace/workspace.module";
9
+ import * as i8 from "./import-export/import-export.module";
10
+ import * as i9 from "./map/map.module";
11
+ import * as i10 from "./measure/measure.module";
12
+ import * as i11 from "./print/print.module";
13
+ import * as i12 from "./search/search.module";
14
+ import * as i13 from "./filter/filter.module";
15
+ import * as i14 from "./about/about.module";
16
+ export declare class IgoIntegrationModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoIntegrationModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoIntegrationModule, never, never, [typeof i1.IgoAppStorageModule, typeof i2.IgoAppAnalyticsModule, typeof i3.IgoAppContextModule, typeof i4.IgoAppCatalogModule, typeof i5.IgoAppDirectionsModule, typeof i6.IgoAppDrawModule, typeof i7.IgoAppWorkspaceModule, typeof i8.IgoAppImportExportModule, typeof i9.IgoAppMapModule, typeof i10.IgoAppMeasureModule, typeof i11.IgoAppPrintModule, typeof i12.IgoAppSearchModule, typeof i13.IgoAppFilterModule, typeof i14.IgoAppAboutModule]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoIntegrationModule>;
20
+ }
@@ -1,97 +1,97 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { IgoMap, InputProjections, ProjectionsLimitationsOptions } from '@igo2/geo';
3
- import { MapState } from '../../map.state';
4
- import { MessageService, LanguageService, StorageService, ConfigService } from '@igo2/core';
5
- import { BehaviorSubject } from 'rxjs';
6
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Tool to display the coordinates and a cursor of the center of the map
10
- */
11
- export declare class AdvancedCoordinatesComponent implements OnInit, OnDestroy {
12
- mapState: MapState;
13
- private languageService;
14
- private messageService;
15
- private cdRef;
16
- private storageService;
17
- private config;
18
- private formBuilder;
19
- formattedScale$: BehaviorSubject<string>;
20
- projections$: BehaviorSubject<InputProjections[]>;
21
- form: UntypedFormGroup;
22
- coordinates: string[];
23
- private currentCenterDefaultProj;
24
- center: boolean;
25
- private inMtmZone;
26
- private inLambert2;
27
- private mapState$$;
28
- private _projectionsLimitations;
29
- private projectionsConstraints;
30
- private defaultProj;
31
- private currentZones;
32
- units: boolean;
33
- get map(): IgoMap;
34
- get inputProj(): InputProjections;
35
- set inputProj(value: InputProjections);
36
- get projectionsLimitations(): ProjectionsLimitationsOptions;
37
- set projectionsLimitations(value: ProjectionsLimitationsOptions);
38
- constructor(mapState: MapState, languageService: LanguageService, messageService: MessageService, cdRef: ChangeDetectorRef, storageService: StorageService, config: ConfigService, formBuilder: UntypedFormBuilder);
39
- /**
40
- * Listen a state of the map, a state of a form, update the coordinates
41
- */
42
- ngOnInit(): void;
43
- ngOnDestroy(): void;
44
- setScaleValue(map: IgoMap): void;
45
- /**
46
- * Coordinates of the center of the map on the appropriate systeme of coordinates
47
- * @returns Array of two numbers
48
- */
49
- getCoordinates(): string[];
50
- /**
51
- * Copy the coordinates to a clipboard
52
- */
53
- copyTextToClipboard(): void;
54
- /**
55
- * Display a cursor on the center of the map
56
- */
57
- displayCenter(toggle: boolean): void;
58
- /**
59
- * Builder of the form
60
- */
61
- private buildForm;
62
- /**
63
- * Update list of projections after changing of the state of the map
64
- */
65
- private updateProjectionsZoneChange;
66
- /**
67
- * Create a list of currents projections
68
- */
69
- private computeProjections;
70
- /**
71
- * Push the MTM in the array of systeme of coordinates
72
- * @param projections Array of the InputProjections
73
- */
74
- private pushMtm;
75
- /**
76
- * Updates the list of systems of coordinates for territory of Quebec
77
- * push MTM and UTM in the Array
78
- */
79
- private back2quebec;
80
- /**
81
- * Update the numbers of the zones when application is restarted
82
- */
83
- private updateZoneMtmUtm;
84
- /**
85
- * Compute the position of a current projection in a list. 0 if the projection is not in the list
86
- * @param translateKey string, translate key of a projection
87
- * @returns numeric, position of an element in the array
88
- */
89
- positionInList(tempInputProj: InputProjections): number;
90
- /**
91
- * Change the list of projections depending on the projections of Lambert
92
- * @param coordinates An array of numbers, longitude and latitude
93
- */
94
- checkLambert(coordinates: [number, number]): void;
95
- static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedCoordinatesComponent, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedCoordinatesComponent, "igo-advanced-coordinates", never, { "projectionsLimitations": "projectionsLimitations"; }, {}, never, never, false>;
97
- }
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { IgoMap, InputProjections, ProjectionsLimitationsOptions } from '@igo2/geo';
3
+ import { MapState } from '../../map.state';
4
+ import { MessageService, LanguageService, StorageService, ConfigService } from '@igo2/core';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Tool to display the coordinates and a cursor of the center of the map
10
+ */
11
+ export declare class AdvancedCoordinatesComponent implements OnInit, OnDestroy {
12
+ mapState: MapState;
13
+ private languageService;
14
+ private messageService;
15
+ private cdRef;
16
+ private storageService;
17
+ private config;
18
+ private formBuilder;
19
+ formattedScale$: BehaviorSubject<string>;
20
+ projections$: BehaviorSubject<InputProjections[]>;
21
+ form: UntypedFormGroup;
22
+ coordinates: string[];
23
+ private currentCenterDefaultProj;
24
+ center: boolean;
25
+ private inMtmZone;
26
+ private inLambert2;
27
+ private mapState$$;
28
+ private _projectionsLimitations;
29
+ private projectionsConstraints;
30
+ private defaultProj;
31
+ private currentZones;
32
+ units: boolean;
33
+ get map(): IgoMap;
34
+ get inputProj(): InputProjections;
35
+ set inputProj(value: InputProjections);
36
+ get projectionsLimitations(): ProjectionsLimitationsOptions;
37
+ set projectionsLimitations(value: ProjectionsLimitationsOptions);
38
+ constructor(mapState: MapState, languageService: LanguageService, messageService: MessageService, cdRef: ChangeDetectorRef, storageService: StorageService, config: ConfigService, formBuilder: UntypedFormBuilder);
39
+ /**
40
+ * Listen a state of the map, a state of a form, update the coordinates
41
+ */
42
+ ngOnInit(): void;
43
+ ngOnDestroy(): void;
44
+ setScaleValue(map: IgoMap): void;
45
+ /**
46
+ * Coordinates of the center of the map on the appropriate systeme of coordinates
47
+ * @returns Array of two numbers
48
+ */
49
+ getCoordinates(): string[];
50
+ /**
51
+ * Copy the coordinates to a clipboard
52
+ */
53
+ copyTextToClipboard(): void;
54
+ /**
55
+ * Display a cursor on the center of the map
56
+ */
57
+ displayCenter(toggle: boolean): void;
58
+ /**
59
+ * Builder of the form
60
+ */
61
+ private buildForm;
62
+ /**
63
+ * Update list of projections after changing of the state of the map
64
+ */
65
+ private updateProjectionsZoneChange;
66
+ /**
67
+ * Create a list of currents projections
68
+ */
69
+ private computeProjections;
70
+ /**
71
+ * Push the MTM in the array of systeme of coordinates
72
+ * @param projections Array of the InputProjections
73
+ */
74
+ private pushMtm;
75
+ /**
76
+ * Updates the list of systems of coordinates for territory of Quebec
77
+ * push MTM and UTM in the Array
78
+ */
79
+ private back2quebec;
80
+ /**
81
+ * Update the numbers of the zones when application is restarted
82
+ */
83
+ private updateZoneMtmUtm;
84
+ /**
85
+ * Compute the position of a current projection in a list. 0 if the projection is not in the list
86
+ * @param translateKey string, translate key of a projection
87
+ * @returns numeric, position of an element in the array
88
+ */
89
+ positionInList(tempInputProj: InputProjections): number;
90
+ /**
91
+ * Change the list of projections depending on the projections of Lambert
92
+ * @param coordinates An array of numbers, longitude and latitude
93
+ */
94
+ checkLambert(coordinates: [number, number]): void;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedCoordinatesComponent, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedCoordinatesComponent, "igo-advanced-coordinates", never, { "projectionsLimitations": "projectionsLimitations"; }, {}, never, never, false>;
97
+ }
@@ -1,12 +1,12 @@
1
- import { MapState } from '../map.state';
2
- import * as i0 from "@angular/core";
3
- export declare class AdvancedMapToolComponent {
4
- mapState: MapState;
5
- get tracking$(): import("rxjs").BehaviorSubject<boolean>;
6
- get followPosition$(): import("rxjs").BehaviorSubject<boolean>;
7
- constructor(mapState: MapState);
8
- toggleTracking(value: any): void;
9
- toggleFollow(value: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedMapToolComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedMapToolComponent, "igo-advanced-map-tool", never, {}, {}, never, never, false>;
12
- }
1
+ import { MapState } from '../map.state';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AdvancedMapToolComponent {
4
+ mapState: MapState;
5
+ get tracking$(): import("rxjs").BehaviorSubject<boolean>;
6
+ get followPosition$(): import("rxjs").BehaviorSubject<boolean>;
7
+ constructor(mapState: MapState);
8
+ toggleTracking(value: any): void;
9
+ toggleFollow(value: any): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedMapToolComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedMapToolComponent, "igo-advanced-map-tool", never, {}, {}, never, never, false>;
12
+ }