@artstesh/maps 9.0.4 → 9.1.0-alpha.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/fesm2022/maps-components-src-map.mjs +261 -23
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +261 -23
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/index.d.ts +126 -5
- package/dist/src/map/index.d.ts +126 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { Geometry, LineString, Point } from 'ol/geom';
|
|
|
6
6
|
import { Control } from 'ol/control';
|
|
7
7
|
import { Options } from 'ol/control/Control';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { OnDestroy, OnInit, AfterViewInit, TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
9
|
+
import { OnDestroy, OnInit, AfterViewInit, TemplateRef, ElementRef, ChangeDetectorRef, NgZone } from '@angular/core';
|
|
10
10
|
import Map from 'ol/Map';
|
|
11
11
|
import { Subscription } from 'rxjs';
|
|
12
12
|
import { PostboyService, IPostboyDependingService, PostboyGenericMessage, PostboyAbstractRegistrator, PostboyCallbackMessage, PostboyExecutor } from '@artstesh/postboy';
|
|
@@ -21,6 +21,7 @@ import { Vector } from 'ol/layer';
|
|
|
21
21
|
import Cluster from 'ol/source/Cluster';
|
|
22
22
|
import Static from 'ol/source/ImageStatic';
|
|
23
23
|
import ImageLayer from 'ol/layer/Image';
|
|
24
|
+
import TileLayer$1, { Style as Style$1 } from 'ol/layer/WebGLTile';
|
|
24
25
|
import { Text } from 'ol/style';
|
|
25
26
|
export { Fill, RegularShape, Stroke, Style, Text } from 'ol/style';
|
|
26
27
|
import Overlay, { Options as Options$1 } from 'ol/Overlay';
|
|
@@ -1067,18 +1068,138 @@ declare class RasterTileLayerComponent extends DestructibleComponent {
|
|
|
1067
1068
|
static ɵcmp: i0.ɵɵComponentDeclaration<RasterTileLayerComponent, "art-raster-tile-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1068
1069
|
}
|
|
1069
1070
|
|
|
1071
|
+
declare class GeotiffTileLayerSettings {
|
|
1072
|
+
/**
|
|
1073
|
+
* The maximum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
|
|
1074
|
+
*
|
|
1075
|
+
* @type {number | undefined}
|
|
1076
|
+
* @default undefined
|
|
1077
|
+
*/
|
|
1078
|
+
max?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* The minimum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
|
|
1081
|
+
*
|
|
1082
|
+
* @type {number | undefined}
|
|
1083
|
+
* @default undefined
|
|
1084
|
+
*/
|
|
1085
|
+
min?: number;
|
|
1086
|
+
/**
|
|
1087
|
+
* Represents the URL of the tif.
|
|
1088
|
+
* @typedef {string} url
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* 'https://example.ex/geotiff.tif'
|
|
1092
|
+
*/
|
|
1093
|
+
url: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Style to apply to the layer.
|
|
1096
|
+
*
|
|
1097
|
+
* @type {Style | undefined}
|
|
1098
|
+
*/
|
|
1099
|
+
style?: Style$1 | undefined;
|
|
1100
|
+
/**
|
|
1101
|
+
* The opacity of an element.
|
|
1102
|
+
*
|
|
1103
|
+
* @type {number}
|
|
1104
|
+
* @default 0.6
|
|
1105
|
+
*/
|
|
1106
|
+
opacity: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* The priority of showing - layers with higher zIndex cover others in case of collisions
|
|
1109
|
+
*/
|
|
1110
|
+
zIndex: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Creates a copy of the given tile layer settings.
|
|
1113
|
+
*
|
|
1114
|
+
* @param {GeotiffTileLayerSettings} model - The tile layer settings to be copied.
|
|
1115
|
+
* @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the same properties as the model.
|
|
1116
|
+
*/
|
|
1117
|
+
static copy(model: GeotiffTileLayerSettings): GeotiffTileLayerSettings;
|
|
1118
|
+
/**
|
|
1119
|
+
* Sets the URL of the GeotiffTileLayerSettings object.
|
|
1120
|
+
*
|
|
1121
|
+
* @param {string} url - The URL to be set.
|
|
1122
|
+
* @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
|
|
1123
|
+
*/
|
|
1124
|
+
setUrl(url: string): GeotiffTileLayerSettings;
|
|
1125
|
+
/**
|
|
1126
|
+
* Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
|
|
1127
|
+
*
|
|
1128
|
+
* @param {Style} [style] - An optional style object that defines the new style settings.
|
|
1129
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated style.
|
|
1130
|
+
*/
|
|
1131
|
+
setStyle(style?: Style$1): GeotiffTileLayerSettings;
|
|
1132
|
+
/**
|
|
1133
|
+
* Sets the maximum value for the GeotiffTileLayerSettings.
|
|
1134
|
+
*
|
|
1135
|
+
* @param {number} max - The maximum value to set.
|
|
1136
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated maximum value.
|
|
1137
|
+
*/
|
|
1138
|
+
setMax(max: number): GeotiffTileLayerSettings;
|
|
1139
|
+
/**
|
|
1140
|
+
* Sets the z-index for the GeotiffTileLayerSettings.
|
|
1141
|
+
*
|
|
1142
|
+
* @param {number} zIndex - The new z-index to be assigned.
|
|
1143
|
+
* @return {GeotiffTileLayerSettings} A new GeotiffTileLayerSettings instance with the updated z-index.
|
|
1144
|
+
*/
|
|
1145
|
+
setZIndex(zIndex: number): GeotiffTileLayerSettings;
|
|
1146
|
+
/**
|
|
1147
|
+
* Sets the minimum value for the GeotiffTileLayerSettings.
|
|
1148
|
+
*
|
|
1149
|
+
* @param {number} min - The new minimum value to be set.
|
|
1150
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated minimum value.
|
|
1151
|
+
*/
|
|
1152
|
+
setMin(min: number): GeotiffTileLayerSettings;
|
|
1153
|
+
/**
|
|
1154
|
+
* Sets the opacity of the GeotiffTileLayerSettings.
|
|
1155
|
+
*
|
|
1156
|
+
* @param {number} opacity - The opacity value to set. Must be a number between 0 and 1.
|
|
1157
|
+
* @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the opacity set.
|
|
1158
|
+
*/
|
|
1159
|
+
setOpacity(opacity: number): GeotiffTileLayerSettings;
|
|
1160
|
+
/**
|
|
1161
|
+
* Checks if the current instance of GeotiffTileLayerSettings is equal to the given model.
|
|
1162
|
+
* @param {GeotiffTileLayerSettings} model - The model to compare against.
|
|
1163
|
+
* @return {boolean} - True if all properties of the current instance matches the properties of the model;
|
|
1164
|
+
* otherwise, false.
|
|
1165
|
+
*/
|
|
1166
|
+
isSame(model: GeotiffTileLayerSettings): boolean;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
declare class GeotiffTileLayerFactory {
|
|
1170
|
+
build(settings: GeotiffTileLayerSettings): TileLayer$1;
|
|
1171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeotiffTileLayerFactory, never>;
|
|
1172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeotiffTileLayerFactory>;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
declare class GeotiffTileLayerComponent extends DestructibleComponent {
|
|
1176
|
+
private postboy;
|
|
1177
|
+
private factory;
|
|
1178
|
+
layer?: TileLayer$1;
|
|
1179
|
+
constructor(postboy: MapPostboyService, factory: GeotiffTileLayerFactory);
|
|
1180
|
+
_settings: GeotiffTileLayerSettings;
|
|
1181
|
+
set settings(value: GeotiffTileLayerSettings | undefined);
|
|
1182
|
+
ngOnInit(): void;
|
|
1183
|
+
onDestroy: () => void;
|
|
1184
|
+
private initLayer;
|
|
1185
|
+
private removeLayer;
|
|
1186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeotiffTileLayerComponent, never>;
|
|
1187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeotiffTileLayerComponent, "lib-geotiff-tile-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1070
1190
|
declare class MapPlateComponent extends DestructibleComponent implements AfterViewInit {
|
|
1071
1191
|
private elementRef;
|
|
1072
1192
|
private postboy;
|
|
1073
1193
|
private mapFactory;
|
|
1074
1194
|
private registrator;
|
|
1075
1195
|
private detector;
|
|
1196
|
+
private ngZone;
|
|
1076
1197
|
contentRef: i0.InputSignal<TemplateRef<any>>;
|
|
1077
1198
|
private renderTryCount;
|
|
1078
|
-
map: Map
|
|
1079
|
-
osmUrl: string
|
|
1199
|
+
map: i0.WritableSignal<Map | null>;
|
|
1200
|
+
osmUrl: i0.WritableSignal<string>;
|
|
1080
1201
|
drawingLayerSettings: FeatureLayerSettings;
|
|
1081
|
-
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef);
|
|
1202
|
+
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef, ngZone: NgZone);
|
|
1082
1203
|
_settings: MapSettings;
|
|
1083
1204
|
set settings(value: MapSettings | undefined);
|
|
1084
1205
|
private initializeMap;
|
|
@@ -1718,5 +1839,5 @@ declare class TooltipComponent extends DestructibleComponent implements OnInit {
|
|
|
1718
1839
|
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "art-tooltip", never, { "contentRef": { "alias": "contentRef"; "required": true; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1719
1840
|
}
|
|
1720
1841
|
|
|
1721
|
-
export { AddControlCommand, CalculateAreaExecutor, CancelDrawingCommand, CancelFeatureModificationCommand, CloseTooltipCommand, ClusterLayerComponent, ClusterLayerSettings, DrawSelectionAreaCommand, DrawingType, FeatureLayerComponent, FeatureLayerSettings, FeatureOutputFormat, FilterFeaturesInAreaExecutor, FilterFeaturesInPointExecutor, FitToFeaturesCommand, FitToPolygonsCommand, GetFeaturesInAreaQuery, GetFeaturesInPointQuery, GetGeometryLengthExecutor, GetMapPositionExecutor, ImageLayerComponent, ImageLayerSettings, MapClickEvent, MapConstants, MapControl, MapControlZoomComponent, MapFeatureHoveredEvent, MapLyrs, MapLyrsLabel, MapMoveEndEvent, MapPlateComponent, MapPointerMoveEvent, MapPostboyService, MapRenderedEvent, MapSettings, MarkerModel, MarkerStyleHelper, MarkersComponent, MessageRegistratorService, ModifyFeatureCommand, OsmTileLayerComponent, PolygonModel, PolygonSelfIntersectionExecutor, PolygonStyleHelper, PolygonsComponent, RasterTileLayerComponent, RasterTileLayerSettings, RemoveControlCommand, SetMapCenterCommand, StartDrawingCommand, StringifyFeatureHelper, TextStyleHelper, TileLayerComponent, TileLayerSettings, TooltipComponent, TooltipSettings, ZoomControlSettings };
|
|
1842
|
+
export { AddControlCommand, CalculateAreaExecutor, CancelDrawingCommand, CancelFeatureModificationCommand, CloseTooltipCommand, ClusterLayerComponent, ClusterLayerSettings, DrawSelectionAreaCommand, DrawingType, FeatureLayerComponent, FeatureLayerSettings, FeatureOutputFormat, FilterFeaturesInAreaExecutor, FilterFeaturesInPointExecutor, FitToFeaturesCommand, FitToPolygonsCommand, GeotiffTileLayerComponent, GeotiffTileLayerSettings, GetFeaturesInAreaQuery, GetFeaturesInPointQuery, GetGeometryLengthExecutor, GetMapPositionExecutor, ImageLayerComponent, ImageLayerSettings, MapClickEvent, MapConstants, MapControl, MapControlZoomComponent, MapFeatureHoveredEvent, MapLyrs, MapLyrsLabel, MapMoveEndEvent, MapPlateComponent, MapPointerMoveEvent, MapPostboyService, MapRenderedEvent, MapSettings, MarkerModel, MarkerStyleHelper, MarkersComponent, MessageRegistratorService, ModifyFeatureCommand, OsmTileLayerComponent, PolygonModel, PolygonSelfIntersectionExecutor, PolygonStyleHelper, PolygonsComponent, RasterTileLayerComponent, RasterTileLayerSettings, RemoveControlCommand, SetMapCenterCommand, StartDrawingCommand, StringifyFeatureHelper, TextStyleHelper, TileLayerComponent, TileLayerSettings, TooltipComponent, TooltipSettings, ZoomControlSettings };
|
|
1722
1843
|
export type { MapPosition };
|
package/dist/src/map/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { Geometry, LineString, Point } from 'ol/geom';
|
|
|
6
6
|
import { Control } from 'ol/control';
|
|
7
7
|
import { Options } from 'ol/control/Control';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { OnDestroy, OnInit, AfterViewInit, TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
9
|
+
import { OnDestroy, OnInit, AfterViewInit, TemplateRef, ElementRef, ChangeDetectorRef, NgZone } from '@angular/core';
|
|
10
10
|
import Map from 'ol/Map';
|
|
11
11
|
import { Subscription } from 'rxjs';
|
|
12
12
|
import { PostboyService, IPostboyDependingService, PostboyGenericMessage, PostboyAbstractRegistrator, PostboyCallbackMessage, PostboyExecutor } from '@artstesh/postboy';
|
|
@@ -21,6 +21,7 @@ import { Vector } from 'ol/layer';
|
|
|
21
21
|
import Cluster from 'ol/source/Cluster';
|
|
22
22
|
import Static from 'ol/source/ImageStatic';
|
|
23
23
|
import ImageLayer from 'ol/layer/Image';
|
|
24
|
+
import TileLayer$1, { Style as Style$1 } from 'ol/layer/WebGLTile';
|
|
24
25
|
import { Text } from 'ol/style';
|
|
25
26
|
export { Fill, RegularShape, Stroke, Style, Text } from 'ol/style';
|
|
26
27
|
import Overlay, { Options as Options$1 } from 'ol/Overlay';
|
|
@@ -1067,18 +1068,138 @@ declare class RasterTileLayerComponent extends DestructibleComponent {
|
|
|
1067
1068
|
static ɵcmp: i0.ɵɵComponentDeclaration<RasterTileLayerComponent, "art-raster-tile-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1068
1069
|
}
|
|
1069
1070
|
|
|
1071
|
+
declare class GeotiffTileLayerSettings {
|
|
1072
|
+
/**
|
|
1073
|
+
* The maximum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
|
|
1074
|
+
*
|
|
1075
|
+
* @type {number | undefined}
|
|
1076
|
+
* @default undefined
|
|
1077
|
+
*/
|
|
1078
|
+
max?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* The minimum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
|
|
1081
|
+
*
|
|
1082
|
+
* @type {number | undefined}
|
|
1083
|
+
* @default undefined
|
|
1084
|
+
*/
|
|
1085
|
+
min?: number;
|
|
1086
|
+
/**
|
|
1087
|
+
* Represents the URL of the tif.
|
|
1088
|
+
* @typedef {string} url
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* 'https://example.ex/geotiff.tif'
|
|
1092
|
+
*/
|
|
1093
|
+
url: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Style to apply to the layer.
|
|
1096
|
+
*
|
|
1097
|
+
* @type {Style | undefined}
|
|
1098
|
+
*/
|
|
1099
|
+
style?: Style$1 | undefined;
|
|
1100
|
+
/**
|
|
1101
|
+
* The opacity of an element.
|
|
1102
|
+
*
|
|
1103
|
+
* @type {number}
|
|
1104
|
+
* @default 0.6
|
|
1105
|
+
*/
|
|
1106
|
+
opacity: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* The priority of showing - layers with higher zIndex cover others in case of collisions
|
|
1109
|
+
*/
|
|
1110
|
+
zIndex: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Creates a copy of the given tile layer settings.
|
|
1113
|
+
*
|
|
1114
|
+
* @param {GeotiffTileLayerSettings} model - The tile layer settings to be copied.
|
|
1115
|
+
* @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the same properties as the model.
|
|
1116
|
+
*/
|
|
1117
|
+
static copy(model: GeotiffTileLayerSettings): GeotiffTileLayerSettings;
|
|
1118
|
+
/**
|
|
1119
|
+
* Sets the URL of the GeotiffTileLayerSettings object.
|
|
1120
|
+
*
|
|
1121
|
+
* @param {string} url - The URL to be set.
|
|
1122
|
+
* @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
|
|
1123
|
+
*/
|
|
1124
|
+
setUrl(url: string): GeotiffTileLayerSettings;
|
|
1125
|
+
/**
|
|
1126
|
+
* Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
|
|
1127
|
+
*
|
|
1128
|
+
* @param {Style} [style] - An optional style object that defines the new style settings.
|
|
1129
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated style.
|
|
1130
|
+
*/
|
|
1131
|
+
setStyle(style?: Style$1): GeotiffTileLayerSettings;
|
|
1132
|
+
/**
|
|
1133
|
+
* Sets the maximum value for the GeotiffTileLayerSettings.
|
|
1134
|
+
*
|
|
1135
|
+
* @param {number} max - The maximum value to set.
|
|
1136
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated maximum value.
|
|
1137
|
+
*/
|
|
1138
|
+
setMax(max: number): GeotiffTileLayerSettings;
|
|
1139
|
+
/**
|
|
1140
|
+
* Sets the z-index for the GeotiffTileLayerSettings.
|
|
1141
|
+
*
|
|
1142
|
+
* @param {number} zIndex - The new z-index to be assigned.
|
|
1143
|
+
* @return {GeotiffTileLayerSettings} A new GeotiffTileLayerSettings instance with the updated z-index.
|
|
1144
|
+
*/
|
|
1145
|
+
setZIndex(zIndex: number): GeotiffTileLayerSettings;
|
|
1146
|
+
/**
|
|
1147
|
+
* Sets the minimum value for the GeotiffTileLayerSettings.
|
|
1148
|
+
*
|
|
1149
|
+
* @param {number} min - The new minimum value to be set.
|
|
1150
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated minimum value.
|
|
1151
|
+
*/
|
|
1152
|
+
setMin(min: number): GeotiffTileLayerSettings;
|
|
1153
|
+
/**
|
|
1154
|
+
* Sets the opacity of the GeotiffTileLayerSettings.
|
|
1155
|
+
*
|
|
1156
|
+
* @param {number} opacity - The opacity value to set. Must be a number between 0 and 1.
|
|
1157
|
+
* @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the opacity set.
|
|
1158
|
+
*/
|
|
1159
|
+
setOpacity(opacity: number): GeotiffTileLayerSettings;
|
|
1160
|
+
/**
|
|
1161
|
+
* Checks if the current instance of GeotiffTileLayerSettings is equal to the given model.
|
|
1162
|
+
* @param {GeotiffTileLayerSettings} model - The model to compare against.
|
|
1163
|
+
* @return {boolean} - True if all properties of the current instance matches the properties of the model;
|
|
1164
|
+
* otherwise, false.
|
|
1165
|
+
*/
|
|
1166
|
+
isSame(model: GeotiffTileLayerSettings): boolean;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
declare class GeotiffTileLayerFactory {
|
|
1170
|
+
build(settings: GeotiffTileLayerSettings): TileLayer$1;
|
|
1171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeotiffTileLayerFactory, never>;
|
|
1172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeotiffTileLayerFactory>;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
declare class GeotiffTileLayerComponent extends DestructibleComponent {
|
|
1176
|
+
private postboy;
|
|
1177
|
+
private factory;
|
|
1178
|
+
layer?: TileLayer$1;
|
|
1179
|
+
constructor(postboy: MapPostboyService, factory: GeotiffTileLayerFactory);
|
|
1180
|
+
_settings: GeotiffTileLayerSettings;
|
|
1181
|
+
set settings(value: GeotiffTileLayerSettings | undefined);
|
|
1182
|
+
ngOnInit(): void;
|
|
1183
|
+
onDestroy: () => void;
|
|
1184
|
+
private initLayer;
|
|
1185
|
+
private removeLayer;
|
|
1186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeotiffTileLayerComponent, never>;
|
|
1187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeotiffTileLayerComponent, "lib-geotiff-tile-layer", never, { "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1070
1190
|
declare class MapPlateComponent extends DestructibleComponent implements AfterViewInit {
|
|
1071
1191
|
private elementRef;
|
|
1072
1192
|
private postboy;
|
|
1073
1193
|
private mapFactory;
|
|
1074
1194
|
private registrator;
|
|
1075
1195
|
private detector;
|
|
1196
|
+
private ngZone;
|
|
1076
1197
|
contentRef: i0.InputSignal<TemplateRef<any>>;
|
|
1077
1198
|
private renderTryCount;
|
|
1078
|
-
map: Map
|
|
1079
|
-
osmUrl: string
|
|
1199
|
+
map: i0.WritableSignal<Map | null>;
|
|
1200
|
+
osmUrl: i0.WritableSignal<string>;
|
|
1080
1201
|
drawingLayerSettings: FeatureLayerSettings;
|
|
1081
|
-
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef);
|
|
1202
|
+
constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef, ngZone: NgZone);
|
|
1082
1203
|
_settings: MapSettings;
|
|
1083
1204
|
set settings(value: MapSettings | undefined);
|
|
1084
1205
|
private initializeMap;
|
|
@@ -1718,5 +1839,5 @@ declare class TooltipComponent extends DestructibleComponent implements OnInit {
|
|
|
1718
1839
|
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "art-tooltip", never, { "contentRef": { "alias": "contentRef"; "required": true; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1719
1840
|
}
|
|
1720
1841
|
|
|
1721
|
-
export { AddControlCommand, CalculateAreaExecutor, CancelDrawingCommand, CancelFeatureModificationCommand, CloseTooltipCommand, ClusterLayerComponent, ClusterLayerSettings, DrawSelectionAreaCommand, DrawingType, FeatureLayerComponent, FeatureLayerSettings, FeatureOutputFormat, FilterFeaturesInAreaExecutor, FilterFeaturesInPointExecutor, FitToFeaturesCommand, FitToPolygonsCommand, GetFeaturesInAreaQuery, GetFeaturesInPointQuery, GetGeometryLengthExecutor, GetMapPositionExecutor, ImageLayerComponent, ImageLayerSettings, MapClickEvent, MapConstants, MapControl, MapControlZoomComponent, MapFeatureHoveredEvent, MapLyrs, MapLyrsLabel, MapMoveEndEvent, MapPlateComponent, MapPointerMoveEvent, MapPostboyService, MapRenderedEvent, MapSettings, MarkerModel, MarkerStyleHelper, MarkersComponent, MessageRegistratorService, ModifyFeatureCommand, OsmTileLayerComponent, PolygonModel, PolygonSelfIntersectionExecutor, PolygonStyleHelper, PolygonsComponent, RasterTileLayerComponent, RasterTileLayerSettings, RemoveControlCommand, SetMapCenterCommand, StartDrawingCommand, StringifyFeatureHelper, TextStyleHelper, TileLayerComponent, TileLayerSettings, TooltipComponent, TooltipSettings, ZoomControlSettings };
|
|
1842
|
+
export { AddControlCommand, CalculateAreaExecutor, CancelDrawingCommand, CancelFeatureModificationCommand, CloseTooltipCommand, ClusterLayerComponent, ClusterLayerSettings, DrawSelectionAreaCommand, DrawingType, FeatureLayerComponent, FeatureLayerSettings, FeatureOutputFormat, FilterFeaturesInAreaExecutor, FilterFeaturesInPointExecutor, FitToFeaturesCommand, FitToPolygonsCommand, GeotiffTileLayerComponent, GeotiffTileLayerSettings, GetFeaturesInAreaQuery, GetFeaturesInPointQuery, GetGeometryLengthExecutor, GetMapPositionExecutor, ImageLayerComponent, ImageLayerSettings, MapClickEvent, MapConstants, MapControl, MapControlZoomComponent, MapFeatureHoveredEvent, MapLyrs, MapLyrsLabel, MapMoveEndEvent, MapPlateComponent, MapPointerMoveEvent, MapPostboyService, MapRenderedEvent, MapSettings, MarkerModel, MarkerStyleHelper, MarkersComponent, MessageRegistratorService, ModifyFeatureCommand, OsmTileLayerComponent, PolygonModel, PolygonSelfIntersectionExecutor, PolygonStyleHelper, PolygonsComponent, RasterTileLayerComponent, RasterTileLayerSettings, RemoveControlCommand, SetMapCenterCommand, StartDrawingCommand, StringifyFeatureHelper, TextStyleHelper, TileLayerComponent, TileLayerSettings, TooltipComponent, TooltipSettings, ZoomControlSettings };
|
|
1722
1843
|
export type { MapPosition };
|