@artstesh/maps 5.0.10 → 5.1.0
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/helpers/polygon-style.helper.mjs +19 -2
- package/dist/esm2022/map/map-plate/controls/index.mjs +3 -0
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/map-control-zoom.component.mjs +52 -0
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/zoom-control.factory.mjs +13 -0
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/zoom-control.settings.mjs +45 -0
- package/dist/esm2022/map/map-plate/map-plate.component.mjs +4 -1
- package/dist/esm2022/map/map.module.mjs +8 -3
- package/dist/esm2022/map/messages/commands/cancel-feature-modification.command.mjs +8 -0
- package/dist/esm2022/map/messages/commands/modify-feature.command.mjs +18 -0
- package/dist/esm2022/map/messages/executors/filter-features-in-area.executor.mjs +15 -0
- package/dist/esm2022/map/messages/executors/generate-draw.executor.mjs +17 -0
- package/dist/esm2022/map/messages/executors/generate-zoom-control.executor.mjs +13 -0
- package/dist/esm2022/map/messages/index.mjs +3 -1
- package/dist/esm2022/map/models/drawing-type.enum.mjs +2 -1
- package/dist/esm2022/map/public-api.mjs +2 -1
- package/dist/esm2022/map/services/drawing/drawing-generation.service.mjs +16 -22
- package/dist/esm2022/map/services/drawing/drawing.service.mjs +8 -12
- package/dist/esm2022/map/services/drawing/feature-modification.service.mjs +103 -0
- package/dist/esm2022/map/services/feature.service.mjs +4 -18
- package/dist/esm2022/map/services/map-management.service.mjs +5 -13
- package/dist/esm2022/map/services/message-registrator.service.mjs +22 -11
- package/dist/esm2022/src/map/helpers/polygon-style.helper.mjs +19 -2
- package/dist/esm2022/src/map/map-plate/controls/index.mjs +3 -0
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.mjs +52 -0
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/zoom-control.factory.mjs +13 -0
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/zoom-control.settings.mjs +45 -0
- package/dist/esm2022/src/map/map-plate/map-plate.component.mjs +4 -1
- package/dist/esm2022/src/map/map.module.mjs +8 -3
- package/dist/esm2022/src/map/messages/commands/cancel-feature-modification.command.mjs +8 -0
- package/dist/esm2022/src/map/messages/commands/modify-feature.command.mjs +18 -0
- package/dist/esm2022/src/map/messages/executors/filter-features-in-area.executor.mjs +15 -0
- package/dist/esm2022/src/map/messages/executors/generate-draw.executor.mjs +17 -0
- package/dist/esm2022/src/map/messages/executors/generate-zoom-control.executor.mjs +13 -0
- package/dist/esm2022/src/map/messages/index.mjs +3 -1
- package/dist/esm2022/src/map/models/drawing-type.enum.mjs +2 -1
- package/dist/esm2022/src/map/public-api.mjs +2 -1
- package/dist/esm2022/src/map/services/drawing/drawing-generation.service.mjs +16 -22
- package/dist/esm2022/src/map/services/drawing/drawing.service.mjs +8 -12
- package/dist/esm2022/src/map/services/drawing/feature-modification.service.mjs +103 -0
- package/dist/esm2022/src/map/services/feature.service.mjs +4 -18
- package/dist/esm2022/src/map/services/map-management.service.mjs +5 -13
- package/dist/esm2022/src/map/services/message-registrator.service.mjs +22 -11
- package/dist/fesm2022/maps-components-src-map.mjs +322 -87
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +322 -87
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/helpers/polygon-style.helper.d.ts +1 -0
- package/dist/map/map-plate/controls/index.d.ts +2 -0
- package/dist/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +19 -0
- package/dist/map/map-plate/controls/map-control-zoom/zoom-control.factory.d.ts +5 -0
- package/dist/map/map-plate/controls/map-control-zoom/zoom-control.settings.d.ts +14 -0
- package/dist/map/map.module.d.ts +3 -2
- package/dist/map/messages/commands/cancel-feature-modification.command.d.ts +5 -0
- package/dist/map/messages/commands/modify-feature.command.d.ts +11 -0
- package/dist/map/messages/{queries/filter-features-in-area.query.d.ts → executors/filter-features-in-area.executor.d.ts} +2 -2
- package/dist/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts} +2 -2
- package/dist/map/messages/executors/generate-zoom-control.executor.d.ts +9 -0
- package/dist/map/messages/index.d.ts +2 -0
- package/dist/map/models/drawing-type.enum.d.ts +2 -1
- package/dist/map/public-api.d.ts +1 -0
- package/dist/map/services/drawing/drawing-generation.service.d.ts +5 -9
- package/dist/map/services/drawing/feature-modification.service.d.ts +22 -0
- package/dist/map/services/feature.service.d.ts +6 -9
- package/dist/map/services/message-registrator.service.d.ts +3 -3
- package/dist/package.json +1 -1
- package/dist/src/map/helpers/polygon-style.helper.d.ts +1 -0
- package/dist/src/map/map-plate/controls/index.d.ts +2 -0
- package/dist/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +19 -0
- package/dist/src/map/map-plate/controls/map-control-zoom/zoom-control.factory.d.ts +5 -0
- package/dist/src/map/map-plate/controls/map-control-zoom/zoom-control.settings.d.ts +14 -0
- package/dist/src/map/map.module.d.ts +3 -2
- package/dist/src/map/messages/commands/cancel-feature-modification.command.d.ts +5 -0
- package/dist/src/map/messages/commands/modify-feature.command.d.ts +11 -0
- package/dist/src/map/messages/{queries/filter-features-in-area.query.d.ts → executors/filter-features-in-area.executor.d.ts} +2 -2
- package/dist/src/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts} +2 -2
- package/dist/src/map/messages/executors/generate-zoom-control.executor.d.ts +9 -0
- package/dist/src/map/messages/index.d.ts +2 -0
- package/dist/src/map/models/drawing-type.enum.d.ts +2 -1
- package/dist/src/map/public-api.d.ts +1 -0
- package/dist/src/map/services/drawing/drawing-generation.service.d.ts +5 -9
- package/dist/src/map/services/drawing/feature-modification.service.d.ts +22 -0
- package/dist/src/map/services/feature.service.d.ts +6 -9
- package/dist/src/map/services/message-registrator.service.d.ts +3 -3
- package/package.json +2 -2
- package/dist/esm2022/map/messages/queries/filter-features-in-area.query.mjs +0 -15
- package/dist/esm2022/map/messages/queries/generate-draw.query.mjs +0 -17
- package/dist/esm2022/src/map/messages/queries/filter-features-in-area.query.mjs +0 -15
- package/dist/esm2022/src/map/messages/queries/generate-draw.query.mjs +0 -17
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MapPostboyService } from '../../../services/map-postboy.service';
|
|
3
|
+
import { DestructibleComponent } from '../../../common/destructible.component';
|
|
4
|
+
import { ZoomControlSettings } from './zoom-control.settings';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MapControlZoomComponent extends DestructibleComponent implements OnInit {
|
|
7
|
+
private postboy;
|
|
8
|
+
private _settings;
|
|
9
|
+
private map?;
|
|
10
|
+
private control?;
|
|
11
|
+
set settings(value: ZoomControlSettings | undefined);
|
|
12
|
+
constructor(postboy: MapPostboyService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
private setControl;
|
|
15
|
+
onDestroy: () => void;
|
|
16
|
+
private eliminate;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapControlZoomComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapControlZoomComponent, "lib-map-control-zoom", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class ZoomControlSettings {
|
|
2
|
+
controlClass: string;
|
|
3
|
+
zoomInClass: string;
|
|
4
|
+
zoomOutClass: string;
|
|
5
|
+
zoomInLabel: string;
|
|
6
|
+
zoomOutLabel: string;
|
|
7
|
+
static copy(model: ZoomControlSettings): ZoomControlSettings;
|
|
8
|
+
isSame(model: ZoomControlSettings): boolean;
|
|
9
|
+
setZoomInLabel(zoomInLabel: string): ZoomControlSettings;
|
|
10
|
+
setZoomOutClass(zoomOutClass: string): ZoomControlSettings;
|
|
11
|
+
setZoomInClass(zoomInClass: string): ZoomControlSettings;
|
|
12
|
+
setZoomOutLabel(zoomOutLabel: string): ZoomControlSettings;
|
|
13
|
+
setControlClass(controlClass: string): ZoomControlSettings;
|
|
14
|
+
}
|
package/dist/map/map.module.d.ts
CHANGED
|
@@ -8,9 +8,10 @@ import * as i6 from "./map-plate/features/markers/markers.component";
|
|
|
8
8
|
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
|
-
import * as i10 from "
|
|
11
|
+
import * as i10 from "./map-plate/controls/map-control-zoom/map-control-zoom.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
12
13
|
export declare class MapModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
|
|
14
|
-
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
|
|
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 i11.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]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
+
import { FeatureOutputFormat, PolygonModel } from '../../models';
|
|
3
|
+
import Style from 'ol/style/Style';
|
|
4
|
+
export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string | null> {
|
|
5
|
+
model: PolygonModel;
|
|
6
|
+
style: Style;
|
|
7
|
+
format: FeatureOutputFormat;
|
|
8
|
+
static readonly ID: string;
|
|
9
|
+
constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
|
|
10
|
+
get id(): string;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Feature } from 'ol';
|
|
3
3
|
import { Geometry } from 'ol/geom';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
5
5
|
area: Geometry;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
7
|
static readonly ID: string;
|
package/dist/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Vector as Layer } from 'ol/layer';
|
|
3
3
|
import VectorSource from 'ol/source/Vector';
|
|
4
4
|
import { Draw } from 'ol/interaction';
|
|
5
5
|
import { DrawingType } from '../../models';
|
|
6
6
|
import Style from 'ol/style/Style';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
|
+
import { Draw } from 'ol/interaction';
|
|
3
|
+
import { ZoomControlSettings } from '../../map-plate/controls/map-control-zoom/zoom-control.settings';
|
|
4
|
+
export declare class GenerateZoomControlExecutor extends PostboyExecutor<Draw> {
|
|
5
|
+
settings: ZoomControlSettings;
|
|
6
|
+
static readonly ID: string;
|
|
7
|
+
constructor(settings: ZoomControlSettings);
|
|
8
|
+
get id(): string;
|
|
9
|
+
}
|
|
@@ -5,3 +5,5 @@ export * from './commands/close-tooltip.command';
|
|
|
5
5
|
export * from './commands/start-drawing.command';
|
|
6
6
|
export * from './commands/cancel-drawing.command';
|
|
7
7
|
export * from './commands/draw-selection-area.command';
|
|
8
|
+
export * from './commands/modify-feature.command';
|
|
9
|
+
export * from './commands/cancel-feature-modification.command';
|
package/dist/map/public-api.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export * from './map-plate/features/index';
|
|
|
8
8
|
export * from './services/map-postboy.service';
|
|
9
9
|
export * from './services/message-registrator.service';
|
|
10
10
|
export * from './helpers/index';
|
|
11
|
+
export * from './map-plate/controls/index';
|
|
11
12
|
export * from './map-plate/tooltips/index';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
private
|
|
6
|
-
constructor(postboy: MapPostboyService);
|
|
7
|
-
up(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingGenerationService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingGenerationService>;
|
|
1
|
+
import { Draw } from 'ol/interaction';
|
|
2
|
+
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
+
export declare class DrawingGenerationService {
|
|
4
|
+
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
+
private static geometryFunc;
|
|
10
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private modify?;
|
|
7
|
+
private translate?;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeModification;
|
|
12
|
+
private initFeature;
|
|
13
|
+
private addModify;
|
|
14
|
+
private addDragging;
|
|
15
|
+
private onModified;
|
|
16
|
+
private observeMapRender;
|
|
17
|
+
private defineLayer;
|
|
18
|
+
private observeCancelation;
|
|
19
|
+
private clearInteraction;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export declare class FeatureService
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
up(): void;
|
|
1
|
+
import { Geometry } from 'ol/geom';
|
|
2
|
+
import { Feature } from 'ol';
|
|
3
|
+
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
+
export declare class FeatureService {
|
|
5
|
+
constructor();
|
|
6
|
+
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
8
7
|
private static booleanIntersects;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureService>;
|
|
11
8
|
}
|
|
@@ -5,12 +5,12 @@ import { MapStateService } from './map-state.service';
|
|
|
5
5
|
import { MapClickService } from './map-click.service';
|
|
6
6
|
import { MapFeatureService } from './map-feature.service';
|
|
7
7
|
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
-
import {
|
|
9
|
-
import { FeatureService } from './feature.service';
|
|
8
|
+
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
-
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService,
|
|
11
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService);
|
|
13
12
|
protected _up(): void;
|
|
13
|
+
private setExecutors;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
16
16
|
}
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MapPostboyService } from '../../../services/map-postboy.service';
|
|
3
|
+
import { DestructibleComponent } from '../../../common/destructible.component';
|
|
4
|
+
import { ZoomControlSettings } from './zoom-control.settings';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MapControlZoomComponent extends DestructibleComponent implements OnInit {
|
|
7
|
+
private postboy;
|
|
8
|
+
private _settings;
|
|
9
|
+
private map?;
|
|
10
|
+
private control?;
|
|
11
|
+
set settings(value: ZoomControlSettings | undefined);
|
|
12
|
+
constructor(postboy: MapPostboyService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
private setControl;
|
|
15
|
+
onDestroy: () => void;
|
|
16
|
+
private eliminate;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapControlZoomComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapControlZoomComponent, "lib-map-control-zoom", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class ZoomControlSettings {
|
|
2
|
+
controlClass: string;
|
|
3
|
+
zoomInClass: string;
|
|
4
|
+
zoomOutClass: string;
|
|
5
|
+
zoomInLabel: string;
|
|
6
|
+
zoomOutLabel: string;
|
|
7
|
+
static copy(model: ZoomControlSettings): ZoomControlSettings;
|
|
8
|
+
isSame(model: ZoomControlSettings): boolean;
|
|
9
|
+
setZoomInLabel(zoomInLabel: string): ZoomControlSettings;
|
|
10
|
+
setZoomOutClass(zoomOutClass: string): ZoomControlSettings;
|
|
11
|
+
setZoomInClass(zoomInClass: string): ZoomControlSettings;
|
|
12
|
+
setZoomOutLabel(zoomOutLabel: string): ZoomControlSettings;
|
|
13
|
+
setControlClass(controlClass: string): ZoomControlSettings;
|
|
14
|
+
}
|
|
@@ -8,9 +8,10 @@ import * as i6 from "./map-plate/features/markers/markers.component";
|
|
|
8
8
|
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
|
-
import * as i10 from "
|
|
11
|
+
import * as i10 from "./map-plate/controls/map-control-zoom/map-control-zoom.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
12
13
|
export declare class MapModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
|
|
14
|
-
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
|
|
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 i11.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]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
+
import { FeatureOutputFormat, PolygonModel } from '../../models';
|
|
3
|
+
import Style from 'ol/style/Style';
|
|
4
|
+
export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string | null> {
|
|
5
|
+
model: PolygonModel;
|
|
6
|
+
style: Style;
|
|
7
|
+
format: FeatureOutputFormat;
|
|
8
|
+
static readonly ID: string;
|
|
9
|
+
constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
|
|
10
|
+
get id(): string;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Feature } from 'ol';
|
|
3
3
|
import { Geometry } from 'ol/geom';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
5
5
|
area: Geometry;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
7
|
static readonly ID: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Vector as Layer } from 'ol/layer';
|
|
3
3
|
import VectorSource from 'ol/source/Vector';
|
|
4
4
|
import { Draw } from 'ol/interaction';
|
|
5
5
|
import { DrawingType } from '../../models';
|
|
6
6
|
import Style from 'ol/style/Style';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
|
+
import { Draw } from 'ol/interaction';
|
|
3
|
+
import { ZoomControlSettings } from '../../map-plate/controls/map-control-zoom/zoom-control.settings';
|
|
4
|
+
export declare class GenerateZoomControlExecutor extends PostboyExecutor<Draw> {
|
|
5
|
+
settings: ZoomControlSettings;
|
|
6
|
+
static readonly ID: string;
|
|
7
|
+
constructor(settings: ZoomControlSettings);
|
|
8
|
+
get id(): string;
|
|
9
|
+
}
|
|
@@ -5,3 +5,5 @@ export * from './commands/close-tooltip.command';
|
|
|
5
5
|
export * from './commands/start-drawing.command';
|
|
6
6
|
export * from './commands/cancel-drawing.command';
|
|
7
7
|
export * from './commands/draw-selection-area.command';
|
|
8
|
+
export * from './commands/modify-feature.command';
|
|
9
|
+
export * from './commands/cancel-feature-modification.command';
|
|
@@ -8,4 +8,5 @@ export * from './map-plate/features/index';
|
|
|
8
8
|
export * from './services/map-postboy.service';
|
|
9
9
|
export * from './services/message-registrator.service';
|
|
10
10
|
export * from './helpers/index';
|
|
11
|
+
export * from './map-plate/controls/index';
|
|
11
12
|
export * from './map-plate/tooltips/index';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
private
|
|
6
|
-
constructor(postboy: MapPostboyService);
|
|
7
|
-
up(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingGenerationService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingGenerationService>;
|
|
1
|
+
import { Draw } from 'ol/interaction';
|
|
2
|
+
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
+
export declare class DrawingGenerationService {
|
|
4
|
+
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
+
private static geometryFunc;
|
|
10
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private modify?;
|
|
7
|
+
private translate?;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeModification;
|
|
12
|
+
private initFeature;
|
|
13
|
+
private addModify;
|
|
14
|
+
private addDragging;
|
|
15
|
+
private onModified;
|
|
16
|
+
private observeMapRender;
|
|
17
|
+
private defineLayer;
|
|
18
|
+
private observeCancelation;
|
|
19
|
+
private clearInteraction;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export declare class FeatureService
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
up(): void;
|
|
1
|
+
import { Geometry } from 'ol/geom';
|
|
2
|
+
import { Feature } from 'ol';
|
|
3
|
+
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
+
export declare class FeatureService {
|
|
5
|
+
constructor();
|
|
6
|
+
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
8
7
|
private static booleanIntersects;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureService>;
|
|
11
8
|
}
|
|
@@ -5,12 +5,12 @@ import { MapStateService } from './map-state.service';
|
|
|
5
5
|
import { MapClickService } from './map-click.service';
|
|
6
6
|
import { MapFeatureService } from './map-feature.service';
|
|
7
7
|
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
-
import {
|
|
9
|
-
import { FeatureService } from './feature.service';
|
|
8
|
+
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
-
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService,
|
|
11
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService);
|
|
13
12
|
protected _up(): void;
|
|
13
|
+
private setExecutors;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"zone.js": "~0.13.0",
|
|
45
45
|
"ol-geocoder": "^4.0.0",
|
|
46
46
|
"ol": "^6.9.0",
|
|
47
|
-
"@artstesh/postboy": "
|
|
47
|
+
"@artstesh/postboy": "1.0.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@angular-builders/custom-webpack": "^16.0.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class FilterFeaturesInAreaQuery extends PostboyCallbackMessage {
|
|
3
|
-
area;
|
|
4
|
-
features;
|
|
5
|
-
static ID = '36bb2d94-8028-4512-90dd-2386af3fc67c';
|
|
6
|
-
constructor(area, features) {
|
|
7
|
-
super();
|
|
8
|
-
this.area = area;
|
|
9
|
-
this.features = features;
|
|
10
|
-
}
|
|
11
|
-
get id() {
|
|
12
|
-
return FilterFeaturesInAreaQuery.ID;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWZlYXR1cmVzLWluLWFyZWEucXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9tZXNzYWdlcy9xdWVyaWVzL2ZpbHRlci1mZWF0dXJlcy1pbi1hcmVhLnF1ZXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBSTNELE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxzQkFBMkM7SUFHckU7SUFBdUI7SUFGbkMsTUFBTSxDQUFVLEVBQUUsR0FBVyxzQ0FBc0MsQ0FBQztJQUUzRSxZQUFtQixJQUFjLEVBQVMsUUFBNkI7UUFDckUsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFVO1FBQVMsYUFBUSxHQUFSLFFBQVEsQ0FBcUI7SUFFdkUsQ0FBQztJQUVELElBQVcsRUFBRTtRQUNYLE9BQU8seUJBQXlCLENBQUMsRUFBRSxDQUFDO0lBQ3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQb3N0Ym95Q2FsbGJhY2tNZXNzYWdlIH0gZnJvbSAnQGFydHN0ZXNoL3Bvc3Rib3knO1xuaW1wb3J0IHsgRmVhdHVyZSB9IGZyb20gJ29sJztcbmltcG9ydCB7IEdlb21ldHJ5IH0gZnJvbSAnb2wvZ2VvbSc7XG5cbmV4cG9ydCBjbGFzcyBGaWx0ZXJGZWF0dXJlc0luQXJlYVF1ZXJ5IGV4dGVuZHMgUG9zdGJveUNhbGxiYWNrTWVzc2FnZTxGZWF0dXJlPEdlb21ldHJ5PltdPiB7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgSUQ6IHN0cmluZyA9ICczNmJiMmQ5NC04MDI4LTQ1MTItOTBkZC0yMzg2YWYzZmM2N2MnO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBhcmVhOiBHZW9tZXRyeSwgcHVibGljIGZlYXR1cmVzOiBGZWF0dXJlPEdlb21ldHJ5PltdKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgaWQoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gRmlsdGVyRmVhdHVyZXNJbkFyZWFRdWVyeS5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class GenerateDrawQuery extends PostboyCallbackMessage {
|
|
3
|
-
layer;
|
|
4
|
-
style;
|
|
5
|
-
type;
|
|
6
|
-
static ID = 'f01c99ba-0953-4ab5-82f9-04e6fbb678c1';
|
|
7
|
-
constructor(layer, style, type) {
|
|
8
|
-
super();
|
|
9
|
-
this.layer = layer;
|
|
10
|
-
this.style = style;
|
|
11
|
-
this.type = type;
|
|
12
|
-
}
|
|
13
|
-
get id() {
|
|
14
|
-
return GenerateDrawQuery.ID;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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gJ29sL3N0eWxlL1N0eWxlJztcblxuZXhwb3J0IGNsYXNzIEdlbmVyYXRlRHJhd1F1ZXJ5IGV4dGVuZHMgUG9zdGJveUNhbGxiYWNrTWVzc2FnZTxEcmF3PiB7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgSUQ6IHN0cmluZyA9ICdmMDFjOTliYS0wOTUzLTRhYjUtODJmOS0wNGU2ZmJiNjc4YzEnO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBsYXllcjogTGF5ZXI8VmVjdG9yU291cmNlPGFueT4+LCBwdWJsaWMgc3R5bGU6IFN0eWxlLCBwdWJsaWMgdHlwZTogRHJhd2luZ1R5cGUpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIGdldCBpZCgpOiBzdHJpbmcge1xuICAgIHJldHVybiBHZW5lcmF0ZURyYXdRdWVyeS5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class FilterFeaturesInAreaQuery extends PostboyCallbackMessage {
|
|
3
|
-
area;
|
|
4
|
-
features;
|
|
5
|
-
static ID = '36bb2d94-8028-4512-90dd-2386af3fc67c';
|
|
6
|
-
constructor(area, features) {
|
|
7
|
-
super();
|
|
8
|
-
this.area = area;
|
|
9
|
-
this.features = features;
|
|
10
|
-
}
|
|
11
|
-
get id() {
|
|
12
|
-
return FilterFeaturesInAreaQuery.ID;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWZlYXR1cmVzLWluLWFyZWEucXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9tZXNzYWdlcy9xdWVyaWVzL2Zpb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B1YmxpYyBnZXQgaWQoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gRmlsdGVyRmVhdHVyZXNJbkFyZWFRdWVyeS5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class GenerateDrawQuery extends PostboyCallbackMessage {
|
|
3
|
-
layer;
|
|
4
|
-
style;
|
|
5
|
-
type;
|
|
6
|
-
static ID = 'f01c99ba-0953-4ab5-82f9-04e6fbb678c1';
|
|
7
|
-
constructor(layer, style, type) {
|
|
8
|
-
super();
|
|
9
|
-
this.layer = layer;
|
|
10
|
-
this.style = style;
|
|
11
|
-
this.type = type;
|
|
12
|
-
}
|
|
13
|
-
get id() {
|
|
14
|
-
return GenerateDrawQuery.ID;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtZHJhdy5xdWVyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hcHMtY29tcG9uZW50cy9zcmMvbWFwL21lc3NhZ2VzL3F1ZXJpZXMvZ2VuZXJhdGUtZHJhdy5xdWVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQU8zRCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsc0JBQTRCO0lBRzlDO0lBQXdDO0lBQXFCO0lBRnpFLE1BQU0sQ0FBVSxFQUFFLEdBQVcsc0NBQXNDLENBQUM7SUFFM0UsWUFBbUIsS0FBK0IsRUFBUyxLQUFZLEVBQVMsSUFBaUI7UUFDL0YsS0FBSyxFQUFFLENBQUM7UUFEUyxVQUFLLEdBQUwsS0FBSyxDQUEwQjtRQ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