@artstesh/maps 5.2.4 → 5.2.5
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/dist/esm2022/map/map-plate/layers/image-layer/image-layer-factory.mjs +26 -0
- package/dist/esm2022/map/map-plate/layers/image-layer/image-layer.component.mjs +52 -0
- package/dist/esm2022/map/map-plate/layers/image-layer/image-layer.settings.mjs +134 -0
- package/dist/esm2022/map/map-plate/layers/index.mjs +3 -1
- package/dist/esm2022/map/map.module.mjs +8 -3
- package/dist/esm2022/map/messages/commands/add-image-layer.command.mjs +10 -0
- package/dist/esm2022/map/messages/commands/remove-image-layer.command.mjs +10 -0
- package/dist/esm2022/map/services/map-management.service.mjs +16 -1
- package/dist/esm2022/map/services/message-registrator.service.mjs +5 -1
- package/dist/esm2022/src/map/map-plate/layers/image-layer/image-layer-factory.mjs +26 -0
- package/dist/esm2022/src/map/map-plate/layers/image-layer/image-layer.component.mjs +52 -0
- package/dist/esm2022/src/map/map-plate/layers/image-layer/image-layer.settings.mjs +134 -0
- package/dist/esm2022/src/map/map-plate/layers/index.mjs +3 -1
- package/dist/esm2022/src/map/map.module.mjs +8 -3
- package/dist/esm2022/src/map/messages/commands/add-image-layer.command.mjs +10 -0
- package/dist/esm2022/src/map/messages/commands/remove-image-layer.command.mjs +10 -0
- package/dist/esm2022/src/map/services/map-management.service.mjs +16 -1
- package/dist/esm2022/src/map/services/message-registrator.service.mjs +5 -1
- package/dist/fesm2022/maps-components-src-map.mjs +239 -3
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +239 -3
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/map-plate/layers/image-layer/image-layer-factory.d.ts +9 -0
- package/dist/map/map-plate/layers/image-layer/image-layer.component.d.ts +22 -0
- package/dist/map/map-plate/layers/image-layer/image-layer.settings.d.ts +97 -0
- package/dist/map/map-plate/layers/index.d.ts +2 -0
- package/dist/map/map.module.d.ts +3 -2
- package/dist/map/messages/commands/add-image-layer.command.d.ts +8 -0
- package/dist/map/messages/commands/remove-image-layer.command.d.ts +8 -0
- package/dist/map/services/map-management.service.d.ts +1 -0
- package/dist/src/map/map-plate/layers/image-layer/image-layer-factory.d.ts +9 -0
- package/dist/src/map/map-plate/layers/image-layer/image-layer.component.d.ts +22 -0
- package/dist/src/map/map-plate/layers/image-layer/image-layer.settings.d.ts +97 -0
- package/dist/src/map/map-plate/layers/index.d.ts +2 -0
- package/dist/src/map/map.module.d.ts +3 -2
- package/dist/src/map/messages/commands/add-image-layer.command.d.ts +8 -0
- package/dist/src/map/messages/commands/remove-image-layer.command.d.ts +8 -0
- package/dist/src/map/services/map-management.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Static from 'ol/source/ImageStatic';
|
|
2
|
+
import { ImageLayerSettings } from './image-layer.settings';
|
|
3
|
+
import ImageLayer from 'ol/layer/Image';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ImageLayerFactory {
|
|
6
|
+
build(settings: ImageLayerSettings): ImageLayer<Static>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLayerFactory, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ImageLayerFactory>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DestructibleComponent } from '../../../common/destructible.component';
|
|
3
|
+
import { MapPostboyService } from '../../../services/map-postboy.service';
|
|
4
|
+
import { ImageLayerFactory } from './image-layer-factory';
|
|
5
|
+
import ImageLayer from 'ol/layer/Image';
|
|
6
|
+
import Static from 'ol/source/ImageStatic';
|
|
7
|
+
import { ImageLayerSettings } from './image-layer.settings';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ImageLayerComponent extends DestructibleComponent implements OnInit {
|
|
10
|
+
private postboy;
|
|
11
|
+
private factory;
|
|
12
|
+
layer?: ImageLayer<Static>;
|
|
13
|
+
constructor(postboy: MapPostboyService, factory: ImageLayerFactory);
|
|
14
|
+
_settings: ImageLayerSettings;
|
|
15
|
+
set settings(value: ImageLayerSettings | undefined);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onDestroy: () => void;
|
|
18
|
+
private initLayer;
|
|
19
|
+
private removeLayer;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLayerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLayerComponent, "art-image-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export declare class ImageLayerSettings {
|
|
2
|
+
/**
|
|
3
|
+
* Represents the tiles URL.
|
|
4
|
+
* @typedef {string} url
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* 'https://example.ex/{z}/{x}/{y}.png'
|
|
8
|
+
*/
|
|
9
|
+
url: string;
|
|
10
|
+
/**
|
|
11
|
+
* Use interpolated values when resampling.
|
|
12
|
+
* By default, linear interpolation is used when resampling.
|
|
13
|
+
* Set to false to use the nearest neighbor instead.
|
|
14
|
+
*/
|
|
15
|
+
interpolate?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The projection of the coordinate system.
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @default 'EPSG:3857'
|
|
21
|
+
*/
|
|
22
|
+
projection: string;
|
|
23
|
+
extent: number[];
|
|
24
|
+
/**
|
|
25
|
+
* Additional headers that should be added to each tile request
|
|
26
|
+
*
|
|
27
|
+
* @type {Record<string, string>}
|
|
28
|
+
* @default An empty array
|
|
29
|
+
*/
|
|
30
|
+
requestHeaders: Record<string, string> | null;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a copy of the given tile layer settings.
|
|
33
|
+
*
|
|
34
|
+
* @param {ImageLayerSettings} model - The tile layer settings to be copied.
|
|
35
|
+
* @return {ImageLayerSettings} - A new instance of ImageLayerSettings with the same properties as the model.
|
|
36
|
+
*/
|
|
37
|
+
static copy(model: ImageLayerSettings): ImageLayerSettings;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the URL of the ImageLayerSettings object.
|
|
40
|
+
*
|
|
41
|
+
* @param {string} url - The URL to be set.
|
|
42
|
+
* @return {ImageLayerSettings} - The updated ImageLayerSettings object.
|
|
43
|
+
*/
|
|
44
|
+
setUrl(url: string): ImageLayerSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the interpolation state for the image layer settings.
|
|
47
|
+
*
|
|
48
|
+
* @param {boolean} [interpolate] - Use interpolated values when resampling.
|
|
49
|
+
* By default, linear interpolation is used when resampling.
|
|
50
|
+
* Set to false to use the nearest neighbor instead.
|
|
51
|
+
* @return {ImageLayerSettings} A new instance of ImageLayerSettings with the updated interpolation setting.
|
|
52
|
+
*/
|
|
53
|
+
setInterpolate(interpolate?: boolean): ImageLayerSettings;
|
|
54
|
+
setExtent(extent: number[]): ImageLayerSettings;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the requestHeaders of the ImageLayerSettings object.
|
|
57
|
+
*
|
|
58
|
+
* @param {Record<string, string>} requestHeaders - The headers which should be provided.
|
|
59
|
+
* @return {ImageLayerSettings} - The updated ImageLayerSettings object.
|
|
60
|
+
*/
|
|
61
|
+
setRequestHeaders(requestHeaders: Record<string, string>): ImageLayerSettings;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the maximum zoom level for the tile layer.
|
|
64
|
+
*
|
|
65
|
+
* @param {number} maxZoom - The maximum zoom level.
|
|
66
|
+
* @returns {ImageLayerSettings} - The updated tile layer settings object.
|
|
67
|
+
*/
|
|
68
|
+
setMaxZoom(maxZoom: number): ImageLayerSettings;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the minimum zoom level for the Tile Layer.
|
|
71
|
+
*
|
|
72
|
+
* @param {number} minZoom - The minimum zoom level to be set.
|
|
73
|
+
* @return {ImageLayerSettings} The modified ImageLayerSettings object with the updated minimum zoom level.
|
|
74
|
+
*/
|
|
75
|
+
setMinZoom(minZoom: number): ImageLayerSettings;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the opacity of the ImageLayerSettings.
|
|
78
|
+
*
|
|
79
|
+
* @param {number} opacity - The opacity value to set. Must be a number between 0 and 1.
|
|
80
|
+
* @return {ImageLayerSettings} - A new instance of ImageLayerSettings with the opacity set.
|
|
81
|
+
*/
|
|
82
|
+
setOpacity(opacity: number): ImageLayerSettings;
|
|
83
|
+
/**
|
|
84
|
+
* Sets the projection for the tile layer settings.
|
|
85
|
+
*
|
|
86
|
+
* @param {string} projection - The desired projection for the tile layer settings.
|
|
87
|
+
* @return {ImageLayerSettings} - The updated tile layer settings with the new projection.
|
|
88
|
+
*/
|
|
89
|
+
setProjection(projection: string): ImageLayerSettings;
|
|
90
|
+
/**
|
|
91
|
+
* Checks if the current instance of ImageLayerSettings is equal to the given model.
|
|
92
|
+
* @param {ImageLayerSettings} model - The model to compare against.
|
|
93
|
+
* @return {boolean} - True if all properties of the current instance matches the properties of the model;
|
|
94
|
+
* otherwise, false.
|
|
95
|
+
*/
|
|
96
|
+
isSame(model: ImageLayerSettings): boolean;
|
|
97
|
+
}
|
|
@@ -5,3 +5,5 @@ export * from './feature-layer/feature-layer.settings';
|
|
|
5
5
|
export * from './feature-layer/feature-layer.component';
|
|
6
6
|
export * from './cluster-layer/cluster-layer.component';
|
|
7
7
|
export * from './cluster-layer/cluster-layer.settings';
|
|
8
|
+
export * from './image-layer/image-layer.component';
|
|
9
|
+
export * from './image-layer/image-layer.settings';
|
package/dist/map/map.module.d.ts
CHANGED
|
@@ -9,9 +9,10 @@ import * as i7 from "./map-plate/tooltips/tooltip/tooltip.component";
|
|
|
9
9
|
import * as i8 from "./map-plate/features/polygons/polygons.component";
|
|
10
10
|
import * as i9 from "./map-plate/layers/cluster-layer/cluster-layer.component";
|
|
11
11
|
import * as i10 from "./map-plate/controls/map-control-zoom/map-control-zoom.component";
|
|
12
|
-
import * as i11 from "
|
|
12
|
+
import * as i11 from "./map-plate/layers/image-layer/image-layer.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
13
14
|
export declare class MapModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MapModule, [typeof i1.DestructibleComponent, typeof i2.MapPlateComponent, typeof i3.TileLayerComponent, typeof i4.OsmTileLayerComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapModule, [typeof i1.DestructibleComponent, typeof i2.MapPlateComponent, typeof i3.TileLayerComponent, typeof i4.OsmTileLayerComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent, typeof i11.ImageLayerComponent], [typeof i12.CommonModule], [typeof i2.MapPlateComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i3.TileLayerComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent, typeof i11.ImageLayerComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
|
|
17
18
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
2
|
+
import Static from 'ol/source/ImageStatic';
|
|
3
|
+
import ImageLayer from 'ol/layer/Image';
|
|
4
|
+
export declare class AddImageLayerCommand extends PostboyGenericMessage {
|
|
5
|
+
layer: ImageLayer<Static>;
|
|
6
|
+
static readonly ID = "70f9b86f-8bc2-4f28-ae79-a13fc0b1ee5d";
|
|
7
|
+
constructor(layer: ImageLayer<Static>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
2
|
+
import ImageLayer from 'ol/layer/Image';
|
|
3
|
+
import Static from 'ol/source/ImageStatic';
|
|
4
|
+
export declare class RemoveImageLayerCommand extends PostboyGenericMessage {
|
|
5
|
+
layer: ImageLayer<Static>;
|
|
6
|
+
static readonly ID = "c8e7efdb-17ff-4cf9-89be-e688b8de3b95";
|
|
7
|
+
constructor(layer: ImageLayer<Static>);
|
|
8
|
+
}
|
|
@@ -10,6 +10,7 @@ export declare class MapManagementService implements IPostboyDependingService {
|
|
|
10
10
|
private observeRemoveTile;
|
|
11
11
|
private observeLayerQuery;
|
|
12
12
|
private observeAddTile;
|
|
13
|
+
private observeImageLayer;
|
|
13
14
|
private observeMapRender;
|
|
14
15
|
private observeAddLayer;
|
|
15
16
|
private observePlaceFeatures;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Static from 'ol/source/ImageStatic';
|
|
2
|
+
import { ImageLayerSettings } from './image-layer.settings';
|
|
3
|
+
import ImageLayer from 'ol/layer/Image';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ImageLayerFactory {
|
|
6
|
+
build(settings: ImageLayerSettings): ImageLayer<Static>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLayerFactory, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ImageLayerFactory>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DestructibleComponent } from '../../../common/destructible.component';
|
|
3
|
+
import { MapPostboyService } from '../../../services/map-postboy.service';
|
|
4
|
+
import { ImageLayerFactory } from './image-layer-factory';
|
|
5
|
+
import ImageLayer from 'ol/layer/Image';
|
|
6
|
+
import Static from 'ol/source/ImageStatic';
|
|
7
|
+
import { ImageLayerSettings } from './image-layer.settings';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ImageLayerComponent extends DestructibleComponent implements OnInit {
|
|
10
|
+
private postboy;
|
|
11
|
+
private factory;
|
|
12
|
+
layer?: ImageLayer<Static>;
|
|
13
|
+
constructor(postboy: MapPostboyService, factory: ImageLayerFactory);
|
|
14
|
+
_settings: ImageLayerSettings;
|
|
15
|
+
set settings(value: ImageLayerSettings | undefined);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onDestroy: () => void;
|
|
18
|
+
private initLayer;
|
|
19
|
+
private removeLayer;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLayerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLayerComponent, "art-image-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export declare class ImageLayerSettings {
|
|
2
|
+
/**
|
|
3
|
+
* Represents the tiles URL.
|
|
4
|
+
* @typedef {string} url
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* 'https://example.ex/{z}/{x}/{y}.png'
|
|
8
|
+
*/
|
|
9
|
+
url: string;
|
|
10
|
+
/**
|
|
11
|
+
* Use interpolated values when resampling.
|
|
12
|
+
* By default, linear interpolation is used when resampling.
|
|
13
|
+
* Set to false to use the nearest neighbor instead.
|
|
14
|
+
*/
|
|
15
|
+
interpolate?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The projection of the coordinate system.
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @default 'EPSG:3857'
|
|
21
|
+
*/
|
|
22
|
+
projection: string;
|
|
23
|
+
extent: number[];
|
|
24
|
+
/**
|
|
25
|
+
* Additional headers that should be added to each tile request
|
|
26
|
+
*
|
|
27
|
+
* @type {Record<string, string>}
|
|
28
|
+
* @default An empty array
|
|
29
|
+
*/
|
|
30
|
+
requestHeaders: Record<string, string> | null;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a copy of the given tile layer settings.
|
|
33
|
+
*
|
|
34
|
+
* @param {ImageLayerSettings} model - The tile layer settings to be copied.
|
|
35
|
+
* @return {ImageLayerSettings} - A new instance of ImageLayerSettings with the same properties as the model.
|
|
36
|
+
*/
|
|
37
|
+
static copy(model: ImageLayerSettings): ImageLayerSettings;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the URL of the ImageLayerSettings object.
|
|
40
|
+
*
|
|
41
|
+
* @param {string} url - The URL to be set.
|
|
42
|
+
* @return {ImageLayerSettings} - The updated ImageLayerSettings object.
|
|
43
|
+
*/
|
|
44
|
+
setUrl(url: string): ImageLayerSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the interpolation state for the image layer settings.
|
|
47
|
+
*
|
|
48
|
+
* @param {boolean} [interpolate] - Use interpolated values when resampling.
|
|
49
|
+
* By default, linear interpolation is used when resampling.
|
|
50
|
+
* Set to false to use the nearest neighbor instead.
|
|
51
|
+
* @return {ImageLayerSettings} A new instance of ImageLayerSettings with the updated interpolation setting.
|
|
52
|
+
*/
|
|
53
|
+
setInterpolate(interpolate?: boolean): ImageLayerSettings;
|
|
54
|
+
setExtent(extent: number[]): ImageLayerSettings;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the requestHeaders of the ImageLayerSettings object.
|
|
57
|
+
*
|
|
58
|
+
* @param {Record<string, string>} requestHeaders - The headers which should be provided.
|
|
59
|
+
* @return {ImageLayerSettings} - The updated ImageLayerSettings object.
|
|
60
|
+
*/
|
|
61
|
+
setRequestHeaders(requestHeaders: Record<string, string>): ImageLayerSettings;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the maximum zoom level for the tile layer.
|
|
64
|
+
*
|
|
65
|
+
* @param {number} maxZoom - The maximum zoom level.
|
|
66
|
+
* @returns {ImageLayerSettings} - The updated tile layer settings object.
|
|
67
|
+
*/
|
|
68
|
+
setMaxZoom(maxZoom: number): ImageLayerSettings;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the minimum zoom level for the Tile Layer.
|
|
71
|
+
*
|
|
72
|
+
* @param {number} minZoom - The minimum zoom level to be set.
|
|
73
|
+
* @return {ImageLayerSettings} The modified ImageLayerSettings object with the updated minimum zoom level.
|
|
74
|
+
*/
|
|
75
|
+
setMinZoom(minZoom: number): ImageLayerSettings;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the opacity of the ImageLayerSettings.
|
|
78
|
+
*
|
|
79
|
+
* @param {number} opacity - The opacity value to set. Must be a number between 0 and 1.
|
|
80
|
+
* @return {ImageLayerSettings} - A new instance of ImageLayerSettings with the opacity set.
|
|
81
|
+
*/
|
|
82
|
+
setOpacity(opacity: number): ImageLayerSettings;
|
|
83
|
+
/**
|
|
84
|
+
* Sets the projection for the tile layer settings.
|
|
85
|
+
*
|
|
86
|
+
* @param {string} projection - The desired projection for the tile layer settings.
|
|
87
|
+
* @return {ImageLayerSettings} - The updated tile layer settings with the new projection.
|
|
88
|
+
*/
|
|
89
|
+
setProjection(projection: string): ImageLayerSettings;
|
|
90
|
+
/**
|
|
91
|
+
* Checks if the current instance of ImageLayerSettings is equal to the given model.
|
|
92
|
+
* @param {ImageLayerSettings} model - The model to compare against.
|
|
93
|
+
* @return {boolean} - True if all properties of the current instance matches the properties of the model;
|
|
94
|
+
* otherwise, false.
|
|
95
|
+
*/
|
|
96
|
+
isSame(model: ImageLayerSettings): boolean;
|
|
97
|
+
}
|
|
@@ -5,3 +5,5 @@ export * from './feature-layer/feature-layer.settings';
|
|
|
5
5
|
export * from './feature-layer/feature-layer.component';
|
|
6
6
|
export * from './cluster-layer/cluster-layer.component';
|
|
7
7
|
export * from './cluster-layer/cluster-layer.settings';
|
|
8
|
+
export * from './image-layer/image-layer.component';
|
|
9
|
+
export * from './image-layer/image-layer.settings';
|
|
@@ -9,9 +9,10 @@ import * as i7 from "./map-plate/tooltips/tooltip/tooltip.component";
|
|
|
9
9
|
import * as i8 from "./map-plate/features/polygons/polygons.component";
|
|
10
10
|
import * as i9 from "./map-plate/layers/cluster-layer/cluster-layer.component";
|
|
11
11
|
import * as i10 from "./map-plate/controls/map-control-zoom/map-control-zoom.component";
|
|
12
|
-
import * as i11 from "
|
|
12
|
+
import * as i11 from "./map-plate/layers/image-layer/image-layer.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
13
14
|
export declare class MapModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MapModule, [typeof i1.DestructibleComponent, typeof i2.MapPlateComponent, typeof i3.TileLayerComponent, typeof i4.OsmTileLayerComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapModule, [typeof i1.DestructibleComponent, typeof i2.MapPlateComponent, typeof i3.TileLayerComponent, typeof i4.OsmTileLayerComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent, typeof i11.ImageLayerComponent], [typeof i12.CommonModule], [typeof i2.MapPlateComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i3.TileLayerComponent, typeof i7.TooltipComponent, typeof i8.PolygonsComponent, typeof i9.ClusterLayerComponent, typeof i10.MapControlZoomComponent, typeof i11.ImageLayerComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
|
|
17
18
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
2
|
+
import Static from 'ol/source/ImageStatic';
|
|
3
|
+
import ImageLayer from 'ol/layer/Image';
|
|
4
|
+
export declare class AddImageLayerCommand extends PostboyGenericMessage {
|
|
5
|
+
layer: ImageLayer<Static>;
|
|
6
|
+
static readonly ID = "70f9b86f-8bc2-4f28-ae79-a13fc0b1ee5d";
|
|
7
|
+
constructor(layer: ImageLayer<Static>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
2
|
+
import ImageLayer from 'ol/layer/Image';
|
|
3
|
+
import Static from 'ol/source/ImageStatic';
|
|
4
|
+
export declare class RemoveImageLayerCommand extends PostboyGenericMessage {
|
|
5
|
+
layer: ImageLayer<Static>;
|
|
6
|
+
static readonly ID = "c8e7efdb-17ff-4cf9-89be-e688b8de3b95";
|
|
7
|
+
constructor(layer: ImageLayer<Static>);
|
|
8
|
+
}
|
|
@@ -10,6 +10,7 @@ export declare class MapManagementService implements IPostboyDependingService {
|
|
|
10
10
|
private observeRemoveTile;
|
|
11
11
|
private observeLayerQuery;
|
|
12
12
|
private observeAddTile;
|
|
13
|
+
private observeImageLayer;
|
|
13
14
|
private observeMapRender;
|
|
14
15
|
private observeAddLayer;
|
|
15
16
|
private observePlaceFeatures;
|