@regionerne/gis-komponent 0.0.95 → 0.0.97
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.
|
@@ -177,9 +177,11 @@ export declare class ToolboxComponent implements OnInit, OnChanges {
|
|
|
177
177
|
startDelete(): void;
|
|
178
178
|
isTriangle(feature: Feature): boolean;
|
|
179
179
|
startEditRemovePoints(): void;
|
|
180
|
+
private _startRemovePoints;
|
|
180
181
|
highlight(wkt: string, event: MouseEvent): void;
|
|
181
182
|
addToActiveObjectsList(item: SearchResponseItem, event: MouseEvent, withBuffer?: boolean): void;
|
|
182
183
|
startEdit(): void;
|
|
184
|
+
private _editFeature;
|
|
183
185
|
private _startDraw;
|
|
184
186
|
private _areaSource;
|
|
185
187
|
private _areaLayer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Point, Polygon } from 'ol/geom';
|
|
2
2
|
import { ILayer } from '../models/ILayer';
|
|
3
|
-
import { SearchProviderBase } from './infoSearch.service';
|
|
3
|
+
import { IValue, SearchProviderBase } from './infoSearch.service';
|
|
4
4
|
import { FeatureCollection } from 'geojson';
|
|
5
5
|
import Filter from 'ol/format/filter/Filter';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +9,7 @@ export interface GeometrySearchResponseItem {
|
|
|
9
9
|
id: string;
|
|
10
10
|
wkt: string;
|
|
11
11
|
url?: string;
|
|
12
|
+
metadata: Record<string, IValue>[];
|
|
12
13
|
}
|
|
13
14
|
export interface GeometrySearchResponse {
|
|
14
15
|
total: number;
|
|
@@ -23,6 +24,8 @@ export declare class GeometrySearchService extends SearchProviderBase<GeometrySe
|
|
|
23
24
|
getSearchableLayers(): ILayer[];
|
|
24
25
|
getFilter(searchValue: Point | Polygon, layer: ILayer): Filter;
|
|
25
26
|
map(l: ILayer, f: FeatureCollection): GeometrySearchResponse;
|
|
27
|
+
private _mapFeatureMetadata;
|
|
28
|
+
private _getValueKind;
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeometrySearchService, never>;
|
|
27
30
|
static ɵprov: i0.ɵɵInjectableDeclaration<GeometrySearchService>;
|
|
28
31
|
}
|