@regionerne/gis-komponent 0.0.94 → 0.0.96

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.
@@ -20,6 +20,7 @@ export declare class GisKomponentComponent implements OnInit, OnDestroy {
20
20
  private readonly _drawLayerService;
21
21
  private readonly _showHoverInfoService;
22
22
  private readonly _printHelper;
23
+ tooltipObjBase64: string;
23
24
  identifier: string;
24
25
  settings: GisKomponentSettings | undefined;
25
26
  toolbarRef: ElementRef;
@@ -65,6 +66,7 @@ export declare class GisKomponentComponent implements OnInit, OnDestroy {
65
66
  private _handleShowScale;
66
67
  ngOnInit(): void;
67
68
  private _addRotateControl;
69
+ private _applyCustomTooltips;
68
70
  toggleToolbar(): void;
69
71
  toggleLayerPanel(): void;
70
72
  toggleActiveObjectsCollapsed(): void;
@@ -41,4 +41,5 @@ export declare class IconsConstants {
41
41
  static drawPrintBase64: string;
42
42
  static documentSearchBase64: string;
43
43
  static showInfoObjBase64: string;
44
+ static tooltipObjBase64: string;
44
45
  }
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regionerne/gis-komponent",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.2.0",
6
6
  "@angular/core": ">=19.2.0",