@regionerne/gis-komponent 0.0.59 → 0.0.60
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/regionerne-gis-komponent.mjs +213 -72
- package/fesm2022/regionerne-gis-komponent.mjs.map +1 -1
- package/lib/components/gis-komponent/gis-komponent.component.d.ts +1 -0
- package/lib/components/layer-selector/layer-selector.component.d.ts +0 -1
- package/lib/components/toolbox/toolbox.component.d.ts +4 -3
- package/lib/services/layoutService.d.ts +12 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare class GisKomponentComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
private readonly _http;
|
|
16
16
|
private readonly _layerHelper;
|
|
17
17
|
private readonly _layerErrorService;
|
|
18
|
+
private readonly _layoutService;
|
|
18
19
|
private readonly _featureLoader;
|
|
19
20
|
private readonly _drawLayerService;
|
|
20
21
|
private readonly _showHoverInfoService;
|
|
@@ -46,7 +46,6 @@ export declare class LayerSelectorComponent implements OnInit, OnChanges {
|
|
|
46
46
|
private readonly _dmpCatalogService;
|
|
47
47
|
private readonly _dmpMapper;
|
|
48
48
|
private readonly _profileService;
|
|
49
|
-
private readonly LAYER_SELECTOR_POSITION_KEY;
|
|
50
49
|
ngOnInit(): void;
|
|
51
50
|
ngOnChanges(changes: SimpleChanges): void;
|
|
52
51
|
onLayerSelectorDragEnded(event: CdkDragEnd): void;
|
|
@@ -128,15 +128,16 @@ export declare class ToolboxComponent implements OnInit, OnChanges {
|
|
|
128
128
|
onMeasureModeChanged(event: MatSelectChange): void;
|
|
129
129
|
toggleFeatureSearch(): void;
|
|
130
130
|
togglePointSearch(): void;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
toggleCowiPage(): void;
|
|
132
|
+
toggleSkraafotoPage(): void;
|
|
133
|
+
toggleGoogleStreetviewPage(): void;
|
|
134
134
|
startDocumentPointSearch(): void;
|
|
135
135
|
startDocumentPolygonSearch(): void;
|
|
136
136
|
togglePolygonSearch(): void;
|
|
137
137
|
private _disablePolygonSearch;
|
|
138
138
|
private _enablePointSearch;
|
|
139
139
|
deleteGeometrySearchItem(result: GeometrySearchResponse, itemId: string, event: MouseEvent): void;
|
|
140
|
+
deleteAllGeometrySearchItem(): void;
|
|
140
141
|
private _disablePointSearch;
|
|
141
142
|
openUrl(url: string | null | undefined, event: MouseEvent): void;
|
|
142
143
|
splitBySearchedObject(item: SearchResponseItem, event: MouseEvent): void;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import { Map } from 'ol';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export interface WidgetPositionOptions {
|
|
4
|
+
initialPosition: string;
|
|
5
|
+
widgetName: string;
|
|
6
|
+
widgetWidth: number;
|
|
7
|
+
widgetHeight: number;
|
|
8
|
+
offsetX?: number;
|
|
9
|
+
offsetY?: number;
|
|
10
|
+
}
|
|
2
11
|
export declare class LayoutService {
|
|
3
|
-
|
|
12
|
+
private _map;
|
|
13
|
+
set map(value: Map);
|
|
14
|
+
calculateWidgetPosition({ initialPosition, widgetName, widgetWidth, widgetHeight, offsetX, offsetY, }: WidgetPositionOptions): {
|
|
4
15
|
x: number;
|
|
5
16
|
y: number;
|
|
6
17
|
};
|