@igo2/geo 17.0.0-next.5 → 17.0.0-next.6
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.
- package/esm2022/lib/catalog/catalog-browser/catalog-browser-group.component.mjs +3 -3
- package/esm2022/lib/catalog/catalog-browser/catalog-browser-layer.component.mjs +5 -5
- package/esm2022/lib/catalog/catalog-library/catalog-library-item.component.mjs +3 -3
- package/esm2022/lib/catalog/catalog-library/catalog-library.component.mjs +3 -3
- package/esm2022/lib/datasource/shared/datasources/arcgisrest-datasource.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/cluster-datasource.interface.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/datasource.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/feature-datasource.interface.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/feature-datasource.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/websocket-datasource.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/wfs-datasource.interface.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/wfs-datasource.mjs +1 -1
- package/esm2022/lib/datasource/shared/datasources/wms-datasource.interface.mjs +1 -1
- package/esm2022/lib/directions/directions-buttons/directions-buttons.component.mjs +3 -3
- package/esm2022/lib/directions/directions-inputs/directions-inputs.component.mjs +3 -3
- package/esm2022/lib/directions/directions-results/directions-results.component.mjs +3 -3
- package/esm2022/lib/directions/shared/directions.interface.mjs +1 -1
- package/esm2022/lib/directions/shared/directions.utils.mjs +21 -21
- package/esm2022/lib/download/download-button/download-button.component.mjs +3 -3
- package/esm2022/lib/draw/draw/draw-shorcuts.component.mjs +7 -4
- package/esm2022/lib/draw/draw/draw.component.mjs +4 -4
- package/esm2022/lib/feature/feature-details/feature-details.component.mjs +3 -3
- package/esm2022/lib/filter/ogc-filter-button/ogc-filter-button.component.mjs +3 -3
- package/esm2022/lib/filter/ogc-filter-form/ogc-filter-form.component.mjs +3 -3
- package/esm2022/lib/filter/ogc-filter-selection/ogc-filter-selection.component.mjs +3 -3
- package/esm2022/lib/filter/ogc-filter-time/ogc-filter-time-slider.component.mjs +7 -7
- package/esm2022/lib/filter/ogc-filter-time/ogc-filter-time.component.mjs +3 -3
- package/esm2022/lib/filter/ogc-filterable-item/ogc-filterable-item.component.mjs +3 -3
- package/esm2022/lib/filter/shared/ogc-filter.interface.mjs +1 -1
- package/esm2022/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.mjs +3 -3
- package/esm2022/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.mjs +3 -3
- package/esm2022/lib/filter/time-filter-button/time-filter-button.component.mjs +3 -3
- package/esm2022/lib/filter/time-filter-form/time-filter-form.component.mjs +7 -7
- package/esm2022/lib/filter/time-filter-item/time-filter-item.component.mjs +3 -3
- package/esm2022/lib/geometry/geometry-form-field/geometry-form-field-input.component.mjs +1 -1
- package/esm2022/lib/geometry/geometry-form-field/geometry-form-field.component.mjs +3 -3
- package/esm2022/lib/geometry/shared/controls/draw.mjs +1 -1
- package/esm2022/lib/geometry/shared/controls/slice.mjs +1 -1
- package/esm2022/lib/import-export/export-button/export-button.component.mjs +3 -3
- package/esm2022/lib/import-export/import-export/import-export.component.mjs +1 -1
- package/esm2022/lib/layer/layer-item/layer-item.component.mjs +3 -3
- package/esm2022/lib/layer/layer-legend/layer-legend.component.mjs +3 -3
- package/esm2022/lib/layer/layer-list/layer-list.component.mjs +5 -4
- package/esm2022/lib/layer/layer-list-tool/layer-list-tool.component.mjs +3 -3
- package/esm2022/lib/layer/shared/layers/vector-layer.interface.mjs +1 -1
- package/esm2022/lib/layer/shared/layers/vector-layer.mjs +1 -1
- package/esm2022/lib/layer/track-feature-button/track-feature-button.component.mjs +3 -3
- package/esm2022/lib/map/baselayers-switcher/baselayers-switcher.component.mjs +3 -3
- package/esm2022/lib/map/geolocate-button/geolocate-button.component.mjs +7 -7
- package/esm2022/lib/map/home-extent-button/home-extent-button.component.mjs +3 -3
- package/esm2022/lib/map/menu-button/menu-button.component.mjs +3 -3
- package/esm2022/lib/map/offline-button/offline-button.component.mjs +3 -3
- package/esm2022/lib/map/rotation-button/rotation-button.component.mjs +3 -3
- package/esm2022/lib/map/wake-lock-button/wake-lock-button.component.mjs +6 -6
- package/esm2022/lib/map/zoom-button/zoom-button.component.mjs +3 -3
- package/esm2022/lib/measure/measurer/measurer.component.mjs +3 -3
- package/esm2022/lib/metadata/metadata-button/metadata-button.component.mjs +3 -3
- package/esm2022/lib/query/shared/query.directive.mjs +1 -1
- package/esm2022/lib/query/shared/query.interfaces.mjs +1 -1
- package/esm2022/lib/search/search-bar/search-bar.component.mjs +3 -3
- package/esm2022/lib/search/search-results/search-results-add-button.component.mjs +5 -5
- package/esm2022/lib/search/search-results/search-results-item.component.mjs +3 -3
- package/esm2022/lib/search/search-selector/search-selector.component.mjs +3 -3
- package/esm2022/lib/search/search-settings/search-settings.component.mjs +3 -3
- package/esm2022/lib/search/shared/search.interfaces.mjs +1 -1
- package/esm2022/lib/search/shared/search.utils.mjs +2 -2
- package/esm2022/lib/search/shared/sources/cadastre.mjs +2 -2
- package/esm2022/lib/search/shared/sources/coordinates.mjs +2 -2
- package/esm2022/lib/search/shared/sources/icherche-icons.mjs +32 -0
- package/esm2022/lib/search/shared/sources/icherche.mjs +8 -3
- package/esm2022/lib/search/shared/sources/nominatim.mjs +2 -2
- package/esm2022/lib/search/shared/sources/storedqueries.mjs +3 -3
- package/esm2022/lib/search/shared/sources/workspace.mjs +2 -2
- package/esm2022/lib/style/shared/vector/conversion.utils.mjs +1 -1
- package/esm2022/lib/style/style-modal/drawing/style-modal-drawing.component.mjs +3 -3
- package/esm2022/lib/style/style-modal/layer/style-modal-layer.component.mjs +3 -3
- package/esm2022/lib/style/style-modal/layer-button/style-modal-layer-button.component.mjs +3 -3
- package/esm2022/lib/toast/toast.component.mjs +3 -3
- package/esm2022/lib/workspace/shared/edition-workspace.service.mjs +3 -3
- package/esm2022/lib/workspace/shared/workspace.utils.mjs +2 -2
- package/fesm2022/igo2-geo.mjs +188 -150
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/lib/catalog/catalog-browser/catalog-browser-layer.component.d.ts +1 -1
- package/lib/datasource/shared/datasources/arcgisrest-datasource.d.ts +2 -3
- package/lib/datasource/shared/datasources/cluster-datasource.interface.d.ts +2 -3
- package/lib/datasource/shared/datasources/datasource.d.ts +1 -2
- package/lib/datasource/shared/datasources/feature-datasource.d.ts +2 -3
- package/lib/datasource/shared/datasources/feature-datasource.interface.d.ts +2 -3
- package/lib/datasource/shared/datasources/websocket-datasource.d.ts +1 -2
- package/lib/datasource/shared/datasources/wfs-datasource.d.ts +2 -3
- package/lib/datasource/shared/datasources/wfs-datasource.interface.d.ts +1 -2
- package/lib/datasource/shared/datasources/wms-datasource.interface.d.ts +1 -2
- package/lib/directions/shared/directions.interface.d.ts +2 -9
- package/lib/draw/draw/draw-shorcuts.component.d.ts +2 -0
- package/lib/filter/shared/ogc-filter.interface.d.ts +1 -2
- package/lib/geometry/geometry-form-field/geometry-form-field-input.component.d.ts +1 -2
- package/lib/geometry/shared/controls/draw.d.ts +4 -4
- package/lib/geometry/shared/controls/slice.d.ts +4 -4
- package/lib/layer/layer-list/layer-list.component.d.ts +2 -0
- package/lib/layer/shared/layers/vector-layer.d.ts +3 -4
- package/lib/layer/shared/layers/vector-layer.interface.d.ts +1 -2
- package/lib/query/shared/query.interfaces.d.ts +1 -2
- package/lib/search/search-results/search-results-add-button.component.d.ts +1 -1
- package/lib/search/shared/search.interfaces.d.ts +12 -10
- package/lib/search/shared/sources/icherche-icons.d.ts +7 -0
- package/lib/style/shared/vector/conversion.utils.d.ts +2 -3
- package/lib/workspace/shared/edition-workspace.service.d.ts +2 -1
- package/package.json +6 -6
- package/style/style.css +2 -1
|
@@ -70,7 +70,7 @@ export declare class CatalogBrowserLayerComponent implements OnInit, OnDestroy {
|
|
|
70
70
|
haveGroup(): boolean;
|
|
71
71
|
isInResolutionsRange(resolution: number): void;
|
|
72
72
|
isVisible(): void;
|
|
73
|
-
getBadgeIcon(): "" | "
|
|
73
|
+
getBadgeIcon(): "" | "visibility_off";
|
|
74
74
|
computeTooltip(): string;
|
|
75
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogBrowserLayerComponent, never>;
|
|
76
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogBrowserLayerComponent, "igo-catalog-browser-layer", never, { "resolution": { "alias": "resolution"; "required": false; }; "catalogAllowLegend": { "alias": "catalogAllowLegend"; "required": false; }; "layer": { "alias": "layer"; "required": false; }; "map": { "alias": "map"; "required": false; }; "added": { "alias": "added"; "required": false; }; }, { "addedChange": "addedChange"; "addedLayerIsPreview": "addedLayerIsPreview"; }, never, never, true, never>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSourceVector from 'ol/source/Vector';
|
|
3
2
|
import { ArcGISRestDataSourceOptions } from './arcgisrest-datasource.interface';
|
|
4
3
|
import { DataSource } from './datasource';
|
|
5
4
|
import { Legend } from './datasource.interface';
|
|
6
5
|
export declare class ArcGISRestDataSource extends DataSource {
|
|
7
|
-
ol: olSourceVector
|
|
6
|
+
ol: olSourceVector;
|
|
8
7
|
options: ArcGISRestDataSourceOptions;
|
|
9
|
-
protected createOlSource(): olSourceVector
|
|
8
|
+
protected createOlSource(): olSourceVector;
|
|
10
9
|
getLegend(): Legend[];
|
|
11
10
|
htmlImgSrc(contentType: string, imageData: string): string;
|
|
12
11
|
createSVG(symbol: any): string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSourceVector from 'ol/source/Vector';
|
|
3
2
|
import { FeatureDataSourceOptions } from './feature-datasource.interface';
|
|
4
3
|
export interface ClusterDataSourceOptions extends FeatureDataSourceOptions {
|
|
5
4
|
distance?: number;
|
|
6
|
-
source?: olSourceVector
|
|
7
|
-
ol?: olSourceVector
|
|
5
|
+
source?: olSourceVector;
|
|
6
|
+
ol?: olSourceVector;
|
|
8
7
|
pathOffline?: string;
|
|
9
8
|
excludeAttribute?: Array<string>;
|
|
10
9
|
excludeAttributeOffline?: Array<string>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olClusterSource from 'ol/source/Cluster';
|
|
3
2
|
import olSource from 'ol/source/Source';
|
|
4
3
|
import olVectorSource from 'ol/source/Vector';
|
|
@@ -9,7 +8,7 @@ export declare abstract class DataSource {
|
|
|
9
8
|
options: DataSourceOptions;
|
|
10
9
|
protected dataService?: DataService;
|
|
11
10
|
id: string;
|
|
12
|
-
ol: olSource | olVectorSource
|
|
11
|
+
ol: olSource | olVectorSource | olClusterSource;
|
|
13
12
|
private legend;
|
|
14
13
|
constructor(options?: DataSourceOptions, dataService?: DataService);
|
|
15
14
|
protected abstract createOlSource(): olSource;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSourceVector from 'ol/source/Vector';
|
|
3
2
|
import { DataSource } from './datasource';
|
|
4
3
|
import { FeatureDataSourceOptions } from './feature-datasource.interface';
|
|
5
4
|
export declare class FeatureDataSource extends DataSource {
|
|
6
5
|
options: FeatureDataSourceOptions;
|
|
7
|
-
ol: olSourceVector
|
|
8
|
-
protected createOlSource(): olSourceVector
|
|
6
|
+
ol: olSourceVector;
|
|
7
|
+
protected createOlSource(): olSourceVector;
|
|
9
8
|
protected getSourceFormatFromOptions(options: FeatureDataSourceOptions): any;
|
|
10
9
|
onUnwatch(): void;
|
|
11
10
|
get queryTitle(): string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import olFeature from 'ol/Feature';
|
|
2
2
|
import olFormatFeature from 'ol/format/Feature';
|
|
3
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
4
3
|
import olSource from 'ol/source/Source';
|
|
5
4
|
import olSourceVector from 'ol/source/Vector';
|
|
6
5
|
import { DataSourceOptions } from './datasource.interface';
|
|
@@ -8,14 +7,14 @@ export interface FeatureDataSourceOptions extends DataSourceOptions {
|
|
|
8
7
|
formatType?: string;
|
|
9
8
|
formatOptions?: any;
|
|
10
9
|
params?: any;
|
|
11
|
-
features?: olFeature
|
|
10
|
+
features?: olFeature[];
|
|
12
11
|
format?: olFormatFeature;
|
|
13
12
|
url?: string;
|
|
14
13
|
pathOffline?: string;
|
|
15
14
|
preload?: PreloadOptions;
|
|
16
15
|
excludeAttribute?: Array<string>;
|
|
17
16
|
excludeAttributeOffline?: Array<string>;
|
|
18
|
-
ol?: olSourceVector
|
|
17
|
+
ol?: olSourceVector | olSource;
|
|
19
18
|
}
|
|
20
19
|
export interface PreloadOptions {
|
|
21
20
|
bypassVisible?: boolean;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSourceVector from 'ol/source/Vector';
|
|
3
2
|
import { FeatureDataSource } from './feature-datasource';
|
|
4
3
|
import { WebSocketDataSourceOptions } from './websocket-datasource.interface';
|
|
5
4
|
export declare class WebSocketDataSource extends FeatureDataSource {
|
|
6
5
|
ws: WebSocket;
|
|
7
6
|
options: WebSocketDataSourceOptions;
|
|
8
|
-
protected createOlSource(): olSourceVector
|
|
7
|
+
protected createOlSource(): olSourceVector;
|
|
9
8
|
private createWebSocket;
|
|
10
9
|
onMessage(event: any): void;
|
|
11
10
|
onClose(event: any): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AuthInterceptor } from '@igo2/auth';
|
|
2
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
3
2
|
import olSourceVector from 'ol/source/Vector';
|
|
4
3
|
import { OgcFiltersOptions } from '../../../filter/shared/ogc-filter.interface';
|
|
5
4
|
import { DataSource } from './datasource';
|
|
@@ -9,11 +8,11 @@ export declare class WFSDataSource extends DataSource {
|
|
|
9
8
|
options: WFSDataSourceOptions;
|
|
10
9
|
protected wfsService: WFSService;
|
|
11
10
|
private authInterceptor?;
|
|
12
|
-
ol: olSourceVector
|
|
11
|
+
ol: olSourceVector;
|
|
13
12
|
set ogcFilters(value: OgcFiltersOptions);
|
|
14
13
|
get ogcFilters(): OgcFiltersOptions;
|
|
15
14
|
constructor(options: WFSDataSourceOptions, wfsService: WFSService, authInterceptor?: AuthInterceptor);
|
|
16
|
-
protected createOlSource(): olSourceVector
|
|
15
|
+
protected createOlSource(): olSourceVector;
|
|
17
16
|
setOgcFilters(ogcFilters: OgcFiltersOptions, triggerEvent?: boolean): void;
|
|
18
17
|
onUnwatch(): void;
|
|
19
18
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSource from 'ol/source/Source';
|
|
3
2
|
import olSourceVector from 'ol/source/Vector';
|
|
4
3
|
import { FeatureDataSourceOptions } from './feature-datasource.interface';
|
|
@@ -6,7 +5,7 @@ export interface WFSDataSourceOptions extends FeatureDataSourceOptions {
|
|
|
6
5
|
params: WFSDataSourceOptionsParams;
|
|
7
6
|
paramsWFS?: WFSDataSourceOptionsParams;
|
|
8
7
|
urlWfs?: string;
|
|
9
|
-
ol?: olSourceVector
|
|
8
|
+
ol?: olSourceVector | olSource;
|
|
10
9
|
}
|
|
11
10
|
export interface WFSDataSourceOptionsParams {
|
|
12
11
|
version?: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSource from 'ol/source/Source';
|
|
3
2
|
import olSourceVector from 'ol/source/Vector';
|
|
4
3
|
import type { ServerType } from 'ol/source/wms';
|
|
@@ -15,7 +14,7 @@ export interface WMSDataSourceOptions extends DataSourceOptions {
|
|
|
15
14
|
resolutions?: number[];
|
|
16
15
|
serverType?: ServerType;
|
|
17
16
|
ratio?: number;
|
|
18
|
-
ol?: olSourceVector
|
|
17
|
+
ol?: olSourceVector | olSource;
|
|
19
18
|
refreshIntervalSec?: number;
|
|
20
19
|
contentDependentLegend?: boolean;
|
|
21
20
|
excludeAttribute?: Array<string>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GeoJsonGeometryTypes } from 'geojson';
|
|
2
2
|
import { Feature } from '../../feature/shared/feature.interfaces';
|
|
3
|
+
import { SearchMeta } from '../../search';
|
|
3
4
|
import { SearchSource } from '../../search/shared/sources/source';
|
|
4
5
|
import { DirectionRelativePositionType, DirectionType, DirectionsFormat, ProposalType, SourceDirectionsType } from './directions.enum';
|
|
5
6
|
export interface DirectionOptions {
|
|
@@ -52,15 +53,7 @@ export interface SourceProposal {
|
|
|
52
53
|
results: {
|
|
53
54
|
[key: string]: any;
|
|
54
55
|
}[];
|
|
55
|
-
meta:
|
|
56
|
-
dataType: string;
|
|
57
|
-
id: string;
|
|
58
|
-
title: string;
|
|
59
|
-
titleHtml?: string;
|
|
60
|
-
icon: string;
|
|
61
|
-
score?: number;
|
|
62
|
-
nextPage?: boolean;
|
|
63
|
-
};
|
|
56
|
+
meta: SearchMeta;
|
|
64
57
|
}
|
|
65
58
|
export interface Direction {
|
|
66
59
|
id: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { IconSvg } from '@igo2/common';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DrawShorcutsComponent {
|
|
4
|
+
svgIcon: IconSvg;
|
|
3
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawShorcutsComponent, never>;
|
|
4
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrawShorcutsComponent, "igo-draw-shorcuts", never, {}, {}, never, never, true, never>;
|
|
5
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DOMValue } from '@igo2/common';
|
|
2
2
|
import olFormatFilter from 'ol/format/filter/Filter';
|
|
3
3
|
import olGeometry from 'ol/geom/Geometry';
|
|
4
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
5
4
|
import olSource from 'ol/source/Source';
|
|
6
5
|
import olSourceVector from 'ol/source/Vector';
|
|
7
6
|
import { DataSource } from '../../datasource/shared/datasources/datasource';
|
|
@@ -99,7 +98,7 @@ export interface OgcAutocomplete {
|
|
|
99
98
|
}
|
|
100
99
|
export interface OgcFilterableDataSourceOptions extends DataSourceOptions {
|
|
101
100
|
ogcFilters?: OgcFiltersOptions;
|
|
102
|
-
ol?: olSourceVector
|
|
101
|
+
ol?: olSourceVector | olSource;
|
|
103
102
|
}
|
|
104
103
|
export interface OgcFilterableDataSource extends DataSource {
|
|
105
104
|
options: OgcFilterableDataSourceOptions;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import OlGeometry from 'ol/geom/Geometry';
|
|
4
3
|
import type { Type } from 'ol/geom/Geometry';
|
|
5
4
|
import OlVectorSource from 'ol/source/Vector';
|
|
6
5
|
import * as OlStyle from 'ol/style';
|
|
@@ -98,7 +97,7 @@ export declare class GeometryFormFieldInputComponent implements OnInit, OnDestro
|
|
|
98
97
|
* The vector source to add the geometry to
|
|
99
98
|
* @internal
|
|
100
99
|
*/
|
|
101
|
-
get olOverlaySource(): OlVectorSource
|
|
100
|
+
get olOverlaySource(): OlVectorSource;
|
|
102
101
|
set radius(value: any);
|
|
103
102
|
constructor(cdRef: ChangeDetectorRef, ngControl: NgControl);
|
|
104
103
|
/**
|
|
@@ -7,8 +7,8 @@ import { StyleLike as OlStyleLike } from 'ol/style/Style';
|
|
|
7
7
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
8
8
|
export interface DrawControlOptions {
|
|
9
9
|
geometryType: Type | string;
|
|
10
|
-
drawingLayerSource?: OlVectorSource
|
|
11
|
-
drawingLayer?: OlVectorLayer<OlVectorSource
|
|
10
|
+
drawingLayerSource?: OlVectorSource;
|
|
11
|
+
drawingLayer?: OlVectorLayer<OlVectorSource>;
|
|
12
12
|
drawingLayerStyle?: OlStyleLike;
|
|
13
13
|
interactionStyle?: OlStyleLike;
|
|
14
14
|
maxPoints?: number;
|
|
@@ -79,7 +79,7 @@ export declare class DrawControl {
|
|
|
79
79
|
* OL overlay source
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
|
-
get olDrawingLayerSource(): OlVectorSource
|
|
82
|
+
get olDrawingLayerSource(): OlVectorSource;
|
|
83
83
|
constructor(options: DrawControlOptions);
|
|
84
84
|
/**
|
|
85
85
|
* Add or remove this control to/from a map.
|
|
@@ -89,7 +89,7 @@ export declare class DrawControl {
|
|
|
89
89
|
/**
|
|
90
90
|
* Return the drawing layer source
|
|
91
91
|
*/
|
|
92
|
-
getSource(): OlVectorSource
|
|
92
|
+
getSource(): OlVectorSource;
|
|
93
93
|
setOlInteractionStyle(style: any): void;
|
|
94
94
|
/**
|
|
95
95
|
* Set the current geometry type
|
|
@@ -6,8 +6,8 @@ import { StyleLike as OlStyleLike } from 'ol/style/Style';
|
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { GeometrySliceError } from '../geometry.errors';
|
|
8
8
|
export interface SliceControlOptions {
|
|
9
|
-
source?: OlVectorSource
|
|
10
|
-
layer?: OlVectorLayer<OlVectorSource
|
|
9
|
+
source?: OlVectorSource;
|
|
10
|
+
layer?: OlVectorLayer<OlVectorSource>;
|
|
11
11
|
layerStyle?: OlStyleLike;
|
|
12
12
|
drawStyle?: OlStyleLike;
|
|
13
13
|
}
|
|
@@ -46,7 +46,7 @@ export declare class SliceControl {
|
|
|
46
46
|
* OL overlay source
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
49
|
-
get olOverlaySource(): OlVectorSource
|
|
49
|
+
get olOverlaySource(): OlVectorSource;
|
|
50
50
|
constructor(options: SliceControlOptions);
|
|
51
51
|
/**
|
|
52
52
|
* Add or remove this control to/from a map.
|
|
@@ -56,7 +56,7 @@ export declare class SliceControl {
|
|
|
56
56
|
/**
|
|
57
57
|
* Return the overlay source
|
|
58
58
|
*/
|
|
59
|
-
getSource(): OlVectorSource
|
|
59
|
+
getSource(): OlVectorSource;
|
|
60
60
|
/**
|
|
61
61
|
* Add an OL geometry to the overlay for slicing
|
|
62
62
|
* @param olGeometry Ol Geometry
|
|
@@ -2,6 +2,7 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import type { TemplateRef } from '@angular/core';
|
|
3
3
|
import { FloatLabelType } from '@angular/material/form-field';
|
|
4
4
|
import { MatSliderChange } from '@angular/material/slider';
|
|
5
|
+
import { IconSvg } from '@igo2/common';
|
|
5
6
|
import { BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
6
7
|
import { IgoMap } from '../../map/shared/map';
|
|
7
8
|
import { LayerListControlsOptions } from '../layer-list-tool/layer-list-tool.interface';
|
|
@@ -68,6 +69,7 @@ export declare class LayerListComponent implements OnInit, OnDestroy {
|
|
|
68
69
|
selectAllCheck: boolean;
|
|
69
70
|
selectAllCheck$: BehaviorSubject<boolean>;
|
|
70
71
|
private selectAllCheck$$;
|
|
72
|
+
svgIcon: IconSvg;
|
|
71
73
|
constructor(elRef: ElementRef);
|
|
72
74
|
/**
|
|
73
75
|
* Subscribe to the search term stream and trigger researches
|
|
@@ -2,7 +2,6 @@ import { AuthInterceptor } from '@igo2/auth';
|
|
|
2
2
|
import { MessageService } from '@igo2/core/message';
|
|
3
3
|
import olFeature from 'ol/Feature';
|
|
4
4
|
import { Extent } from 'ol/extent';
|
|
5
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
6
5
|
import olLayerVector from 'ol/layer/Vector';
|
|
7
6
|
import olProjection from 'ol/proj/Projection';
|
|
8
7
|
import olSourceVector from 'ol/source/Vector';
|
|
@@ -30,13 +29,13 @@ export declare class VectorLayer extends Layer {
|
|
|
30
29
|
private xhrAccumulator;
|
|
31
30
|
dataSource: FeatureDataSource | WFSDataSource | ArcGISRestDataSource | WebSocketDataSource | ClusterDataSource;
|
|
32
31
|
options: VectorLayerOptions;
|
|
33
|
-
ol: olLayerVector<olSourceVector
|
|
32
|
+
ol: olLayerVector<olSourceVector>;
|
|
34
33
|
private watcher;
|
|
35
34
|
private trackFeatureListenerId;
|
|
36
35
|
get browsable(): boolean;
|
|
37
36
|
get exportable(): boolean;
|
|
38
37
|
constructor(options: VectorLayerOptions, messageService?: MessageService, authInterceptor?: AuthInterceptor, geoNetworkService?: GeoNetworkService, geoDBService?: GeoDBService, layerDBService?: LayerDBService);
|
|
39
|
-
protected createOlLayer(): olLayerVector<olSourceVector
|
|
38
|
+
protected createOlLayer(): olLayerVector<olSourceVector>;
|
|
40
39
|
removeLayerFromIDB(): void;
|
|
41
40
|
private maintainOptionsInIdb;
|
|
42
41
|
private maintainFeaturesInIdb;
|
|
@@ -62,7 +61,7 @@ export declare class VectorLayer extends Layer {
|
|
|
62
61
|
* @param failure failure callback
|
|
63
62
|
* @param randomParam random parameter to ensure cache is not causing problems in retrieving new data
|
|
64
63
|
*/
|
|
65
|
-
customWFSLoader(vectorSource: olSourceVector
|
|
64
|
+
customWFSLoader(vectorSource: olSourceVector, options: WFSDataSourceOptions, interceptor: AuthInterceptor, extent: Extent, resolution: number, proj: olProjection, success: (features: olFeature[]) => void, failure: () => void, randomParam?: boolean): void;
|
|
66
65
|
/**
|
|
67
66
|
* Custom loader to get feature from a WFS datasource
|
|
68
67
|
* @internal
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Feature from 'ol/Feature';
|
|
2
2
|
import * as olColor from 'ol/color';
|
|
3
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
4
3
|
import olLayerVector from 'ol/layer/Vector';
|
|
5
4
|
import RenderFeature from 'ol/render/Feature';
|
|
6
5
|
import olSourceVector from 'ol/source/Vector';
|
|
@@ -24,7 +23,7 @@ export interface VectorLayerOptions extends LayerOptions {
|
|
|
24
23
|
style?: olStyle | olStyle[] | ((arg0: RenderFeature | Feature<any>, arg1: number) => void | olStyle | olStyle[]);
|
|
25
24
|
browsable?: boolean;
|
|
26
25
|
exportable?: boolean;
|
|
27
|
-
ol?: olLayerVector<olSourceVector
|
|
26
|
+
ol?: olLayerVector<olSourceVector>;
|
|
28
27
|
animation?: VectorAnimation;
|
|
29
28
|
clusterParam?: ClusterParam;
|
|
30
29
|
trackFeature?: string | number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olSource from 'ol/source/Source';
|
|
3
2
|
import olSourceVector from 'ol/source/Vector';
|
|
4
3
|
import { DataSource } from '../../datasource/shared/datasources/datasource';
|
|
@@ -17,7 +16,7 @@ export interface QueryableDataSourceOptions extends DataSourceOptions {
|
|
|
17
16
|
queryLayerFeatures?: boolean;
|
|
18
17
|
mapLabel?: string;
|
|
19
18
|
queryHtmlTarget?: QueryHtmlTarget;
|
|
20
|
-
ol?: olSourceVector
|
|
19
|
+
ol?: olSourceVector | olSource;
|
|
21
20
|
queryFormatAsWms?: boolean;
|
|
22
21
|
}
|
|
23
22
|
export interface QueryableDataSource extends DataSource {
|
|
@@ -73,7 +73,7 @@ export declare class SearchResultAddButtonComponent implements OnInit, OnDestroy
|
|
|
73
73
|
private removeLayerFromMap;
|
|
74
74
|
isInResolutionsRange(resolution: number): void;
|
|
75
75
|
isVisible(): void;
|
|
76
|
-
getBadgeIcon(): "" | "
|
|
76
|
+
getBadgeIcon(): "" | "visibility_off";
|
|
77
77
|
computeTooltip(): string;
|
|
78
78
|
addFeatureToLayer(): void;
|
|
79
79
|
createLayer(layerTitle: string, selectedFeature: SearchResult): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconSvg } from '@igo2/common';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { CommonVectorStyleOptions } from '../../style/shared/vector/vector-style.interface';
|
|
3
4
|
import { SearchSource } from './sources/source';
|
|
@@ -12,22 +13,23 @@ export interface SearchResult<T = {
|
|
|
12
13
|
}> {
|
|
13
14
|
data: T;
|
|
14
15
|
source: SearchSource;
|
|
15
|
-
meta:
|
|
16
|
-
dataType: string;
|
|
17
|
-
id: string;
|
|
18
|
-
title: string;
|
|
19
|
-
titleHtml?: string;
|
|
20
|
-
pointerSummaryTitle?: string;
|
|
21
|
-
icon: string;
|
|
22
|
-
score?: number;
|
|
23
|
-
nextPage?: boolean;
|
|
24
|
-
};
|
|
16
|
+
meta: SearchMeta;
|
|
25
17
|
style?: {
|
|
26
18
|
base?: CommonVectorStyleOptions;
|
|
27
19
|
selection?: CommonVectorStyleOptions;
|
|
28
20
|
focus?: CommonVectorStyleOptions;
|
|
29
21
|
};
|
|
30
22
|
}
|
|
23
|
+
export interface SearchMeta {
|
|
24
|
+
id: string;
|
|
25
|
+
dataType: string;
|
|
26
|
+
title: string;
|
|
27
|
+
titleHtml?: string;
|
|
28
|
+
icon: string | IconSvg;
|
|
29
|
+
score?: number;
|
|
30
|
+
nextPage?: boolean;
|
|
31
|
+
pointerSummaryTitle?: string;
|
|
32
|
+
}
|
|
31
33
|
/**
|
|
32
34
|
* Search sources that allow searching by text implement this class
|
|
33
35
|
*/
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
1
|
import olLayerVector from 'ol/layer/Vector';
|
|
3
2
|
import olSourceVector from 'ol/source/Vector';
|
|
4
|
-
export declare function olStyleToBasicIgoStyle(layer: olLayerVector<olSourceVector
|
|
3
|
+
export declare function olStyleToBasicIgoStyle(layer: olLayerVector<olSourceVector>): {
|
|
5
4
|
fill: {
|
|
6
|
-
color: import("ol/color").Color | import("ol/colorlike").ColorLike;
|
|
5
|
+
color: import("ol/color").Color | import("ol/colorlike").ColorLike | import("ol/colorlike").PatternDescriptor;
|
|
7
6
|
};
|
|
8
7
|
stroke: {
|
|
9
8
|
color: import("ol/color").Color | import("ol/colorlike").ColorLike;
|
|
@@ -4,6 +4,7 @@ import { AuthInterceptor } from '@igo2/auth';
|
|
|
4
4
|
import { ConfigService } from '@igo2/core/config';
|
|
5
5
|
import { MessageService } from '@igo2/core/message';
|
|
6
6
|
import { StorageService } from '@igo2/core/storage';
|
|
7
|
+
import olFeature from 'ol/Feature';
|
|
7
8
|
import GeoJSON from 'ol/format/GeoJSON';
|
|
8
9
|
import WKT from 'ol/format/WKT';
|
|
9
10
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
@@ -28,7 +29,7 @@ export declare class EditionWorkspaceService {
|
|
|
28
29
|
rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>;
|
|
29
30
|
loading: boolean;
|
|
30
31
|
wktFormat: WKT;
|
|
31
|
-
geoJsonFormat: GeoJSON
|
|
32
|
+
geoJsonFormat: GeoJSON<typeof olFeature>;
|
|
32
33
|
get zoomAuto(): boolean;
|
|
33
34
|
constructor(layerService: LayerService, storageService: StorageService, configService: ConfigService, messageService: MessageService, http: HttpClient, dialog: MatDialog, styleService: StyleService, authInterceptor?: AuthInterceptor);
|
|
34
35
|
createWorkspace(layer: ImageLayer, map: IgoMap): EditionWorkspace;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/geo",
|
|
3
|
-
"version": "17.0.0-next.
|
|
3
|
+
"version": "17.0.0-next.6",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@angular/material": "^17.0.3",
|
|
52
52
|
"@angular/material-moment-adapter": "^17.1.0",
|
|
53
53
|
"@angular/platform-browser": "^17.0.6",
|
|
54
|
-
"@igo2/auth": "^17.0.0-next.
|
|
55
|
-
"@igo2/common": "^17.0.0-next.
|
|
56
|
-
"@igo2/core": "^17.0.0-next.
|
|
57
|
-
"@igo2/utils": "^17.0.0-next.
|
|
54
|
+
"@igo2/auth": "^17.0.0-next.6",
|
|
55
|
+
"@igo2/common": "^17.0.0-next.6",
|
|
56
|
+
"@igo2/core": "^17.0.0-next.6",
|
|
57
|
+
"@igo2/utils": "^17.0.0-next.6",
|
|
58
58
|
"@mat-datetimepicker/core": "~13.0.0",
|
|
59
59
|
"file-saver": "^2.0.2",
|
|
60
60
|
"flexsearch": "0.7.21",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"moment": "^2.29.4",
|
|
66
66
|
"ngx-color-picker": "^14.0.0",
|
|
67
67
|
"ngx-indexed-db": "^11.0.2",
|
|
68
|
-
"ol": "^
|
|
68
|
+
"ol": "^9.0.0",
|
|
69
69
|
"ol-mapbox-style": "^12.0.0",
|
|
70
70
|
"proj4": "^2.9.0",
|
|
71
71
|
"rxjs": "^7.8.0",
|