@artstesh/maps 6.0.8 → 6.0.10
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/messages/commands/add-control.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/add-layer.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/add-tile.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/cancel-drawing.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/cancel-feature-modification.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/close-tooltip.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/draw-selection-area.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/fit-to-features.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/fit-to-polygons.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/modify-feature.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/place-layer-features.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/remove-control.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/remove-layer.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/remove-tile.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/set-map-center.command.mjs +2 -1
- package/dist/esm2022/map/messages/commands/start-drawing.command.mjs +2 -1
- package/dist/esm2022/map/messages/events/drawing-finished.event.mjs +2 -1
- package/dist/esm2022/map/messages/events/map-click.event.mjs +2 -1
- package/dist/esm2022/map/messages/events/map-move-end.event.mjs +2 -1
- package/dist/esm2022/map/messages/events/map-rendered.event.mjs +2 -1
- package/dist/esm2022/map/messages/executors/calculate-area.executor.mjs +2 -1
- package/dist/esm2022/map/messages/executors/filter-features-in-area.executor.mjs +2 -1
- package/dist/esm2022/map/messages/executors/filter-features-in-point.executor.mjs +2 -1
- package/dist/esm2022/map/messages/executors/generate-draw.executor.mjs +2 -1
- package/dist/esm2022/map/messages/executors/generate-zoom-control.executor.mjs +2 -1
- package/dist/esm2022/map/messages/queries/get-features-in-area.query.mjs +2 -1
- package/dist/esm2022/map/messages/queries/get-features-in-point.query.mjs +2 -1
- package/dist/esm2022/map/messages/queries/get-layer.query.mjs +2 -1
- package/dist/esm2022/map/services/map-postboy.service.mjs +4 -4
- package/dist/esm2022/src/map/messages/commands/add-control.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/add-layer.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/add-tile.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/cancel-drawing.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/cancel-feature-modification.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/close-tooltip.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/draw-selection-area.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/fit-to-features.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/fit-to-polygons.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/modify-feature.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/place-layer-features.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/remove-control.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/remove-layer.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/remove-tile.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/set-map-center.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/commands/start-drawing.command.mjs +2 -1
- package/dist/esm2022/src/map/messages/events/drawing-finished.event.mjs +2 -1
- package/dist/esm2022/src/map/messages/events/map-click.event.mjs +2 -1
- package/dist/esm2022/src/map/messages/events/map-move-end.event.mjs +2 -1
- package/dist/esm2022/src/map/messages/events/map-rendered.event.mjs +2 -1
- package/dist/esm2022/src/map/messages/executors/calculate-area.executor.mjs +2 -1
- package/dist/esm2022/src/map/messages/executors/filter-features-in-area.executor.mjs +2 -1
- package/dist/esm2022/src/map/messages/executors/filter-features-in-point.executor.mjs +2 -1
- package/dist/esm2022/src/map/messages/executors/generate-draw.executor.mjs +2 -1
- package/dist/esm2022/src/map/messages/executors/generate-zoom-control.executor.mjs +2 -1
- package/dist/esm2022/src/map/messages/queries/get-features-in-area.query.mjs +2 -1
- package/dist/esm2022/src/map/messages/queries/get-features-in-point.query.mjs +2 -1
- package/dist/esm2022/src/map/messages/queries/get-layer.query.mjs +2 -1
- package/dist/esm2022/src/map/services/map-postboy.service.mjs +4 -4
- package/dist/fesm2022/maps-components-src-map.mjs +31 -3
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +31 -3
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/messages/commands/add-control.command.d.ts +1 -0
- package/dist/map/messages/commands/add-layer.command.d.ts +1 -0
- package/dist/map/messages/commands/add-tile.command.d.ts +1 -0
- package/dist/map/messages/commands/cancel-drawing.command.d.ts +1 -0
- package/dist/map/messages/commands/cancel-feature-modification.command.d.ts +1 -0
- package/dist/map/messages/commands/close-tooltip.command.d.ts +1 -0
- package/dist/map/messages/commands/draw-selection-area.command.d.ts +1 -0
- package/dist/map/messages/commands/fit-to-features.command.d.ts +1 -0
- package/dist/map/messages/commands/fit-to-polygons.command.d.ts +1 -0
- package/dist/map/messages/commands/modify-feature.command.d.ts +1 -0
- package/dist/map/messages/commands/place-layer-features.command.d.ts +1 -0
- package/dist/map/messages/commands/remove-control.command.d.ts +1 -0
- package/dist/map/messages/commands/remove-layer.command.d.ts +1 -0
- package/dist/map/messages/commands/remove-tile.command.d.ts +1 -0
- package/dist/map/messages/commands/set-map-center.command.d.ts +1 -0
- package/dist/map/messages/commands/start-drawing.command.d.ts +1 -0
- package/dist/map/messages/events/drawing-finished.event.d.ts +1 -0
- package/dist/map/messages/events/map-click.event.d.ts +1 -0
- package/dist/map/messages/events/map-move-end.event.d.ts +1 -0
- package/dist/map/messages/events/map-rendered.event.d.ts +1 -0
- package/dist/map/messages/executors/calculate-area.executor.d.ts +1 -0
- package/dist/map/messages/executors/filter-features-in-area.executor.d.ts +1 -0
- package/dist/map/messages/executors/filter-features-in-point.executor.d.ts +1 -0
- package/dist/map/messages/executors/generate-draw.executor.d.ts +1 -0
- package/dist/map/messages/executors/generate-zoom-control.executor.d.ts +1 -0
- package/dist/map/messages/queries/get-features-in-area.query.d.ts +1 -0
- package/dist/map/messages/queries/get-features-in-point.query.d.ts +1 -0
- package/dist/map/messages/queries/get-layer.query.d.ts +1 -0
- package/dist/src/map/messages/commands/add-control.command.d.ts +1 -0
- package/dist/src/map/messages/commands/add-layer.command.d.ts +1 -0
- package/dist/src/map/messages/commands/add-tile.command.d.ts +1 -0
- package/dist/src/map/messages/commands/cancel-drawing.command.d.ts +1 -0
- package/dist/src/map/messages/commands/cancel-feature-modification.command.d.ts +1 -0
- package/dist/src/map/messages/commands/close-tooltip.command.d.ts +1 -0
- package/dist/src/map/messages/commands/draw-selection-area.command.d.ts +1 -0
- package/dist/src/map/messages/commands/fit-to-features.command.d.ts +1 -0
- package/dist/src/map/messages/commands/fit-to-polygons.command.d.ts +1 -0
- package/dist/src/map/messages/commands/modify-feature.command.d.ts +1 -0
- package/dist/src/map/messages/commands/place-layer-features.command.d.ts +1 -0
- package/dist/src/map/messages/commands/remove-control.command.d.ts +1 -0
- package/dist/src/map/messages/commands/remove-layer.command.d.ts +1 -0
- package/dist/src/map/messages/commands/remove-tile.command.d.ts +1 -0
- package/dist/src/map/messages/commands/set-map-center.command.d.ts +1 -0
- package/dist/src/map/messages/commands/start-drawing.command.d.ts +1 -0
- package/dist/src/map/messages/events/drawing-finished.event.d.ts +1 -0
- package/dist/src/map/messages/events/map-click.event.d.ts +1 -0
- package/dist/src/map/messages/events/map-move-end.event.d.ts +1 -0
- package/dist/src/map/messages/events/map-rendered.event.d.ts +1 -0
- package/dist/src/map/messages/executors/calculate-area.executor.d.ts +1 -0
- package/dist/src/map/messages/executors/filter-features-in-area.executor.d.ts +1 -0
- package/dist/src/map/messages/executors/filter-features-in-point.executor.d.ts +1 -0
- package/dist/src/map/messages/executors/generate-draw.executor.d.ts +1 -0
- package/dist/src/map/messages/executors/generate-zoom-control.executor.d.ts +1 -0
- package/dist/src/map/messages/queries/get-features-in-area.query.d.ts +1 -0
- package/dist/src/map/messages/queries/get-features-in-point.query.d.ts +1 -0
- package/dist/src/map/messages/queries/get-layer.query.d.ts +1 -0
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ import { MapControl } from '../../models/map-control';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class AddControlCommand extends PostboyGenericMessage {
|
|
7
7
|
item: MapControl;
|
|
8
|
+
static readonly ID = "2921fb19-f1c4-4bf4-97be-001f98241f3b";
|
|
8
9
|
/**
|
|
9
10
|
* Creates an instance of the class with the specified MapControl object.
|
|
10
11
|
*
|
|
@@ -4,5 +4,6 @@ import Cluster from 'ol/source/Cluster';
|
|
|
4
4
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
5
5
|
export declare class AddLayerCommand extends PostboyGenericMessage {
|
|
6
6
|
layer: Layer<VectorSource<any> | Cluster>;
|
|
7
|
+
static readonly ID = "7fe68d71-350f-47e2-b1ae-62cc333e1572";
|
|
7
8
|
constructor(layer: Layer<VectorSource<any> | Cluster>);
|
|
8
9
|
}
|
|
@@ -3,5 +3,6 @@ import { XYZ } from 'ol/source';
|
|
|
3
3
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
4
4
|
export declare class AddTileCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "ae29b7af-21aa-4b0a-8586-92c23779e6cb";
|
|
6
7
|
constructor(layer: TileLayer<XYZ>);
|
|
7
8
|
}
|
|
@@ -3,4 +3,5 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
3
3
|
* Represents a command to cancel a feature modification.
|
|
4
4
|
*/
|
|
5
5
|
export declare class CancelFeatureModificationCommand extends PostboyGenericMessage {
|
|
6
|
+
static readonly ID = "e7886353-53b3-4bbe-93b5-6490e5f1305e";
|
|
6
7
|
}
|
|
@@ -4,6 +4,7 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class CloseTooltipCommand extends PostboyGenericMessage {
|
|
6
6
|
tooltipId: string;
|
|
7
|
+
static readonly ID = "df687e26-7298-46d7-8911-d014801dafac";
|
|
7
8
|
/**
|
|
8
9
|
* Creates an instance of the class with the specified tooltip ID.
|
|
9
10
|
*
|
|
@@ -12,6 +12,7 @@ export declare class DrawSelectionAreaCommand extends PostboyCallbackMessage<Dic
|
|
|
12
12
|
type: DrawingType;
|
|
13
13
|
style: Style;
|
|
14
14
|
ignore: Set<string>;
|
|
15
|
+
static readonly ID = "06e43f59-c6ba-41bb-9c5b-f6534d914905";
|
|
15
16
|
/**
|
|
16
17
|
* Constructs a new instance with the specified type, style, and optional set of ignored items.
|
|
17
18
|
*
|
|
@@ -4,5 +4,6 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
export declare class FitToFeaturesCommand extends PostboyGenericMessage {
|
|
5
5
|
features: Feature<Geometry>[];
|
|
6
6
|
zoomAfter: number;
|
|
7
|
+
static readonly ID = "04d67609-0b4c-4f52-aa53-ad0a3db967dc";
|
|
7
8
|
constructor(features: Feature<Geometry>[], zoomAfter?: number);
|
|
8
9
|
}
|
|
@@ -7,6 +7,7 @@ import { PolygonModel } from '../../models';
|
|
|
7
7
|
export declare class FitToPolygonsCommand extends PostboyGenericMessage {
|
|
8
8
|
features: PolygonModel[];
|
|
9
9
|
zoomAfter: number;
|
|
10
|
+
static readonly ID = "308394ce-48d3-45f5-8671-52207fba4be3";
|
|
10
11
|
/**
|
|
11
12
|
* Creates an instance of the class with specified polygon features and an optional zoom level.
|
|
12
13
|
*
|
|
@@ -11,6 +11,7 @@ export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string
|
|
|
11
11
|
model: PolygonModel;
|
|
12
12
|
style: Style;
|
|
13
13
|
format: FeatureOutputFormat;
|
|
14
|
+
static readonly ID = "8f76507e-f18d-4232-bab7-f3d4e3d707bb";
|
|
14
15
|
/**
|
|
15
16
|
* Constructs an instance of the class.
|
|
16
17
|
*
|
|
@@ -4,5 +4,6 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
export declare class PlaceLayerFeaturesCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: string;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
|
+
static readonly ID = "5f27a2cd-8d8a-4929-b703-8aee6dcdc21c";
|
|
7
8
|
constructor(layer: string, features: Feature<Geometry>[]);
|
|
8
9
|
}
|
|
@@ -10,6 +10,7 @@ import { MapControl } from '../../models/map-control';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class RemoveControlCommand extends PostboyGenericMessage {
|
|
12
12
|
item: MapControl;
|
|
13
|
+
static readonly ID = "73bcb4f5-ce7d-4c71-b70d-e772100136a1";
|
|
13
14
|
/**
|
|
14
15
|
* Constructs an instance of the class.
|
|
15
16
|
*
|
|
@@ -2,5 +2,6 @@ import BaseLayer from 'ol/layer/Base';
|
|
|
2
2
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
3
3
|
export declare class RemoveLayerCommand extends PostboyGenericMessage {
|
|
4
4
|
layer: BaseLayer;
|
|
5
|
+
static readonly ID = "1b60599c-599a-4fdb-bad2-23b12e435e1a";
|
|
5
6
|
constructor(layer: BaseLayer);
|
|
6
7
|
}
|
|
@@ -3,5 +3,6 @@ import { XYZ } from 'ol/source';
|
|
|
3
3
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
4
4
|
export declare class RemoveTileCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "dab0f861-bb25-46da-9388-717bfaae798f";
|
|
6
7
|
constructor(layer: TileLayer<XYZ>);
|
|
7
8
|
}
|
|
@@ -8,6 +8,7 @@ export declare class StartDrawingCommand extends PostboyCallbackMessage<string |
|
|
|
8
8
|
type: DrawingType;
|
|
9
9
|
style: Style;
|
|
10
10
|
format: FeatureOutputFormat;
|
|
11
|
+
static readonly ID = "4407e9ee-d6c3-4e77-8000-c1aae7433fb6";
|
|
11
12
|
/**
|
|
12
13
|
* Constructor for creating an instance of the class that represents a drawing feature with specific type, style, and output format.
|
|
13
14
|
*
|
|
@@ -16,6 +16,7 @@ export declare class MapClickEvent extends PostboyGenericMessage {
|
|
|
16
16
|
features: {
|
|
17
17
|
[layer: string]: Feature<Geometry>[];
|
|
18
18
|
};
|
|
19
|
+
static readonly ID = "ee31a86c-e838-4531-8399-983753a354df";
|
|
19
20
|
/**
|
|
20
21
|
* Creates an instance of this class with the provided coordinates, entities, and features.
|
|
21
22
|
*
|
|
@@ -5,6 +5,7 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MapRenderedEvent extends PostboyGenericMessage {
|
|
7
7
|
map: Map;
|
|
8
|
+
static readonly ID = "4515dde8-1519-4e3f-a0e3-10d3c52deabe";
|
|
8
9
|
/**
|
|
9
10
|
* Constructor for creating an instance of the class.
|
|
10
11
|
*
|
|
@@ -11,5 +11,6 @@ import { PolygonModel } from '../../models';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class CalculateAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
13
13
|
polygon: PolygonModel;
|
|
14
|
+
static readonly ID = "82347b8c-7635-45ec-85ef-75aaf43bc34c";
|
|
14
15
|
constructor(polygon: PolygonModel);
|
|
15
16
|
}
|
|
@@ -12,5 +12,6 @@ import { Geometry } from 'ol/geom';
|
|
|
12
12
|
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
13
13
|
area: Geometry;
|
|
14
14
|
features: Feature<Geometry>[];
|
|
15
|
+
static readonly ID = "4d26e1e3-e60f-4e49-804b-5b3eadc2adce";
|
|
15
16
|
constructor(area: Geometry, features: Feature<Geometry>[]);
|
|
16
17
|
}
|
|
@@ -12,6 +12,7 @@ export declare class FilterFeaturesInPointExecutor extends PostboyExecutor<Featu
|
|
|
12
12
|
lat: number;
|
|
13
13
|
lng: number;
|
|
14
14
|
features: Feature<Geometry>[];
|
|
15
|
+
static readonly ID = "dcbb156d-def3-45b4-91af-84d1483d8941";
|
|
15
16
|
/**
|
|
16
17
|
* Constructs a new instance with the specified latitude, longitude, and features.
|
|
17
18
|
*
|
|
@@ -8,5 +8,6 @@ export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
11
|
+
static readonly ID = "5d5f0737-ff70-461e-9a2e-bf6166c914cb";
|
|
11
12
|
constructor(layer: Layer<VectorSource<any>>, style: Style, type: DrawingType);
|
|
12
13
|
}
|
|
@@ -3,5 +3,6 @@ import { Draw } from 'ol/interaction';
|
|
|
3
3
|
import { ZoomControlSettings } from '../../map-plate/controls/map-control-zoom/zoom-control.settings';
|
|
4
4
|
export declare class GenerateZoomControlExecutor extends PostboyExecutor<Draw> {
|
|
5
5
|
settings: ZoomControlSettings;
|
|
6
|
+
static readonly ID = "c59f4fc3-ccf6-4cb3-a38b-3a8c249114a2";
|
|
6
7
|
constructor(settings: ZoomControlSettings);
|
|
7
8
|
}
|
|
@@ -9,6 +9,7 @@ import { Dictionary } from '@artstesh/collections';
|
|
|
9
9
|
export declare class GetFeaturesInAreaQuery extends PostboyCallbackMessage<Dictionary<IIdentified[]>> {
|
|
10
10
|
area: Geometry;
|
|
11
11
|
ignore: Set<string>;
|
|
12
|
+
static readonly ID = "317cf427-a029-4a43-97c4-cb6b8148ff65";
|
|
12
13
|
/**
|
|
13
14
|
* Constructor to initialize the object with a Geometry instance and an optional set of strings to ignore.
|
|
14
15
|
*
|
|
@@ -9,6 +9,7 @@ export declare class GetFeaturesInPointQuery extends PostboyCallbackMessage<Dict
|
|
|
9
9
|
lat: number;
|
|
10
10
|
lng: number;
|
|
11
11
|
ignore: Set<string>;
|
|
12
|
+
static readonly ID = "99bbc56f-34a2-4064-8300-13bb3d0662c1";
|
|
12
13
|
/**
|
|
13
14
|
* Constructor for initializing a geographic coordinate object.
|
|
14
15
|
*
|
|
@@ -4,5 +4,6 @@ import VectorSource from 'ol/source/Vector';
|
|
|
4
4
|
import Cluster from 'ol/source/Cluster';
|
|
5
5
|
export declare class GetLayerQuery extends PostboyCallbackMessage<Layer<VectorSource<any> | Cluster> | null> {
|
|
6
6
|
name: string;
|
|
7
|
+
static readonly ID = "d2683490-2aa2-4dee-855d-f752ce4d3be5";
|
|
7
8
|
constructor(name: string);
|
|
8
9
|
}
|
|
@@ -5,6 +5,7 @@ import { MapControl } from '../../models/map-control';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class AddControlCommand extends PostboyGenericMessage {
|
|
7
7
|
item: MapControl;
|
|
8
|
+
static readonly ID = "2921fb19-f1c4-4bf4-97be-001f98241f3b";
|
|
8
9
|
/**
|
|
9
10
|
* Creates an instance of the class with the specified MapControl object.
|
|
10
11
|
*
|
|
@@ -4,5 +4,6 @@ import Cluster from 'ol/source/Cluster';
|
|
|
4
4
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
5
5
|
export declare class AddLayerCommand extends PostboyGenericMessage {
|
|
6
6
|
layer: Layer<VectorSource<any> | Cluster>;
|
|
7
|
+
static readonly ID = "7fe68d71-350f-47e2-b1ae-62cc333e1572";
|
|
7
8
|
constructor(layer: Layer<VectorSource<any> | Cluster>);
|
|
8
9
|
}
|
|
@@ -3,5 +3,6 @@ import { XYZ } from 'ol/source';
|
|
|
3
3
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
4
4
|
export declare class AddTileCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "ae29b7af-21aa-4b0a-8586-92c23779e6cb";
|
|
6
7
|
constructor(layer: TileLayer<XYZ>);
|
|
7
8
|
}
|
|
@@ -3,4 +3,5 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
3
3
|
* Represents a command to cancel a feature modification.
|
|
4
4
|
*/
|
|
5
5
|
export declare class CancelFeatureModificationCommand extends PostboyGenericMessage {
|
|
6
|
+
static readonly ID = "e7886353-53b3-4bbe-93b5-6490e5f1305e";
|
|
6
7
|
}
|
|
@@ -4,6 +4,7 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class CloseTooltipCommand extends PostboyGenericMessage {
|
|
6
6
|
tooltipId: string;
|
|
7
|
+
static readonly ID = "df687e26-7298-46d7-8911-d014801dafac";
|
|
7
8
|
/**
|
|
8
9
|
* Creates an instance of the class with the specified tooltip ID.
|
|
9
10
|
*
|
|
@@ -12,6 +12,7 @@ export declare class DrawSelectionAreaCommand extends PostboyCallbackMessage<Dic
|
|
|
12
12
|
type: DrawingType;
|
|
13
13
|
style: Style;
|
|
14
14
|
ignore: Set<string>;
|
|
15
|
+
static readonly ID = "06e43f59-c6ba-41bb-9c5b-f6534d914905";
|
|
15
16
|
/**
|
|
16
17
|
* Constructs a new instance with the specified type, style, and optional set of ignored items.
|
|
17
18
|
*
|
|
@@ -4,5 +4,6 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
export declare class FitToFeaturesCommand extends PostboyGenericMessage {
|
|
5
5
|
features: Feature<Geometry>[];
|
|
6
6
|
zoomAfter: number;
|
|
7
|
+
static readonly ID = "04d67609-0b4c-4f52-aa53-ad0a3db967dc";
|
|
7
8
|
constructor(features: Feature<Geometry>[], zoomAfter?: number);
|
|
8
9
|
}
|
|
@@ -7,6 +7,7 @@ import { PolygonModel } from '../../models';
|
|
|
7
7
|
export declare class FitToPolygonsCommand extends PostboyGenericMessage {
|
|
8
8
|
features: PolygonModel[];
|
|
9
9
|
zoomAfter: number;
|
|
10
|
+
static readonly ID = "308394ce-48d3-45f5-8671-52207fba4be3";
|
|
10
11
|
/**
|
|
11
12
|
* Creates an instance of the class with specified polygon features and an optional zoom level.
|
|
12
13
|
*
|
|
@@ -11,6 +11,7 @@ export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string
|
|
|
11
11
|
model: PolygonModel;
|
|
12
12
|
style: Style;
|
|
13
13
|
format: FeatureOutputFormat;
|
|
14
|
+
static readonly ID = "8f76507e-f18d-4232-bab7-f3d4e3d707bb";
|
|
14
15
|
/**
|
|
15
16
|
* Constructs an instance of the class.
|
|
16
17
|
*
|
|
@@ -4,5 +4,6 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
4
4
|
export declare class PlaceLayerFeaturesCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: string;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
|
+
static readonly ID = "5f27a2cd-8d8a-4929-b703-8aee6dcdc21c";
|
|
7
8
|
constructor(layer: string, features: Feature<Geometry>[]);
|
|
8
9
|
}
|
|
@@ -10,6 +10,7 @@ import { MapControl } from '../../models/map-control';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class RemoveControlCommand extends PostboyGenericMessage {
|
|
12
12
|
item: MapControl;
|
|
13
|
+
static readonly ID = "73bcb4f5-ce7d-4c71-b70d-e772100136a1";
|
|
13
14
|
/**
|
|
14
15
|
* Constructs an instance of the class.
|
|
15
16
|
*
|
|
@@ -2,5 +2,6 @@ import BaseLayer from 'ol/layer/Base';
|
|
|
2
2
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
3
3
|
export declare class RemoveLayerCommand extends PostboyGenericMessage {
|
|
4
4
|
layer: BaseLayer;
|
|
5
|
+
static readonly ID = "1b60599c-599a-4fdb-bad2-23b12e435e1a";
|
|
5
6
|
constructor(layer: BaseLayer);
|
|
6
7
|
}
|
|
@@ -3,5 +3,6 @@ import { XYZ } from 'ol/source';
|
|
|
3
3
|
import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
4
4
|
export declare class RemoveTileCommand extends PostboyGenericMessage {
|
|
5
5
|
layer: TileLayer<XYZ>;
|
|
6
|
+
static readonly ID = "dab0f861-bb25-46da-9388-717bfaae798f";
|
|
6
7
|
constructor(layer: TileLayer<XYZ>);
|
|
7
8
|
}
|
|
@@ -8,6 +8,7 @@ export declare class StartDrawingCommand extends PostboyCallbackMessage<string |
|
|
|
8
8
|
type: DrawingType;
|
|
9
9
|
style: Style;
|
|
10
10
|
format: FeatureOutputFormat;
|
|
11
|
+
static readonly ID = "4407e9ee-d6c3-4e77-8000-c1aae7433fb6";
|
|
11
12
|
/**
|
|
12
13
|
* Constructor for creating an instance of the class that represents a drawing feature with specific type, style, and output format.
|
|
13
14
|
*
|
|
@@ -16,6 +16,7 @@ export declare class MapClickEvent extends PostboyGenericMessage {
|
|
|
16
16
|
features: {
|
|
17
17
|
[layer: string]: Feature<Geometry>[];
|
|
18
18
|
};
|
|
19
|
+
static readonly ID = "ee31a86c-e838-4531-8399-983753a354df";
|
|
19
20
|
/**
|
|
20
21
|
* Creates an instance of this class with the provided coordinates, entities, and features.
|
|
21
22
|
*
|
|
@@ -5,6 +5,7 @@ import { PostboyGenericMessage } from '@artstesh/postboy';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MapRenderedEvent extends PostboyGenericMessage {
|
|
7
7
|
map: Map;
|
|
8
|
+
static readonly ID = "4515dde8-1519-4e3f-a0e3-10d3c52deabe";
|
|
8
9
|
/**
|
|
9
10
|
* Constructor for creating an instance of the class.
|
|
10
11
|
*
|
|
@@ -11,5 +11,6 @@ import { PolygonModel } from '../../models';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class CalculateAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
13
13
|
polygon: PolygonModel;
|
|
14
|
+
static readonly ID = "82347b8c-7635-45ec-85ef-75aaf43bc34c";
|
|
14
15
|
constructor(polygon: PolygonModel);
|
|
15
16
|
}
|
|
@@ -12,5 +12,6 @@ import { Geometry } from 'ol/geom';
|
|
|
12
12
|
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
13
13
|
area: Geometry;
|
|
14
14
|
features: Feature<Geometry>[];
|
|
15
|
+
static readonly ID = "4d26e1e3-e60f-4e49-804b-5b3eadc2adce";
|
|
15
16
|
constructor(area: Geometry, features: Feature<Geometry>[]);
|
|
16
17
|
}
|
|
@@ -12,6 +12,7 @@ export declare class FilterFeaturesInPointExecutor extends PostboyExecutor<Featu
|
|
|
12
12
|
lat: number;
|
|
13
13
|
lng: number;
|
|
14
14
|
features: Feature<Geometry>[];
|
|
15
|
+
static readonly ID = "dcbb156d-def3-45b4-91af-84d1483d8941";
|
|
15
16
|
/**
|
|
16
17
|
* Constructs a new instance with the specified latitude, longitude, and features.
|
|
17
18
|
*
|
|
@@ -8,5 +8,6 @@ export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
11
|
+
static readonly ID = "5d5f0737-ff70-461e-9a2e-bf6166c914cb";
|
|
11
12
|
constructor(layer: Layer<VectorSource<any>>, style: Style, type: DrawingType);
|
|
12
13
|
}
|
|
@@ -3,5 +3,6 @@ import { Draw } from 'ol/interaction';
|
|
|
3
3
|
import { ZoomControlSettings } from '../../map-plate/controls/map-control-zoom/zoom-control.settings';
|
|
4
4
|
export declare class GenerateZoomControlExecutor extends PostboyExecutor<Draw> {
|
|
5
5
|
settings: ZoomControlSettings;
|
|
6
|
+
static readonly ID = "c59f4fc3-ccf6-4cb3-a38b-3a8c249114a2";
|
|
6
7
|
constructor(settings: ZoomControlSettings);
|
|
7
8
|
}
|
|
@@ -9,6 +9,7 @@ import { Dictionary } from '@artstesh/collections';
|
|
|
9
9
|
export declare class GetFeaturesInAreaQuery extends PostboyCallbackMessage<Dictionary<IIdentified[]>> {
|
|
10
10
|
area: Geometry;
|
|
11
11
|
ignore: Set<string>;
|
|
12
|
+
static readonly ID = "317cf427-a029-4a43-97c4-cb6b8148ff65";
|
|
12
13
|
/**
|
|
13
14
|
* Constructor to initialize the object with a Geometry instance and an optional set of strings to ignore.
|
|
14
15
|
*
|
|
@@ -9,6 +9,7 @@ export declare class GetFeaturesInPointQuery extends PostboyCallbackMessage<Dict
|
|
|
9
9
|
lat: number;
|
|
10
10
|
lng: number;
|
|
11
11
|
ignore: Set<string>;
|
|
12
|
+
static readonly ID = "99bbc56f-34a2-4064-8300-13bb3d0662c1";
|
|
12
13
|
/**
|
|
13
14
|
* Constructor for initializing a geographic coordinate object.
|
|
14
15
|
*
|
|
@@ -4,5 +4,6 @@ import VectorSource from 'ol/source/Vector';
|
|
|
4
4
|
import Cluster from 'ol/source/Cluster';
|
|
5
5
|
export declare class GetLayerQuery extends PostboyCallbackMessage<Layer<VectorSource<any> | Cluster> | null> {
|
|
6
6
|
name: string;
|
|
7
|
+
static readonly ID = "d2683490-2aa2-4dee-855d-f752ce4d3be5";
|
|
7
8
|
constructor(name: string);
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.10",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@angular/compiler": "^17.1.0",
|
|
41
41
|
"@angular/core": "^17.1.0",
|
|
42
42
|
"@artstesh/collections": "^1.0.0",
|
|
43
|
-
"@artstesh/postboy": "^2.
|
|
43
|
+
"@artstesh/postboy": "^2.1.1",
|
|
44
44
|
"ol": "^6.9.0",
|
|
45
45
|
"ol-geocoder": "^4.0.0",
|
|
46
46
|
"rxjs": "^7.0.0",
|