@igo2/geo 21.0.0-next.12 → 21.0.0-next.13
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/fesm2022/igo2-geo.mjs +67 -79
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/package.json +5 -5
- package/types/igo2-geo.d.ts +25 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/geo",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.13",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@angular/material": "^21.0.0",
|
|
41
41
|
"@angular/material-moment-adapter": "^21.0.0",
|
|
42
42
|
"@angular/platform-browser": "^21.0.0",
|
|
43
|
-
"@igo2/auth": "^21.0.0-next.
|
|
44
|
-
"@igo2/common": "^21.0.0-next.
|
|
45
|
-
"@igo2/core": "^21.0.0-next.
|
|
46
|
-
"@igo2/utils": "^21.0.0-next.
|
|
43
|
+
"@igo2/auth": "^21.0.0-next.13",
|
|
44
|
+
"@igo2/common": "^21.0.0-next.13",
|
|
45
|
+
"@igo2/core": "^21.0.0-next.13",
|
|
46
|
+
"@igo2/utils": "^21.0.0-next.13",
|
|
47
47
|
"@mat-datetimepicker/core": "^17.0.0",
|
|
48
48
|
"geostyler-legend": "^5.2.0",
|
|
49
49
|
"geostyler-openlayers-parser": "^5.7.0",
|
package/types/igo2-geo.d.ts
CHANGED
|
@@ -1839,16 +1839,12 @@ declare abstract class MapBase {
|
|
|
1839
1839
|
layerWatcher: LayerWatcher;
|
|
1840
1840
|
readonly options: MapOptions;
|
|
1841
1841
|
layerController: LayerController;
|
|
1842
|
-
projection: string;
|
|
1843
|
-
viewProjection: Projection$1;
|
|
1844
1842
|
projectionCode: string;
|
|
1843
|
+
viewProjection: Projection$1;
|
|
1845
1844
|
abstract setTarget(id: string): void;
|
|
1846
1845
|
abstract updateView(options: MapViewOptions): void;
|
|
1847
1846
|
abstract setView(options: MapViewOptions): void;
|
|
1848
1847
|
abstract updateControls(value: MapControlsOptions): void;
|
|
1849
|
-
abstract getCenter(projection?: string | Projection$1): [number, number];
|
|
1850
|
-
abstract getExtent(projection?: string | Projection$1): MapExtent;
|
|
1851
|
-
abstract getZoom(): number;
|
|
1852
1848
|
/** @deprecated find a way to remove this method. For now we discourage to use it until we find the way to remove it */
|
|
1853
1849
|
abstract getLayerByOlUId(olUId: string): AnyLayer | undefined;
|
|
1854
1850
|
}
|
|
@@ -2102,8 +2098,6 @@ declare class IgoMap implements MapBase {
|
|
|
2102
2098
|
readonly options: MapOptions;
|
|
2103
2099
|
private mapViewOptions;
|
|
2104
2100
|
private defaultOptions;
|
|
2105
|
-
/** @deprecated use projectionCode */
|
|
2106
|
-
get projection(): string;
|
|
2107
2101
|
get viewProjection(): olproj.Projection;
|
|
2108
2102
|
get projectionCode(): string;
|
|
2109
2103
|
constructor(options?: MapOptions, storageService?: StorageService | undefined, configService?: ConfigService | undefined);
|
|
@@ -2116,21 +2110,6 @@ declare class IgoMap implements MapBase {
|
|
|
2116
2110
|
*/
|
|
2117
2111
|
setView(options: MapViewOptions): void;
|
|
2118
2112
|
updateControls(value: MapControlsOptions): void;
|
|
2119
|
-
/**
|
|
2120
|
-
* @deprecated
|
|
2121
|
-
* TODO: Move to ViewController and update every place it's used
|
|
2122
|
-
*/
|
|
2123
|
-
getCenter(projection?: string | olProjection): [number, number];
|
|
2124
|
-
/**
|
|
2125
|
-
* @deprecated
|
|
2126
|
-
* TODO: Move to ViewController and update every place it's used
|
|
2127
|
-
*/
|
|
2128
|
-
getExtent(projection?: string | olProjection): MapExtent;
|
|
2129
|
-
/**
|
|
2130
|
-
* @deprecated
|
|
2131
|
-
* TODO: Move to ViewController and update every place it's used
|
|
2132
|
-
*/
|
|
2133
|
-
getZoom(): number;
|
|
2134
2113
|
/** @deprecated find a way to remove this method. For now we discourage to use it until we find the way to remove it */
|
|
2135
2114
|
getLayerByOlUId(olUId: string): AnyLayer | undefined;
|
|
2136
2115
|
}
|
|
@@ -4686,11 +4665,20 @@ interface SearchSourceFeature<KindT extends SearchSourceKind> {
|
|
|
4686
4665
|
declare enum SearchSourceKind {
|
|
4687
4666
|
ICherche = 0,
|
|
4688
4667
|
IChercheReverse = 1,
|
|
4668
|
+
/**
|
|
4669
|
+
* @deprecated Deprecated source kind, will be removed in a future major version, likely in 23.x+.
|
|
4670
|
+
*/
|
|
4689
4671
|
Cadastre = 2,
|
|
4690
4672
|
CoordinatesReverse = 3,
|
|
4691
4673
|
ILayer = 4,
|
|
4692
4674
|
Nominatim = 5,
|
|
4675
|
+
/**
|
|
4676
|
+
* @deprecated Deprecated source kind, will be removed in a future major version, likely in 23.x+.
|
|
4677
|
+
*/
|
|
4693
4678
|
StoredQueries = 6,
|
|
4679
|
+
/**
|
|
4680
|
+
* @deprecated Deprecated source kind, will be removed in a future major version, likely in 23.x+.
|
|
4681
|
+
*/
|
|
4694
4682
|
StoredQueriesReverse = 7,
|
|
4695
4683
|
Workspace = 8
|
|
4696
4684
|
}
|
|
@@ -7395,6 +7383,7 @@ declare function computeTermSimilarity(from: string, to: string, caseSensitive?:
|
|
|
7395
7383
|
|
|
7396
7384
|
/**
|
|
7397
7385
|
* Cadastre search source
|
|
7386
|
+
* @deprecated This is a deprecated source. This type is available in ICherche. This search source will be deleted in in few next majors versions, likely in 23x+.
|
|
7398
7387
|
*/
|
|
7399
7388
|
declare class CadastreSearchSource extends SearchSource implements TextSearch {
|
|
7400
7389
|
private http;
|
|
@@ -7427,12 +7416,16 @@ declare class CadastreSearchSource extends SearchSource implements TextSearch {
|
|
|
7427
7416
|
declare function cadastreSearchSourceFactory(): CadastreSearchSource;
|
|
7428
7417
|
/**
|
|
7429
7418
|
* Function that returns a provider for the Cadastre search source
|
|
7419
|
+
* @deprecated This search source is deprecated and will be removed in a future major version, likely in 23.x+. As an alternative, provide iCherche. Within icherche, you could use the "cadastre type"
|
|
7430
7420
|
*/
|
|
7431
7421
|
declare function provideCadastreSearchSource(): {
|
|
7432
7422
|
provide: typeof SearchSource;
|
|
7433
7423
|
useFactory: typeof cadastreSearchSourceFactory;
|
|
7434
7424
|
multi: boolean;
|
|
7435
7425
|
};
|
|
7426
|
+
/**
|
|
7427
|
+
* @deprecated This search source is deprecated and will be removed in a future major version, likely in 23.x+.
|
|
7428
|
+
*/
|
|
7436
7429
|
declare function withCadastreSource(): SearchSourceFeature<SearchSourceKind.Cadastre>;
|
|
7437
7430
|
|
|
7438
7431
|
declare class IChercheSearchResultFormatter {
|
|
@@ -7833,6 +7826,7 @@ interface StoredQueriesReverseResponse {
|
|
|
7833
7826
|
|
|
7834
7827
|
/**
|
|
7835
7828
|
* StoredQueries search source
|
|
7829
|
+
* @deprecated This is a deprecated source. This type is available in ICherche. This search source will be deleted in in few next majors versions, likely in 23x+.
|
|
7836
7830
|
*/
|
|
7837
7831
|
declare class StoredQueriesSearchSource extends SearchSource implements TextSearch {
|
|
7838
7832
|
private http;
|
|
@@ -7866,6 +7860,7 @@ declare class StoredQueriesSearchSource extends SearchSource implements TextSear
|
|
|
7866
7860
|
}
|
|
7867
7861
|
/**
|
|
7868
7862
|
* StoredQueriesReverse search source
|
|
7863
|
+
* @deprecated This is a deprecated source. This type is available in ICherche. This search source will be deleted in in few next majors versions, likely in 23x+.
|
|
7869
7864
|
*/
|
|
7870
7865
|
declare class StoredQueriesReverseSearchSource extends SearchSource implements ReverseSearch {
|
|
7871
7866
|
private http;
|
|
@@ -7905,12 +7900,16 @@ declare class StoredQueriesReverseSearchSource extends SearchSource implements R
|
|
|
7905
7900
|
declare function storedqueriesSearchSourceFactory(): StoredQueriesSearchSource;
|
|
7906
7901
|
/**
|
|
7907
7902
|
* Function that returns a provider for the StoredQueries search source
|
|
7903
|
+
* @deprecated This provider is deprecated and will be removed in a future major version, likely in 23.x+.
|
|
7908
7904
|
*/
|
|
7909
7905
|
declare function provideStoredQueriesSearchSource(): {
|
|
7910
7906
|
provide: typeof SearchSource;
|
|
7911
7907
|
useFactory: typeof storedqueriesSearchSourceFactory;
|
|
7912
7908
|
multi: boolean;
|
|
7913
7909
|
};
|
|
7910
|
+
/**
|
|
7911
|
+
* @deprecated This search source is deprecated and will be removed in a future major version, likely in 23.x+.
|
|
7912
|
+
*/
|
|
7914
7913
|
declare function withStoredQueriesSource(): SearchSourceFeature<SearchSourceKind.StoredQueries>;
|
|
7915
7914
|
/**
|
|
7916
7915
|
* StoredQueriesReverse search source factory
|
|
@@ -7919,12 +7918,16 @@ declare function withStoredQueriesSource(): SearchSourceFeature<SearchSourceKind
|
|
|
7919
7918
|
declare function storedqueriesReverseSearchSourceFactory(): StoredQueriesReverseSearchSource;
|
|
7920
7919
|
/**
|
|
7921
7920
|
* Function that returns a provider for the StoredQueriesReverse search source
|
|
7921
|
+
* @deprecated This provider is deprecated and will be removed in a future major version, likely in 23.x+.
|
|
7922
7922
|
*/
|
|
7923
7923
|
declare function provideStoredQueriesReverseSearchSource(): {
|
|
7924
7924
|
provide: typeof SearchSource;
|
|
7925
7925
|
useFactory: typeof storedqueriesReverseSearchSourceFactory;
|
|
7926
7926
|
multi: boolean;
|
|
7927
7927
|
};
|
|
7928
|
+
/**
|
|
7929
|
+
* @deprecated This search source is deprecated and will be removed in a future major version, likely in 23.x+.
|
|
7930
|
+
*/
|
|
7928
7931
|
declare function withStoredQueriesReverseSource(): SearchSourceFeature<SearchSourceKind.StoredQueriesReverse>;
|
|
7929
7932
|
|
|
7930
7933
|
declare class CoordinatesSearchResultFormatter {
|
|
@@ -11122,8 +11125,6 @@ declare class GeoDB {
|
|
|
11122
11125
|
getGeoDBData(url: string): Observable<GeoDBData | undefined>;
|
|
11123
11126
|
get(url: string): Observable<object | Blob>;
|
|
11124
11127
|
delete(key: string): Observable<object>;
|
|
11125
|
-
/** @deprecated Use delete method instead*/
|
|
11126
|
-
deleteByKey(key: string): Observable<object>;
|
|
11127
11128
|
getRegionCountByID(id: number): Observable<number>;
|
|
11128
11129
|
getRegionByID(id: number): Observable<GeoDBData[]>;
|
|
11129
11130
|
deleteByRegionID(id: number): Observable<void[]>;
|
|
@@ -11173,8 +11174,6 @@ declare class LayerDB {
|
|
|
11173
11174
|
* @returns
|
|
11174
11175
|
*/
|
|
11175
11176
|
delete(key: string): Observable<object>;
|
|
11176
|
-
/** @deprecated Use delete method instead*/
|
|
11177
|
-
deleteByKey(key: string): Observable<object>;
|
|
11178
11177
|
/**
|
|
11179
11178
|
* This method retrive all idb layer definition
|
|
11180
11179
|
* @param layerId
|