@artstesh/maps 5.0.0 → 5.0.3
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/tile-layer/tile-layer.component.mjs +42 -7
- package/dist/esm2022/map/map-plate/layers/tile-layer/tile-layer.factory.mjs +50 -0
- package/dist/esm2022/map/map-plate/layers/tile-layer/tile-layer.settings.mjs +14 -8
- package/dist/esm2022/map/map-plate/map-plate.component.mjs +8 -7
- package/dist/esm2022/map/map.module.mjs +3 -3
- package/dist/esm2022/map/messages/commands/add-tile.command.mjs +13 -0
- package/dist/esm2022/map/messages/commands/remove-tile.command.mjs +13 -0
- package/dist/esm2022/map/messages/events/map-click.event.mjs +15 -0
- package/dist/esm2022/map/messages/index.mjs +2 -1
- package/dist/esm2022/map/models/marker-model.mjs +5 -8
- package/dist/esm2022/map/services/map-click.service.mjs +51 -0
- package/dist/esm2022/map/services/map-management.service.mjs +21 -8
- package/dist/esm2022/map/services/map-postboy.service.mjs +5 -17
- package/dist/esm2022/map/services/map-state.service.mjs +4 -2
- package/dist/esm2022/map/services/message-registrator.service.mjs +23 -12
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.component.mjs +42 -7
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.factory.mjs +50 -0
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.settings.mjs +14 -8
- package/dist/esm2022/src/map/map-plate/map-plate.component.mjs +8 -7
- package/dist/esm2022/src/map/map.module.mjs +3 -3
- package/dist/esm2022/src/map/messages/commands/add-tile.command.mjs +13 -0
- package/dist/esm2022/src/map/messages/commands/remove-tile.command.mjs +13 -0
- package/dist/esm2022/src/map/messages/events/map-click.event.mjs +15 -0
- package/dist/esm2022/src/map/messages/index.mjs +2 -1
- package/dist/esm2022/src/map/models/marker-model.mjs +5 -8
- package/dist/esm2022/src/map/services/map-click.service.mjs +51 -0
- package/dist/esm2022/src/map/services/map-management.service.mjs +21 -8
- package/dist/esm2022/src/map/services/map-postboy.service.mjs +5 -17
- package/dist/esm2022/src/map/services/map-state.service.mjs +4 -2
- package/dist/esm2022/src/map/services/message-registrator.service.mjs +23 -12
- package/dist/fesm2022/maps-components-src-map.mjs +267 -119
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +267 -119
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +14 -5
- package/dist/map/map-plate/layers/tile-layer/tile-layer.factory.d.ts +11 -0
- package/dist/map/map-plate/layers/tile-layer/tile-layer.settings.d.ts +3 -2
- package/dist/map/map-plate/map-plate.component.d.ts +2 -2
- package/dist/map/map.module.d.ts +1 -1
- package/dist/map/messages/commands/add-tile.command.d.ts +9 -0
- package/dist/map/messages/commands/remove-tile.command.d.ts +9 -0
- package/dist/map/messages/events/map-click.event.d.ts +12 -0
- package/dist/map/messages/index.d.ts +1 -0
- package/dist/map/models/marker-model.d.ts +2 -2
- package/dist/map/services/map-click.service.d.ts +16 -0
- package/dist/map/services/map-management.service.d.ts +5 -2
- package/dist/map/services/map-postboy.service.d.ts +4 -7
- package/dist/map/services/map-state.service.d.ts +3 -1
- package/dist/map/services/message-registrator.service.d.ts +7 -2
- package/dist/package.json +2 -1
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +14 -5
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.factory.d.ts +11 -0
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.settings.d.ts +3 -2
- package/dist/src/map/map-plate/map-plate.component.d.ts +2 -2
- package/dist/src/map/map.module.d.ts +1 -1
- package/dist/src/map/messages/commands/add-tile.command.d.ts +9 -0
- package/dist/src/map/messages/commands/remove-tile.command.d.ts +9 -0
- package/dist/src/map/messages/events/map-click.event.d.ts +12 -0
- package/dist/src/map/messages/index.d.ts +1 -0
- package/dist/src/map/models/marker-model.d.ts +2 -2
- package/dist/src/map/services/map-click.service.d.ts +16 -0
- package/dist/src/map/services/map-management.service.d.ts +5 -2
- package/dist/src/map/services/map-postboy.service.d.ts +4 -7
- package/dist/src/map/services/map-state.service.d.ts +3 -1
- package/dist/src/map/services/message-registrator.service.d.ts +7 -2
- package/package.json +3 -2
- package/dist/esm2022/map/messages/commands/clear-layer.command.mjs +0 -13
- package/dist/esm2022/map/services/service.collector.mjs +0 -14
- package/dist/esm2022/src/map/messages/commands/clear-layer.command.mjs +0 -13
- package/dist/esm2022/src/map/services/service.collector.mjs +0 -14
- package/dist/map/messages/commands/clear-layer.command.d.ts +0 -7
- package/dist/map/services/service.collector.d.ts +0 -9
- package/dist/src/map/messages/commands/clear-layer.command.d.ts +0 -7
- package/dist/src/map/services/service.collector.d.ts +0 -9
|
@@ -2,8 +2,8 @@ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { MapSettings } from '../models';
|
|
3
3
|
import Map from 'ol/Map';
|
|
4
4
|
import { DestructibleComponent } from '../common/destructible.component';
|
|
5
|
+
import { MessageRegistratorService } from '../services/message-registrator.service';
|
|
5
6
|
import { MapPostboyService } from '../services/map-postboy.service';
|
|
6
|
-
import { ServiceCollector } from '../services/service.collector';
|
|
7
7
|
import { MapPlateFactory } from './map-plate.factory.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class MapPlateComponent extends DestructibleComponent implements OnInit {
|
|
@@ -13,7 +13,7 @@ export declare class MapPlateComponent extends DestructibleComponent implements
|
|
|
13
13
|
private detector;
|
|
14
14
|
map: Map;
|
|
15
15
|
osmUrl: string;
|
|
16
|
-
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator:
|
|
16
|
+
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef);
|
|
17
17
|
_settings: MapSettings;
|
|
18
18
|
set settings(value: MapSettings | undefined);
|
|
19
19
|
ngOnInit(): void;
|
|
@@ -8,6 +8,6 @@ import * as i6 from "./map-plate/features/markers/markers.component";
|
|
|
8
8
|
import * as i7 from "@angular/common";
|
|
9
9
|
export declare class MapModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
|
|
11
|
-
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.CommonModule], [typeof i2.MapPlateComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent]>;
|
|
11
|
+
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.CommonModule], [typeof i2.MapPlateComponent, typeof i5.FeatureLayerComponent, typeof i6.MarkersComponent, typeof i3.TileLayerComponent]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericMessage } from '../generic-message';
|
|
2
|
+
import TileLayer from 'ol/layer/Tile';
|
|
3
|
+
import { XYZ } from 'ol/source';
|
|
4
|
+
export declare class AddTileCommand extends GenericMessage {
|
|
5
|
+
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "25b7df28-72ce-4453-9fe6-54285a2fdc57";
|
|
7
|
+
constructor(layer: TileLayer<XYZ>);
|
|
8
|
+
get id(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GenericMessage } from '../generic-message';
|
|
2
|
+
import TileLayer from 'ol/layer/Tile';
|
|
3
|
+
import { XYZ } from 'ol/source';
|
|
4
|
+
export declare class RemoveTileCommand extends GenericMessage {
|
|
5
|
+
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "c36ccc0b-5638-4819-b148-2de57a59a5b7";
|
|
7
|
+
constructor(layer: TileLayer<XYZ>);
|
|
8
|
+
get id(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GenericMessage } from '../generic-message';
|
|
2
|
+
export declare class MapClickEvent extends GenericMessage {
|
|
3
|
+
coordinates: number[];
|
|
4
|
+
entities: {
|
|
5
|
+
[layer: string]: (string | number)[];
|
|
6
|
+
};
|
|
7
|
+
static readonly ID = "323df526-8d9c-49c6-83e8-6e9a1e7762f7";
|
|
8
|
+
constructor(coordinates: number[], entities: {
|
|
9
|
+
[layer: string]: (string | number)[];
|
|
10
|
+
});
|
|
11
|
+
get id(): string;
|
|
12
|
+
}
|
|
@@ -3,11 +3,11 @@ import { Geometry } from 'ol/geom';
|
|
|
3
3
|
export declare class MarkerModel {
|
|
4
4
|
readonly lat: number;
|
|
5
5
|
readonly lng: number;
|
|
6
|
-
readonly id?: string | number | undefined;
|
|
7
6
|
info?: {
|
|
8
7
|
[id: string]: any;
|
|
9
8
|
} | undefined;
|
|
10
|
-
|
|
9
|
+
readonly id: string | number;
|
|
10
|
+
constructor(lat: number, lng: number, id?: string | number, info?: {
|
|
11
11
|
[id: string]: any;
|
|
12
12
|
} | undefined);
|
|
13
13
|
private _feature;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapBrowserEvent } from 'ol';
|
|
3
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
4
|
+
import { MapClickEvent } from '../messages/events/map-click.event';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MapClickService implements IPostboyDependingService {
|
|
7
|
+
private postboy;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeMapRender;
|
|
12
|
+
onClick(ev: MapBrowserEvent<UIEvent>): MapClickEvent;
|
|
13
|
+
private getFeatureCollectionWithInner;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapClickService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapClickService>;
|
|
16
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MapManagementService {
|
|
4
|
+
export declare class MapManagementService implements IPostboyDependingService {
|
|
4
5
|
private postboy;
|
|
5
6
|
private map?;
|
|
6
7
|
private layers;
|
|
7
8
|
constructor(postboy: MapPostboyService);
|
|
9
|
+
up(): void;
|
|
10
|
+
private observeRemoveTile;
|
|
11
|
+
private observeAddTile;
|
|
8
12
|
private observeMapRender;
|
|
9
|
-
private observeClearLayer;
|
|
10
13
|
private observeAddLayer;
|
|
11
14
|
private observePlaceFeatures;
|
|
12
15
|
private observeRemoveLayer;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PostboyService } from '@artstesh/postboy';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MapPostboyService {
|
|
5
|
-
|
|
6
|
-
register<T>(id: string, sub: Subject<T>): void;
|
|
7
|
-
subscribe<T>(id: string): Observable<T>;
|
|
8
|
-
fire<T extends GenericMessage>(message: T): void;
|
|
4
|
+
export declare class MapPostboyService extends PostboyService {
|
|
5
|
+
observe: <T>(id: string) => Observable<T>;
|
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapPostboyService, never>;
|
|
10
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapPostboyService>;
|
|
11
8
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MapStateService {
|
|
4
|
+
export declare class MapStateService implements IPostboyDependingService {
|
|
4
5
|
private postboy;
|
|
5
6
|
private map?;
|
|
6
7
|
constructor(postboy: MapPostboyService);
|
|
8
|
+
up(): void;
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapStateService, never>;
|
|
8
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapStateService>;
|
|
9
11
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { PostboyAbstractRegistrator } from '@artstesh/postboy';
|
|
3
|
+
import { MapManagementService } from './map-management.service';
|
|
4
|
+
import { MapStateService } from './map-state.service';
|
|
5
|
+
import { MapClickService } from './map-click.service';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MessageRegistratorService {
|
|
4
|
-
constructor(service: MapPostboyService);
|
|
7
|
+
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
8
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, interaction: MapClickService);
|
|
9
|
+
protected _up(): void;
|
|
5
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
6
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
7
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"tslib": "^2.3.0",
|
|
44
44
|
"zone.js": "~0.13.0",
|
|
45
45
|
"ol-geocoder": "^4.0.0",
|
|
46
|
-
"ol": "^6.9.0"
|
|
46
|
+
"ol": "^6.9.0",
|
|
47
|
+
"@artstesh/postboy": "^1.0.3"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@angular-builders/custom-webpack": "^16.0.0",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GenericMessage } from '../generic-message';
|
|
2
|
-
export class ClearLayerCommand extends GenericMessage {
|
|
3
|
-
layer;
|
|
4
|
-
static ID = 'd02842b7-fa62-458d-b1e4-12dd814610c5';
|
|
5
|
-
constructor(layer) {
|
|
6
|
-
super();
|
|
7
|
-
this.layer = layer;
|
|
8
|
-
}
|
|
9
|
-
get id() {
|
|
10
|
-
return ClearLayerCommand.ID;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItbGF5ZXIuY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hcHMtY29tcG9uZW50cy9zcmMvbWFwL21lc3NhZ2VzL2NvbW1hbmRzL2NsZWFyLWxheWVyLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXBELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxjQUFjO0lBR2hDO0lBRlosTUFBTSxDQUFVLEVBQUUsR0FBRyxzQ0FBc0MsQ0FBQztJQUVuRSxZQUFtQixLQUFhO1FBQzlCLEtBQUssRUFBRSxDQUFDO1FBRFMsVUFBSyxHQUFMLEtBQUssQ0FBUTtJQUVoQyxDQUFDO0lBRUQsSUFBVyxFQUFFO1FBQ1gsT0FBTyxpQkFBaUIsQ0FBQyxFQUFFLENBQUM7SUFDOUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEdlbmVyaWNNZXNzYWdlIH0gZnJvbSAnLi4vZ2VuZXJpYy1tZXNzYWdlJztcblxuZXhwb3J0IGNsYXNzIENsZWFyTGF5ZXJDb21tYW5kIGV4dGVuZHMgR2VuZXJpY01lc3NhZ2Uge1xuICBwdWJsaWMgc3RhdGljIHJlYWRvbmx5IElEID0gJ2QwMjg0MmI3LWZhNjItNDU4ZC1iMWU0LTEyZGQ4MTQ2MTBjNSc7XG5cbiAgY29uc3RydWN0b3IocHVibGljIGxheWVyOiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIGdldCBpZCgpOiBzdHJpbmcge1xuICAgIHJldHVybiBDbGVhckxheWVyQ29tbWFuZC5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./message-registrator.service";
|
|
4
|
-
import * as i2 from "./map-management.service";
|
|
5
|
-
import * as i3 from "./map-state.service";
|
|
6
|
-
export class ServiceCollector {
|
|
7
|
-
constructor(registrator, management, state) { }
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector, deps: [{ token: i1.MessageRegistratorService }, { token: i2.MapManagementService }, { token: i3.MapStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector, decorators: [{
|
|
12
|
-
type: Injectable
|
|
13
|
-
}], ctorParameters: function () { return [{ type: i1.MessageRegistratorService }, { type: i2.MapManagementService }, { type: i3.MapStateService }]; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5jb2xsZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9zZXJ2aWNlcy9zZXJ2aWNlLmNvbGxlY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU0zQyxNQUFNLE9BQU8sZ0JBQWdCO0lBQzNCLFlBQVksV0FBc0MsRUFBRSxVQUFnQyxFQUFFLEtBQXNCLElBQUcsQ0FBQzt3R0FEckcsZ0JBQWdCOzRHQUFoQixnQkFBZ0I7OzRGQUFoQixnQkFBZ0I7a0JBRDVCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBNZXNzYWdlUmVnaXN0cmF0b3JTZXJ2aWNlIH0gZnJvbSAnLi9tZXNzYWdlLXJlZ2lzdHJhdG9yLnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwTWFuYWdlbWVudFNlcnZpY2UgfSBmcm9tICcuL21hcC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwU3RhdGVTZXJ2aWNlIH0gZnJvbSAnLi9tYXAtc3RhdGUuc2VydmljZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBTZXJ2aWNlQ29sbGVjdG9yIHtcbiAgY29uc3RydWN0b3IocmVnaXN0cmF0b3I6IE1lc3NhZ2VSZWdpc3RyYXRvclNlcnZpY2UsIG1hbmFnZW1lbnQ6IE1hcE1hbmFnZW1lbnRTZXJ2aWNlLCBzdGF0ZTogTWFwU3RhdGVTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GenericMessage } from '../generic-message';
|
|
2
|
-
export class ClearLayerCommand extends GenericMessage {
|
|
3
|
-
layer;
|
|
4
|
-
static ID = 'd02842b7-fa62-458d-b1e4-12dd814610c5';
|
|
5
|
-
constructor(layer) {
|
|
6
|
-
super();
|
|
7
|
-
this.layer = layer;
|
|
8
|
-
}
|
|
9
|
-
get id() {
|
|
10
|
-
return ClearLayerCommand.ID;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItbGF5ZXIuY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hcHMtY29tcG9uZW50cy9zcmMvbWFwL21lc3NhZ2VzL2NvbW1hbmRzL2NsZWFyLWxheWVyLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXBELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxjQUFjO0lBR2hDO0lBRlosTUFBTSxDQUFVLEVBQUUsR0FBRyxzQ0FBc0MsQ0FBQztJQUVuRSxZQUFtQixLQUFhO1FBQzlCLEtBQUssRUFBRSxDQUFDO1FBRFMsVUFBSyxHQUFMLEtBQUssQ0FBUTtJQUVoQyxDQUFDO0lBRUQsSUFBVyxFQUFFO1FBQ1gsT0FBTyxpQkFBaUIsQ0FBQyxFQUFFLENBQUM7SUFDOUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEdlbmVyaWNNZXNzYWdlIH0gZnJvbSAnLi4vZ2VuZXJpYy1tZXNzYWdlJztcblxuZXhwb3J0IGNsYXNzIENsZWFyTGF5ZXJDb21tYW5kIGV4dGVuZHMgR2VuZXJpY01lc3NhZ2Uge1xuICBwdWJsaWMgc3RhdGljIHJlYWRvbmx5IElEID0gJ2QwMjg0MmI3LWZhNjItNDU4ZC1iMWU0LTEyZGQ4MTQ2MTBjNSc7XG5cbiAgY29uc3RydWN0b3IocHVibGljIGxheWVyOiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIGdldCBpZCgpOiBzdHJpbmcge1xuICAgIHJldHVybiBDbGVhckxheWVyQ29tbWFuZC5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./message-registrator.service";
|
|
4
|
-
import * as i2 from "./map-management.service";
|
|
5
|
-
import * as i3 from "./map-state.service";
|
|
6
|
-
export class ServiceCollector {
|
|
7
|
-
constructor(registrator, management, state) { }
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector, deps: [{ token: i1.MessageRegistratorService }, { token: i2.MapManagementService }, { token: i3.MapStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceCollector, decorators: [{
|
|
12
|
-
type: Injectable
|
|
13
|
-
}], ctorParameters: function () { return [{ type: i1.MessageRegistratorService }, { type: i2.MapManagementService }, { type: i3.MapStateService }]; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5jb2xsZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9zZXJ2aWNlcy9zZXJ2aWNlLmNvbGxlY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU0zQyxNQUFNLE9BQU8sZ0JBQWdCO0lBQzNCLFlBQVksV0FBc0MsRUFBRSxVQUFnQyxFQUFFLEtBQXNCLElBQUcsQ0FBQzt3R0FEckcsZ0JBQWdCOzRHQUFoQixnQkFBZ0I7OzRGQUFoQixnQkFBZ0I7a0JBRDVCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBNZXNzYWdlUmVnaXN0cmF0b3JTZXJ2aWNlIH0gZnJvbSAnLi9tZXNzYWdlLXJlZ2lzdHJhdG9yLnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwTWFuYWdlbWVudFNlcnZpY2UgfSBmcm9tICcuL21hcC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwU3RhdGVTZXJ2aWNlIH0gZnJvbSAnLi9tYXAtc3RhdGUuc2VydmljZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBTZXJ2aWNlQ29sbGVjdG9yIHtcbiAgY29uc3RydWN0b3IocmVnaXN0cmF0b3I6IE1lc3NhZ2VSZWdpc3RyYXRvclNlcnZpY2UsIG1hbmFnZW1lbnQ6IE1hcE1hbmFnZW1lbnRTZXJ2aWNlLCBzdGF0ZTogTWFwU3RhdGVTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MessageRegistratorService } from './message-registrator.service';
|
|
2
|
-
import { MapManagementService } from './map-management.service';
|
|
3
|
-
import { MapStateService } from './map-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ServiceCollector {
|
|
6
|
-
constructor(registrator: MessageRegistratorService, management: MapManagementService, state: MapStateService);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceCollector, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceCollector>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MessageRegistratorService } from './message-registrator.service';
|
|
2
|
-
import { MapManagementService } from './map-management.service';
|
|
3
|
-
import { MapStateService } from './map-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ServiceCollector {
|
|
6
|
-
constructor(registrator: MessageRegistratorService, management: MapManagementService, state: MapStateService);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceCollector, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceCollector>;
|
|
9
|
-
}
|