@igo2/geo 21.0.0-next.6 → 21.0.0-next.7

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.
@@ -1,17 +1,18 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { PipeTransform, AfterViewInit, OnInit, OnDestroy, AfterContentInit, Provider, EventEmitter, ModuleWithProviders, ElementRef, TemplateRef, AfterContentChecked, WritableSignal, InjectionToken, EnvironmentProviders } from '@angular/core';
2
+ import { PipeTransform, Provider, EnvironmentProviders, AfterViewInit, OnInit, OnDestroy, AfterContentInit, EventEmitter, ModuleWithProviders, ElementRef, TemplateRef, AfterContentChecked, WritableSignal, InjectionToken } from '@angular/core';
3
3
  import { AuthInterceptor } from '@igo2/auth';
4
4
  import * as i2 from '@igo2/core/message';
5
5
  import { Message, MessageService } from '@igo2/core/message';
6
6
  import OlLayer from 'ol/layer/Layer';
7
7
  import { Source } from 'ol/source';
8
+ import * as rxjs from 'rxjs';
8
9
  import { Observable, Subscription, BehaviorSubject, Subject } from 'rxjs';
9
10
  import olSourceCluster from 'ol/source/Cluster';
10
11
  import olSource from 'ol/source/Source';
11
12
  import olSourceVector from 'ol/source/Vector';
12
13
  import { Units } from 'ol/control/ScaleLine';
13
14
  import * as _igo2_common_entity from '@igo2/common/entity';
14
- import { BaseEntityTableColumn, EntityStore, EntityKey, EntityStoreOptions, EntityStoreStrategyOptions, EntityStoreStrategy, EntityState, EntityTableTemplate, EntityTableComponent, EntityTableColumn, EntityStoreFilterCustomFuncStrategy, EntityTableColumnRenderer, EntityRecord } from '@igo2/common/entity';
15
+ import { BaseEntityTableColumn, EntityKey, EntityStoreOptions, EntityStoreStrategyOptions, EntityStore, EntityStoreStrategy, EntityState, EntityTableTemplate, EntityTableComponent, EntityTableColumn, EntityStoreFilterCustomFuncStrategy, EntityTableColumnRenderer, EntityRecord } from '@igo2/common/entity';
15
16
  import OlGeometry, { Type } from 'ol/geom/Geometry';
16
17
  import { Preset, Tokenizer, Encoders } from 'flexsearch';
17
18
  import { SubjectStatus, Watcher, TimeFrame, resolveDate } from '@igo2/utils';
@@ -39,25 +40,26 @@ import olSourceTileArcGISRest from 'ol/source/TileArcGISRest';
39
40
  import TileDebug from 'ol/source/TileDebug';
40
41
  import olSourceWMTS from 'ol/source/WMTS';
41
42
  import olSourceXYZ from 'ol/source/XYZ';
42
- import * as ol_color from 'ol/color';
43
+ import * as olColor from 'ol/color';
43
44
  import olLayerVector from 'ol/layer/Vector';
44
- import RenderFeature from 'ol/render/Feature';
45
- import olStyle$1, { StyleLike } from 'ol/style/Style';
46
45
  import { HttpClient, HttpParameterCodec } from '@angular/common/http';
47
46
  import { Extent } from 'ol/extent';
48
47
  import olProjection from 'ol/proj/Projection';
48
+ import olLayerVectorTile from 'ol/layer/VectorTile';
49
+ import Style, { StyleLike, StyleFunction } from 'ol/style/Style';
50
+ import { FlatStyleLike } from 'ol/style/flat';
51
+ import olSourceVectorTile from 'ol/source/VectorTile';
49
52
  import { UntypedFormGroup, UntypedFormControl, FormControl, ControlValueAccessor, NgControl } from '@angular/forms';
53
+ import OlRenderFeature from 'ol/render/Feature';
50
54
  import { Position, Geometry, GeoJsonGeometryTypes } from 'geojson';
51
55
  import { ConfigService } from '@igo2/core/config';
52
56
  import { StorageService } from '@igo2/core/storage';
53
57
  import OlMap from 'ol/Map';
58
+ import OlView from 'ol/View';
59
+ import { EventsKey } from 'ol/events';
54
60
  import { ObjectEvent } from 'ol/Object';
55
61
  import olGeolocation from 'ol/Geolocation';
56
- import { EventsKey } from 'ol/events';
57
62
  import { Coordinate } from 'ol/coordinate';
58
- import OlView from 'ol/View';
59
- import olLayerVectorTile from 'ol/layer/VectorTile';
60
- import olSourceVectorTile from 'ol/source/VectorTile';
61
63
  import * as _igo2_geo from '@igo2/geo';
62
64
  import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
63
65
  import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
@@ -111,7 +113,7 @@ import * as olformat from 'ol/format';
111
113
  import { ConfirmDialogService } from '@igo2/common/confirm-dialog';
112
114
  import jsPDF from 'jspdf';
113
115
  import JSZip from 'jszip';
114
- import * as ol_colorlike from 'ol/colorlike';
116
+ import { Style as Style$1 } from 'geostyler-style';
115
117
  import GeoJSON from 'ol/format/GeoJSON';
116
118
  import WKT from 'ol/format/WKT';
117
119
 
@@ -901,81 +903,76 @@ declare enum FeatureMotion {
901
903
  Default = 3
902
904
  }
903
905
 
904
- /**
905
- * This class is simply a shortcut for adding features to a map.
906
- * It does nothing more than a standard layer but it's shipped with
907
- * a defautl style based on the geometry type of the features it contains.
908
- * @todo Enhance that by using a FeatureStore and strategies.
909
- */
910
- declare class Overlay<T extends MapBase = MapBase> {
911
- /**
912
- * The map to add the layer to
913
- */
914
- private map;
915
- /**
916
- * Overlay layer
917
- */
918
- private layer;
919
- /**
920
- * Overlay layer's data source
921
- */
922
- get dataSource(): FeatureDataSource;
923
- constructor(map: T);
924
- /**
925
- * Bind this to a map and add the overlay layer to that map
926
- * @param map Map
927
- */
928
- setMap(map: T): void;
929
- /**
930
- * Set the overlay features and, optionally, move to them
931
- * @param features Features
932
- * @param motion Optional: Apply this motion to the map view
933
- * @param sourceId Optional: Remove features of certain sourceId (ex: 'Map' for query features)
934
- */
935
- setFeatures(features: Feature[], motion?: FeatureMotion, sourceId?: string): void;
936
- /**
937
- * Add a feature to the overlay and, optionally, move to it
938
- * @param feature Feature
939
- * @param motion Optional: Apply this motion to the map view (default on FeatureMotion.Default)
940
- */
941
- addFeature(feature: Feature, motion?: FeatureMotion): void;
942
- /**
943
- * Add features to the overlay and, optionally, move to them
944
- * @param features Features
945
- * @param motion Optional: Apply this motion to the map view
946
- */
947
- addFeatures(features: Feature[], motion?: FeatureMotion): void;
948
- /**
949
- * Add a OpenLayers feature to the overlay and, optionally, move to it
950
- * @param olFeature OpenLayers Feature
951
- * @param motion Optional: Apply this motion to the map view
952
- */
953
- addOlFeature(olFeature: OlFeature<OlGeometry>, motion?: FeatureMotion): void;
954
- /**
955
- * Add OpenLayers features to the overlay and, optionally, move to them
956
- * @param olFeatures OpenLayers Features
957
- * @param motion Optional: Apply this motion to the map view
958
- */
959
- addOlFeatures(olFeatures: OlFeature<OlGeometry>[], motion?: FeatureMotion): void;
960
- /**
961
- * Remove a feature from the overlay
962
- * @param feature Feature
963
- */
964
- removeFeature(feature: Feature): void;
965
- /**
966
- * Remove features from the overlay
967
- * @param features Features
968
- */
969
- removeFeatures(features: Feature[]): void;
970
- /**
971
- * Remove an OpenLayers feature from the overlay
972
- * @param olFeature OpenLayers Feature
973
- */
974
- removeOlFeature(olFeature: OlFeature<OlGeometry>): void;
975
- /**
976
- * Clear the overlay
977
- */
978
- clear(): void;
906
+ declare class EsriStyleGenerator {
907
+ _converters: any;
908
+ _renderers: any;
909
+ constructor();
910
+ static _convertPointToPixel(point: any): number;
911
+ static _transformColor(color: any): [number, number, number, number];
912
+ static _getResolutionForScale(scale: any, units: any): number;
913
+ static _convertEsriTS(symbol: any): olStyle.Style;
914
+ static _convertEsriPMS(symbol: any): olStyle.Style;
915
+ static _convertEsriSFS(symbol: any): olStyle.Style;
916
+ static _convertOutline(outline: any): olStyle.Stroke;
917
+ static _convertEsriSLS(symbol: any): olStyle.Style;
918
+ static _transformAngle(angle: any): number | undefined;
919
+ static _convertEsriSMS(symbol: any): olStyle.Style | undefined;
920
+ _convertLabelingInfo(labelingInfo: any, mapUnits: any): any[];
921
+ _renderSimple(renderer: any): () => any[];
922
+ _renderClassBreaks(renderer: any): (feature: any) => any[];
923
+ _renderUniqueValue(renderer: any): (feature: any) => any;
924
+ generateStyle(layerInfo: any, mapUnits: any): any;
925
+ }
926
+
927
+ declare const StyleEngineKind: readonly ["Geostyler", "Mapbox"];
928
+ type StyleEngineKind = (typeof StyleEngineKind)[number];
929
+ type AnyOlStyle = StyleLike | FlatStyleLike;
930
+ type AnyStyle = AnyOlStyle | EngineLayerStyle;
931
+ interface EngineLayerStyle<TStyle = unknown> {
932
+ type: StyleEngineKind;
933
+ style?: TStyle;
934
+ }
935
+ interface StyleEngineFeature<KindT extends StyleEngineKind> {
936
+ kind: KindT;
937
+ providers: (Provider | EnvironmentProviders)[];
938
+ }
939
+ interface ConfigurableStylesOptions {
940
+ base?: AnyOlStyle;
941
+ selection?: AnyOlStyle;
942
+ focus?: AnyOlStyle;
943
+ }
944
+ interface StyleEngine<T extends EngineLayerStyle = EngineLayerStyle> {
945
+ readonly type: StyleEngineKind;
946
+ supports(options: EngineLayerStyle): options is T;
947
+ getStyle(options: T, ol: olLayerVectorTile | olLayerVector): Promise<AnyOlStyle>;
948
+ getLegend?(options: T): Promise<string | undefined>;
949
+ }
950
+ declare enum FontType {
951
+ Arial = "Arial",
952
+ ArialBlack = "Arial Black",
953
+ Verdana = "Verdana",
954
+ Tahoma = "Tahoma",
955
+ TrebuchetMS = "Trebuchet MS",
956
+ Impact = "Impact",
957
+ TimesNewRoman = "Times New Roman",
958
+ Georgia = "Georgia",
959
+ AmericanTypewriter = "American Typewriter",
960
+ Courier = "Courier",
961
+ LucidaConsole = "Lucida Console",
962
+ BrushScriptMT = "Brush Script MT",
963
+ ComicSansMS = "Comic Sans MS"
964
+ }
965
+
966
+ interface ClusterParam {
967
+ clusterRanges?: ClusterRange[];
968
+ radiusCalc?: (size: number) => number;
969
+ }
970
+ interface ClusterRange {
971
+ minRadius?: number;
972
+ maxRadius?: number;
973
+ showRange?: boolean;
974
+ dynamicRadius?: boolean;
975
+ style: Record<string, any>;
979
976
  }
980
977
 
981
978
  /**
@@ -1006,132 +1003,6 @@ declare class MapController {
1006
1003
  teardownObservers(): void;
1007
1004
  }
1008
1005
 
1009
- interface GeolocationOptions {
1010
- activateDefault?: boolean;
1011
- basic?: boolean;
1012
- followPosition?: boolean;
1013
- button?: {
1014
- visible: boolean;
1015
- };
1016
- }
1017
- interface MapGeolocationControllerOptions {
1018
- projection: ProjectionLike;
1019
- accuracyThreshold?: number;
1020
- followPosition?: boolean;
1021
- buffer?: GeolocationBuffer;
1022
- }
1023
- interface MapGeolocationState {
1024
- position: Coordinate;
1025
- projection: string;
1026
- accuracy: number;
1027
- altitude: number;
1028
- altitudeAccuracy: number;
1029
- heading: number;
1030
- speed: number;
1031
- enableHighAccuracy: boolean;
1032
- timestamp: Date;
1033
- }
1034
- interface GeolocationBuffer {
1035
- bufferRadius?: number;
1036
- bufferStroke?: [number, number, number, number];
1037
- bufferFill?: [number, number, number, number];
1038
- showBufferRadius?: boolean;
1039
- }
1040
- declare enum GeolocationOverlayType {
1041
- Position = "position",
1042
- PositionDirection = "positionDirection",
1043
- Accuracy = "accuracy",
1044
- Buffer = "buffer"
1045
- }
1046
-
1047
- /**
1048
- * Controller to handle map view interactions
1049
- */
1050
- declare class MapGeolocationController extends MapController {
1051
- private map;
1052
- private options?;
1053
- private storageService?;
1054
- private configService?;
1055
- private arrowRotation;
1056
- private subscriptions$$;
1057
- private geolocationOverlay;
1058
- private positionFeatureStyle;
1059
- private accuracyFeatureStyle;
1060
- private get bufferStyle();
1061
- private get arrowStyle();
1062
- private geolocation;
1063
- /**
1064
- * Observable of the current emission interval of the position. In seconds
1065
- */
1066
- readonly emissionIntervalSeconds$: BehaviorSubject<number>;
1067
- /**
1068
- * Observable of the current position
1069
- */
1070
- readonly position$: BehaviorSubject<MapGeolocationState | undefined>;
1071
- /**
1072
- * Observable of the tracking state
1073
- */
1074
- readonly tracking$: BehaviorSubject<boolean>;
1075
- /**
1076
- * Observable of the follow position state
1077
- */
1078
- readonly followPosition$: BehaviorSubject<boolean>;
1079
- private lastPosition;
1080
- /**
1081
- * Whether the geolocate should show a buffer around the current position
1082
- */
1083
- set buffer(value: GeolocationBuffer);
1084
- get buffer(): GeolocationBuffer;
1085
- private _buffer;
1086
- /**
1087
- * Whether the geolocate controller accuracy threshold to store/show the position.
1088
- */
1089
- set accuracyThreshold(value: number);
1090
- get accuracyThreshold(): number;
1091
- private _accuracyThreshold;
1092
- get olGeolocation(): olGeolocation;
1093
- /**
1094
- * Whether the activate the geolocation.
1095
- */
1096
- get tracking(): boolean;
1097
- set tracking(value: boolean);
1098
- /**
1099
- * Whether the activate the view tracking of the current position
1100
- */
1101
- set followPosition(value: boolean);
1102
- get followPosition(): boolean;
1103
- private _followPosition;
1104
- constructor(map: MapBase, options?: MapGeolocationControllerOptions | undefined, storageService?: StorageService | undefined, configService?: ConfigService | undefined);
1105
- /**
1106
- * Add or remove this controller to/from a map.
1107
- * @param map OL Map
1108
- */
1109
- setOlMap(olMap: OlMap | undefined): void;
1110
- private deleteGeolocationFeatures;
1111
- setupObservers(): void;
1112
- updateArrowFeatureOrientation(position: MapGeolocationState): void;
1113
- /**
1114
- * @returns distance in km between coord1 and coord2
1115
- */
1116
- private distanceBetweenPoints;
1117
- addOnChangedListener(event: (geo: olGeolocation) => any): () => void;
1118
- deleteChangedListener(event: () => any): void;
1119
- updateGeolocationOptions(options: MapViewOptions): void;
1120
- /**
1121
- * Teardown any observers
1122
- */
1123
- teardownObservers(): void;
1124
- /**
1125
- * On position change, get the position, show it on the map and record it.
1126
- * @param emitEvent Map event
1127
- */
1128
- private onPositionChange;
1129
- private getFeatureByType;
1130
- private deleteFeatureByType;
1131
- private handleFeatureCreation;
1132
- handleViewFromFeatures(position: MapGeolocationState, zoomTo?: boolean): void;
1133
- }
1134
-
1135
1006
  interface MapViewControllerOptions {
1136
1007
  stateHistory: boolean;
1137
1008
  }
@@ -1269,62 +1140,287 @@ declare class MapViewController extends MapController {
1269
1140
  */
1270
1141
  zoomToExtent(extent: [number, number, number, number]): void;
1271
1142
  /**
1272
- * Return the current view rotation
1273
- * @returns Rotation angle in radians
1143
+ * Return the current view rotation
1144
+ * @returns Rotation angle in radians
1145
+ */
1146
+ getRotation(): number;
1147
+ /**
1148
+ * Reset the view rotation to 0
1149
+ */
1150
+ resetRotation(): void;
1151
+ /**
1152
+ * Whether the view has a previous state
1153
+ * @returns True if the view has a previous state
1154
+ */
1155
+ hasPreviousState(): boolean;
1156
+ /**
1157
+ * Whether the view has a next state
1158
+ * @returns True if the view has a next state
1159
+ */
1160
+ hasNextState(): boolean;
1161
+ /**
1162
+ * Restore the previous view state
1163
+ */
1164
+ previousState(): void;
1165
+ /**
1166
+ * Restore the next view state
1167
+ */
1168
+ nextState(): void;
1169
+ /**
1170
+ * Clear the state history
1171
+ */
1172
+ clearStateHistory(): void;
1173
+ /**
1174
+ * Update the the view to it's intial state
1175
+ */
1176
+ setInitialState(): void;
1177
+ /**
1178
+ * Move to the extent retrieved from the stream
1179
+ * @param extent Extent
1180
+ * @param action Either zoom or move
1181
+ * @param animation With or without animation to the target extent.
1182
+ */
1183
+ private setExtent;
1184
+ /**
1185
+ * Set the view state index
1186
+ * @param index State index
1187
+ */
1188
+ private setStateIndex;
1189
+ /**
1190
+ * Set the view state
1191
+ * @param state View state
1192
+ */
1193
+ private setState;
1194
+ /**
1195
+ * On move end, get the view state and record it.
1196
+ * @param event Map event
1197
+ */
1198
+ private onMoveEnd;
1199
+ }
1200
+
1201
+ type StyleVariant = 'base' | 'focus' | 'selection';
1202
+ type MarkerStyleOptions = Readonly<{
1203
+ text?: string;
1204
+ markerColor?: string;
1205
+ markerOutlineColor?: string;
1206
+ imposedGeometry?: OlGeometry;
1207
+ }>;
1208
+ declare function styleVariant(viewController?: MapViewController, type?: StyleVariant): StyleFunction;
1209
+ declare function baseOlStyle(text?: string, imposedGeometry?: OlGeometry): Style[];
1210
+ declare function selectionOlStyle(text?: string, imposedGeometry?: OlGeometry): Style[];
1211
+ /**
1212
+ * Invisible-but-interactive style (hit detection, event capture).
1213
+ */
1214
+ declare function nearTransparentOlStyle(): Style;
1215
+ declare function markerOlStyle({ text, markerColor, markerOutlineColor, imposedGeometry }: MarkerStyleOptions): Style;
1216
+ declare function randomOlFlatStyle(): FlatStyleLike;
1217
+ declare function clusterOlStyleFunction(clusterParam?: ClusterParam): (olFeature: OlFeature<OlGeometry>, resolution: number) => Style | Style[];
1218
+
1219
+ declare function isEngineLayerStyle(value: unknown): value is EngineLayerStyle;
1220
+ declare function isOlFlatStyleLike(value: unknown): value is FlatStyleLike;
1221
+ declare function isAnyOlStyle(value: unknown): value is AnyOlStyle;
1222
+
1223
+ /**
1224
+ * This class is simply a shortcut for adding features to a map.
1225
+ * It does nothing more than a standard layer but it's shipped with
1226
+ * a defautl style based on the geometry type of the features it contains.
1227
+ * @todo Enhance that by using a FeatureStore and strategies.
1228
+ */
1229
+ declare class Overlay<T extends MapBase = MapBase> {
1230
+ /**
1231
+ * The map to add the layer to
1232
+ */
1233
+ private map;
1234
+ /**
1235
+ * Overlay layer
1236
+ */
1237
+ layer: VectorLayer;
1238
+ /**
1239
+ * Overlay layer's data source
1240
+ */
1241
+ get dataSource(): FeatureDataSource;
1242
+ constructor(map: T, style?: AnyOlStyle);
1243
+ /**
1244
+ * Bind this to a map and add the overlay layer to that map
1245
+ * @param map Map
1246
+ */
1247
+ setMap(map: T): void;
1248
+ /**
1249
+ * Set the overlay features and, optionally, move to them
1250
+ * @param features Features
1251
+ * @param motion Optional: Apply this motion to the map view
1252
+ * @param sourceId Optional: Remove features of certain sourceId (ex: 'Map' for query features)
1253
+ */
1254
+ setFeatures(features: Feature[], motion?: FeatureMotion, sourceId?: string): void;
1255
+ /**
1256
+ * Add a feature to the overlay and, optionally, move to it
1257
+ * @param feature Feature
1258
+ * @param motion Optional: Apply this motion to the map view (default on FeatureMotion.Default)
1259
+ */
1260
+ addFeature(feature: Feature, motion?: FeatureMotion): void;
1261
+ /**
1262
+ * Add features to the overlay and, optionally, move to them
1263
+ * @param features Features
1264
+ * @param motion Optional: Apply this motion to the map view
1265
+ */
1266
+ addFeatures(features: Feature[], motion?: FeatureMotion): void;
1267
+ /**
1268
+ * Add a OpenLayers feature to the overlay and, optionally, move to it
1269
+ * @param olFeature OpenLayers Feature
1270
+ * @param motion Optional: Apply this motion to the map view
1271
+ */
1272
+ addOlFeature(olFeature: OlFeature<OlGeometry>, motion?: FeatureMotion): void;
1273
+ /**
1274
+ * Add OpenLayers features to the overlay and, optionally, move to them
1275
+ * @param olFeatures OpenLayers Features
1276
+ * @param motion Optional: Apply this motion to the map view
1277
+ */
1278
+ addOlFeatures(olFeatures: OlFeature<OlGeometry>[], motion?: FeatureMotion): void;
1279
+ /**
1280
+ * Remove a feature from the overlay
1281
+ * @param feature Feature
1282
+ */
1283
+ removeFeature(feature: Feature): void;
1284
+ /**
1285
+ * Remove features from the overlay
1286
+ * @param features Features
1287
+ */
1288
+ removeFeatures(features: Feature[]): void;
1289
+ /**
1290
+ * Remove an OpenLayers feature from the overlay
1291
+ * @param olFeature OpenLayers Feature
1292
+ */
1293
+ removeOlFeature(olFeature: OlFeature<OlGeometry>): void;
1294
+ /**
1295
+ * Clear the overlay
1296
+ */
1297
+ clear(): void;
1298
+ }
1299
+
1300
+ interface GeolocationOptions {
1301
+ activateDefault?: boolean;
1302
+ basic?: boolean;
1303
+ followPosition?: boolean;
1304
+ button?: {
1305
+ visible: boolean;
1306
+ };
1307
+ }
1308
+ interface MapGeolocationControllerOptions {
1309
+ projection: ProjectionLike;
1310
+ accuracyThreshold?: number;
1311
+ followPosition?: boolean;
1312
+ buffer?: GeolocationBuffer;
1313
+ }
1314
+ interface MapGeolocationState {
1315
+ position: Coordinate;
1316
+ projection: string;
1317
+ accuracy: number;
1318
+ altitude: number;
1319
+ altitudeAccuracy: number;
1320
+ heading: number;
1321
+ speed: number;
1322
+ enableHighAccuracy: boolean;
1323
+ timestamp: Date;
1324
+ }
1325
+ interface GeolocationBuffer {
1326
+ bufferRadius?: number;
1327
+ bufferStroke?: [number, number, number, number];
1328
+ bufferFill?: [number, number, number, number];
1329
+ showBufferRadius?: boolean;
1330
+ }
1331
+ declare enum GeolocationOverlayType {
1332
+ Position = "position",
1333
+ PositionDirection = "positionDirection",
1334
+ Accuracy = "accuracy",
1335
+ Buffer = "buffer"
1336
+ }
1337
+
1338
+ /**
1339
+ * Controller to handle map view interactions
1340
+ */
1341
+ declare class MapGeolocationController extends MapController {
1342
+ private map;
1343
+ private options?;
1344
+ private storageService?;
1345
+ private configService?;
1346
+ private arrowRotation;
1347
+ private subscriptions$$;
1348
+ private geolocationOverlay;
1349
+ private positionFeatureStyle;
1350
+ private accuracyFeatureStyle;
1351
+ private get bufferStyle();
1352
+ private get arrowStyle();
1353
+ private geolocation;
1354
+ /**
1355
+ * Observable of the current emission interval of the position. In seconds
1274
1356
  */
1275
- getRotation(): number;
1357
+ readonly emissionIntervalSeconds$: BehaviorSubject<number>;
1276
1358
  /**
1277
- * Reset the view rotation to 0
1359
+ * Observable of the current position
1278
1360
  */
1279
- resetRotation(): void;
1361
+ readonly position$: BehaviorSubject<MapGeolocationState | undefined>;
1280
1362
  /**
1281
- * Whether the view has a previous state
1282
- * @returns True if the view has a previous state
1363
+ * Observable of the tracking state
1283
1364
  */
1284
- hasPreviousState(): boolean;
1365
+ readonly tracking$: BehaviorSubject<boolean>;
1285
1366
  /**
1286
- * Whether the view has a next state
1287
- * @returns True if the view has a next state
1367
+ * Observable of the follow position state
1288
1368
  */
1289
- hasNextState(): boolean;
1369
+ readonly followPosition$: BehaviorSubject<boolean>;
1370
+ private lastPosition;
1290
1371
  /**
1291
- * Restore the previous view state
1372
+ * Whether the geolocate should show a buffer around the current position
1292
1373
  */
1293
- previousState(): void;
1374
+ set buffer(value: GeolocationBuffer);
1375
+ get buffer(): GeolocationBuffer;
1376
+ private _buffer;
1294
1377
  /**
1295
- * Restore the next view state
1378
+ * Whether the geolocate controller accuracy threshold to store/show the position.
1296
1379
  */
1297
- nextState(): void;
1380
+ set accuracyThreshold(value: number);
1381
+ get accuracyThreshold(): number;
1382
+ private _accuracyThreshold;
1383
+ get olGeolocation(): olGeolocation;
1298
1384
  /**
1299
- * Clear the state history
1385
+ * Whether the activate the geolocation.
1300
1386
  */
1301
- clearStateHistory(): void;
1387
+ get tracking(): boolean;
1388
+ set tracking(value: boolean);
1302
1389
  /**
1303
- * Update the the view to it's intial state
1390
+ * Whether the activate the view tracking of the current position
1304
1391
  */
1305
- setInitialState(): void;
1392
+ set followPosition(value: boolean);
1393
+ get followPosition(): boolean;
1394
+ private _followPosition;
1395
+ constructor(map: MapBase, options?: MapGeolocationControllerOptions | undefined, storageService?: StorageService | undefined, configService?: ConfigService | undefined);
1306
1396
  /**
1307
- * Move to the extent retrieved from the stream
1308
- * @param extent Extent
1309
- * @param action Either zoom or move
1310
- * @param animation With or without animation to the target extent.
1397
+ * Add or remove this controller to/from a map.
1398
+ * @param map OL Map
1311
1399
  */
1312
- private setExtent;
1400
+ setOlMap(olMap: OlMap | undefined): void;
1401
+ private deleteGeolocationFeatures;
1402
+ setupObservers(): void;
1403
+ updateArrowFeatureOrientation(position: MapGeolocationState): void;
1313
1404
  /**
1314
- * Set the view state index
1315
- * @param index State index
1405
+ * @returns distance in km between coord1 and coord2
1316
1406
  */
1317
- private setStateIndex;
1407
+ private distanceBetweenPoints;
1408
+ addOnChangedListener(event: (geo: olGeolocation) => any): () => void;
1409
+ deleteChangedListener(event: () => any): void;
1410
+ updateGeolocationOptions(options: MapViewOptions): void;
1318
1411
  /**
1319
- * Set the view state
1320
- * @param state View state
1412
+ * Teardown any observers
1321
1413
  */
1322
- private setState;
1414
+ teardownObservers(): void;
1323
1415
  /**
1324
- * On move end, get the view state and record it.
1325
- * @param event Map event
1416
+ * On position change, get the position, show it on the map and record it.
1417
+ * @param emitEvent Map event
1326
1418
  */
1327
- private onMoveEnd;
1419
+ private onPositionChange;
1420
+ private getFeatureByType;
1421
+ private deleteFeatureByType;
1422
+ private handleFeatureCreation;
1423
+ handleViewFromFeatures(position: MapGeolocationState, zoomTo?: boolean): void;
1328
1424
  }
1329
1425
 
1330
1426
  type AnyPropertyOptions = ZindexPropertyOptions | BasePropertyOptions;
@@ -1587,85 +1683,10 @@ interface TileLayerOptions extends LayerOptions {
1587
1683
  ol?: olLayerTile<olSourceTile>;
1588
1684
  }
1589
1685
 
1590
- interface FeatureCommonVectorStyleOptions extends CommonVectorStyleOptions {
1591
- feature: Feature | OlFeature<OlGeometry>;
1592
- }
1593
- interface IgoStyle extends IgoStyleBase {
1594
- clusterBaseStyle?: Record<string, any> | olStyle$1 | olStyle$1[];
1595
- }
1596
- interface IgoStyleBase {
1597
- editable?: boolean;
1598
- hoverStyle?: StyleByAttribute;
1599
- igoStyleObject?: Record<string, any>;
1600
- mapboxStyle?: MapboxStyle;
1601
- styleByAttribute?: StyleByAttribute;
1602
- }
1603
- interface OverlayStyleOptions {
1604
- base?: CommonVectorStyleOptions;
1605
- selection?: CommonVectorStyleOptions;
1606
- focus?: CommonVectorStyleOptions;
1607
- }
1608
- interface CommonVectorStyleOptions {
1609
- markerColor?: string | number[];
1610
- markerOpacity?: number;
1611
- markerOutlineColor?: string | number[];
1612
- fillColor?: string | number[];
1613
- fillOpacity?: number;
1614
- strokeColor?: string | number[];
1615
- strokeOpacity?: number;
1616
- strokeWidth?: number;
1617
- }
1618
- interface StyleByAttribute {
1619
- anchor?: [number, number][];
1620
- type?: string;
1621
- attribute?: string;
1622
- data?: any[];
1623
- fill?: string[];
1624
- stroke?: string[];
1625
- width?: number[];
1626
- radius?: number[];
1627
- icon?: string[];
1628
- scale?: number[];
1629
- label?: IgoLabel;
1630
- baseStyle?: {
1631
- [key: string]: any;
1632
- allo?: string;
1633
- };
1634
- hoverStyle?: StyleByAttribute;
1635
- }
1636
- interface CreateStyle {
1637
- igoLabel?: IgoLabel;
1638
- igoStyle?: Record<string, any>;
1639
- }
1640
- interface IgoLabel {
1641
- attribute: string;
1642
- style?: Record<string, any>;
1643
- minResolution?: number;
1644
- maxResolution?: number;
1645
- minScaleDenom?: number;
1646
- maxScaleDenom?: number;
1647
- }
1648
- interface MapboxStyle {
1649
- url: string;
1650
- source: string;
1651
- }
1652
-
1653
- interface ClusterParam {
1654
- clusterRanges?: ClusterRange[];
1655
- radiusCalc?: (size: number) => number;
1656
- }
1657
- interface ClusterRange {
1658
- minRadius?: number;
1659
- maxRadius?: number;
1660
- showRange?: boolean;
1661
- dynamicRadius?: boolean;
1662
- style: Record<string, any>;
1663
- }
1664
-
1665
1686
  interface VectorLayerOptions extends LayerOptions {
1666
1687
  source?: FeatureDataSource | WFSDataSource | ArcGISRestDataSource | WebSocketDataSource | ClusterDataSource;
1667
1688
  sourceOptions?: FeatureDataSourceOptions | WFSDataSourceOptions | ArcGISRestDataSourceOptions | WebSocketDataSourceOptions | ClusterDataSourceOptions;
1668
- style?: olStyle$1 | olStyle$1[] | ((arg0: RenderFeature | OlFeature<any>, arg1: number) => void | olStyle$1 | olStyle$1[]);
1689
+ style?: AnyStyle;
1669
1690
  browsable?: boolean;
1670
1691
  exportable?: boolean;
1671
1692
  ol?: olLayerVector<olSourceVector>;
@@ -1673,7 +1694,6 @@ interface VectorLayerOptions extends LayerOptions {
1673
1694
  clusterParam?: ClusterParam;
1674
1695
  trackFeature?: string | number;
1675
1696
  idbInfo?: IdbInfo;
1676
- igoStyle?: IgoStyle;
1677
1697
  }
1678
1698
  interface IdbInfo {
1679
1699
  storeToIdb: boolean;
@@ -1684,7 +1704,7 @@ interface IdbInfo {
1684
1704
  }
1685
1705
  interface VectorAnimation {
1686
1706
  duration?: number;
1687
- color?: ol_color.Color;
1707
+ color?: olColor.Color;
1688
1708
  }
1689
1709
 
1690
1710
  interface MVTDataSourceOptions extends DataSourceOptions {
@@ -1708,12 +1728,11 @@ declare class MVTDataSource extends DataSource {
1708
1728
  }
1709
1729
 
1710
1730
  interface VectorTileLayerOptions extends LayerOptions {
1711
- style?: olStyle$1 | olStyle$1[] | ((arg0: RenderFeature | OlFeature<any>, arg1: number) => void | olStyle$1 | olStyle$1[]);
1731
+ style?: AnyStyle;
1712
1732
  source?: MVTDataSource;
1713
1733
  sourceOptions?: MVTDataSourceOptions;
1714
1734
  ol?: olLayerVectorTile;
1715
1735
  declutter?: boolean;
1716
- igoStyle?: IgoStyle;
1717
1736
  }
1718
1737
 
1719
1738
  type AnyLayerOptions = AnyLayerItemOptions | LayerGroupOptions;
@@ -1754,12 +1773,11 @@ declare class LayerGroup extends LayerGroupBase<LayerGroup> {
1754
1773
  }
1755
1774
 
1756
1775
  declare class LayerService {
1757
- private http;
1758
- private styleService;
1759
1776
  private dataSourceService;
1760
1777
  private messageService;
1761
1778
  private geoNetworkService;
1762
1779
  private authInterceptor;
1780
+ private styleService;
1763
1781
  unavailableLayers: AnyLayerItemOptions[];
1764
1782
  createLayers(layersOption: AnyLayerOptions[], contextUri?: string): Observable<(AnyLayer | undefined)[]>;
1765
1783
  createLayer(layerOptions: AnyLayerItemOptions): Layer;
@@ -1769,11 +1787,7 @@ declare class LayerService {
1769
1787
  private createImageLayer;
1770
1788
  private createTileLayer;
1771
1789
  private createVectorLayer;
1772
- private handleLegacyStyles;
1773
1790
  private createVectorTileLayer;
1774
- private applyMapboxStyle;
1775
- private getStuff;
1776
- private getAbsoluteUrl;
1777
1791
  createAsyncIdbLayers(contextUri?: string): Observable<Layer[]>;
1778
1792
  deleteUnavailableLayers(anyLayerOptions: AnyLayerItemOptions): void;
1779
1793
  sourceOptionsWithParams(sourceOptions: AnyDataSourceOptions): sourceOptions is AnyDataSourceOptionsWithParams;
@@ -1816,8 +1830,6 @@ declare abstract class MapBase {
1816
1830
  status$: Subject<SubjectStatus>;
1817
1831
  propertyChange$: Subject<LayerWatcherChange | undefined>;
1818
1832
  overlay: Overlay;
1819
- queryResultsOverlay: Overlay;
1820
- searchResultsOverlay: Overlay;
1821
1833
  viewController: MapViewController;
1822
1834
  geolocationController: MapGeolocationController;
1823
1835
  swipeEnabled$: BehaviorSubject<boolean>;
@@ -2030,16 +2042,32 @@ declare class TileLayer extends Layer {
2030
2042
  remove(): void;
2031
2043
  }
2032
2044
 
2045
+ declare class StyleService {
2046
+ private readonly engines;
2047
+ getStyle(options: AnyStyle, ol: olLayerVector | olLayerVectorTile): Promise<AnyOlStyle>;
2048
+ getLegend(options: AnyStyle): Promise<string | undefined>;
2049
+ private findEngine;
2050
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleService, never>;
2051
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<StyleService>;
2052
+ }
2053
+
2033
2054
  declare class VectorTileLayer extends Layer {
2034
2055
  messageService?: MessageService | undefined;
2035
2056
  authInterceptor?: AuthInterceptor | undefined;
2057
+ styleService?: StyleService | undefined;
2036
2058
  type: LayerType;
2037
2059
  dataSource: MVTDataSource;
2038
2060
  options: VectorTileLayerOptions;
2039
2061
  ol: olLayerVectorTile;
2040
2062
  private watcher;
2041
- constructor(options: VectorTileLayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined);
2063
+ get style(): AnyStyle | undefined;
2064
+ set style(value: AnyStyle | undefined);
2065
+ private _style$;
2066
+ readonly style$: rxjs.Observable<AnyStyle | undefined>;
2067
+ constructor(options: VectorTileLayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined, styleService?: StyleService | undefined);
2068
+ getLegend(value: AnyStyle): Promise<Legend[] | undefined>;
2042
2069
  protected createOlLayer(): olLayerVectorTile;
2070
+ private setStyle;
2043
2071
  /**
2044
2072
  * Custom loader for vector tile layer. Modified from the loadFeaturesXhr function in ol\featureloader.js
2045
2073
  * @internal
@@ -2063,8 +2091,6 @@ declare class IgoMap implements MapBase {
2063
2091
  status$: Subject<SubjectStatus>;
2064
2092
  propertyChange$: Subject<LayerWatcherChange | undefined>;
2065
2093
  overlay: Overlay;
2066
- queryResultsOverlay: Overlay;
2067
- searchResultsOverlay: Overlay;
2068
2094
  viewController: MapViewController;
2069
2095
  layerController: LayerController;
2070
2096
  geolocationController: MapGeolocationController;
@@ -2327,104 +2353,26 @@ declare class PointerPositionDirective implements OnInit, OnDestroy {
2327
2353
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PointerPositionDirective, "[igoPointerPosition]", never, { "pointerPositionDelay": { "alias": "pointerPositionDelay"; "required": false; "isSignal": true; }; }, { "pointerPositionCoord": "pointerPositionCoord"; }, never, never, true, never>;
2328
2354
  }
2329
2355
 
2330
- type FlexIndex = any;
2331
- /**
2332
- * The class is a specialized version of an EntityStore that stores
2333
- * features and the map layer to display them on. Synchronization
2334
- * between the store and the layer is handled by strategies.
2335
- */
2336
- declare class FeatureStore<T extends Feature = Feature> extends EntityStore<T> {
2337
- /**
2338
- * Vector layer to display the features on
2339
- */
2340
- layer: VectorLayer;
2341
- /**
2342
- * The map the layer is bound to
2343
- */
2344
- readonly map: IgoMap;
2345
- /**
2346
- * The layer's data source
2347
- */
2348
- get source(): FeatureDataSource;
2349
- /**
2350
- * The searchable index of loaded feature. Computed if strategy is provided
2351
- */
2352
- set searchDocument(v: FlexIndex);
2353
- get searchDocument(): FlexIndex;
2354
- private _searchDocument;
2355
- constructor(entities: T[], options: FeatureStoreOptions);
2356
- /**
2357
- * Bind this store to a vector layer
2358
- * @param layer Vector layer
2359
- * @returns Feature store
2360
- */
2361
- bindLayer(layer: VectorLayer): FeatureStore;
2362
- /**
2363
- * Set the layer's features and perform a motion to make them visible. Strategies
2364
- * make extensive use of that method.
2365
- * @param features Features
2366
- * @param motion Optional: The type of motion to perform
2367
- */
2368
- setLayerFeatures(features: Feature[], motion?: FeatureMotion, viewScale?: [number, number, number, number], areaRatio?: number, getId?: (arg0: Feature) => EntityKey): void;
2369
- /**
2370
- * Set the store's features from an array of OL features.
2371
- * @param olFeatures Ol features
2372
- */
2373
- setStoreOlFeatures(olFeatures: OlFeature<OlGeometry>[]): void;
2374
- /**
2375
- * Remove all features from the layer
2376
- */
2377
- clearLayer(): void;
2378
- /**
2379
- * Check wether a layer is bound or not and throw an error if not.
2380
- */
2381
- private checkLayer;
2382
- /**
2383
- * Set the layer's features and perform a motion to make them visible.
2384
- * @param features Openlayers feature objects
2385
- * @param motion Optional: The type of motion to perform
2386
- */
2387
- setLayerOlFeatures(olFeatures: OlFeature<OlGeometry>[], motion?: FeatureMotion, viewScale?: [number, number, number, number], areaRatio?: number): void;
2388
- setLayerExtent(): void;
2389
- /**
2390
- * Add features to the the layer
2391
- * @param features Openlayers feature objects
2392
- */
2393
- private addOlFeaturesToLayer;
2394
- /**
2395
- * Remove features from the the layer
2396
- * @param features Openlayers feature objects
2397
- */
2398
- private removeOlFeaturesFromLayer;
2399
- }
2400
-
2401
2356
  /**
2402
- * This directive makes the mouse coordinate trigger a reverse search on available search sources.
2403
- * The search results are placed into a label, on a cross icon, representing the mouse coordinate.
2404
- * By default, no search sources. Config in config file must be defined.
2405
- * the layer level.
2357
+ * HoverFeatureDirective
2358
+ *
2359
+ * Debounces map pointer move events and highlights the top-most processable
2360
+ * feature under the pointer. The hovered feature is copied to an internal
2361
+ * overlay layer and marked with `_hovered` so layer styles can render hover
2362
+ * symbolizers and labels.
2406
2363
  */
2407
2364
  declare class HoverFeatureDirective implements OnInit, OnDestroy {
2408
2365
  private component;
2366
+ private layerService;
2409
2367
  private mediaService;
2410
- private styleService;
2411
- store: FeatureStore<Feature>;
2412
- private pointerHoverFeatureStore;
2413
- private lastTimeoutRequest;
2414
- private store$$;
2415
- private selectionLayer;
2416
- private selectionMVT;
2417
- private mvtStyleOptions;
2418
- /**
2419
- * Listener to the pointer move event
2420
- */
2421
- private pointerMoveListener;
2422
- private singleClickMapListener;
2423
- private hoverFeatureId;
2368
+ private store;
2369
+ private pointerMoveSubscription$$;
2370
+ private readonly hoverLayerId;
2424
2371
  /**
2425
- * The delay where the mouse must be motionless before trigger the reverse search
2372
+ * Delay (ms) before applying hover once the pointer is motionless.
2426
2373
  */
2427
2374
  readonly igoHoverFeatureDelay: _angular_core.InputSignal<number>;
2375
+ readonly igoHoverFeatureTolerance: _angular_core.InputSignal<number>;
2428
2376
  /**
2429
2377
  * If the user has enabled or not the directive
2430
2378
  */
@@ -2435,77 +2383,33 @@ declare class HoverFeatureDirective implements OnInit, OnDestroy {
2435
2383
  * @internal
2436
2384
  */
2437
2385
  get map(): IgoMap;
2438
- get mapProjection(): string;
2439
- /**
2440
- * Start listening to pointermove and reverse search results.
2441
- * @internal
2442
- */
2443
2386
  ngOnInit(): void;
2444
2387
  /**
2445
- * Initialize the pointer position store
2388
+ * Initialize the hover store
2446
2389
  * @internal
2447
2390
  */
2448
2391
  private initStore;
2449
- createHoverStyle(feature: RenderFeature | OlFeature<OlGeometry>, hoverStyle: StyleByAttribute, resolution: number): any;
2450
- /**
2451
- * Stop listening to pointermove and reverse search results.
2452
- * @internal
2453
- */
2454
2392
  ngOnDestroy(): void;
2455
2393
  /**
2456
- * Subscribe to pointermove result store
2457
- * @internal
2458
- */
2459
- subscribeToPointerStore(): void;
2460
- /**
2461
- * On map pointermove
2394
+ * Listen to pointer move events and debounce hover processing.
2462
2395
  */
2463
2396
  private listenToMapPointerMove;
2464
2397
  /**
2465
- * On map singleclick
2466
- */
2467
- private listenToMapClick;
2468
- /**
2469
- * Unsubscribe to pointer store.
2470
- * @internal
2471
- */
2472
- unsubscribeToPointerStore(): void;
2473
- /**
2474
- * Stop listening for map pointermove
2475
- * @internal
2476
- */
2477
- private unlistenToMapPointerMove;
2478
- /**
2479
- * Stop listening for map singleclick
2480
- * @internal
2481
- */
2482
- private unlistenToMapSingleClick;
2483
- /**
2484
- * Trigger clear layer on singleclick.
2485
- * @param event OL map browser singleclick event
2486
- */
2487
- private onMapSingleClickEvent;
2488
- /**
2489
- * Trigger hover when the mouse is motionless during the defined delay (pointerMoveDelay).
2398
+ * Apply hover rendering for the top-most processable feature at the pointer.
2490
2399
  * @param event OL map browser pointer event
2491
2400
  */
2492
2401
  private onMapEvent;
2493
- canProcessHover(igoLayer: VectorLayer | VectorTileLayer): boolean;
2494
- handleRenderFeature(feature: RenderFeature | OlFeature<OlGeometry>): OlFeature<OlGeometry>;
2495
- /**
2496
- * Add a feature to the pointer store
2497
- * @param text string
2498
- */
2499
- private addFeatureOverlay;
2500
- private setLayerStyleFromOptions;
2501
- private getHoverSummary;
2402
+ private getTopMostHitAtPixel;
2403
+ private getProcessableLayer;
2404
+ private handleRenderFeature;
2502
2405
  private getGeometry;
2503
2406
  /**
2504
- * Clear the pointer store features
2407
+ * Clear the hover store features
2505
2408
  */
2506
2409
  private clearLayer;
2410
+ private removeHoverLayer;
2507
2411
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HoverFeatureDirective, never>;
2508
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HoverFeatureDirective, "[igoHoverFeature]", never, { "igoHoverFeatureDelay": { "alias": "igoHoverFeatureDelay"; "required": false; "isSignal": true; }; "igoHoverFeatureEnabled": { "alias": "igoHoverFeatureEnabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2412
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HoverFeatureDirective, "[igoHoverFeature]", never, { "igoHoverFeatureDelay": { "alias": "igoHoverFeatureDelay"; "required": false; "isSignal": true; }; "igoHoverFeatureTolerance": { "alias": "igoHoverFeatureTolerance"; "required": false; "isSignal": true; }; "igoHoverFeatureEnabled": { "alias": "igoHoverFeatureEnabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2509
2413
  }
2510
2414
 
2511
2415
  /**
@@ -2585,6 +2489,7 @@ declare class VectorLayer extends Layer {
2585
2489
  messageService?: MessageService | undefined;
2586
2490
  authInterceptor?: AuthInterceptor | undefined;
2587
2491
  private geoNetworkService?;
2492
+ styleService?: StyleService | undefined;
2588
2493
  type: LayerType;
2589
2494
  private lastRequest?;
2590
2495
  private ongoingRequests;
@@ -2595,8 +2500,14 @@ declare class VectorLayer extends Layer {
2595
2500
  private trackFeatureListenerId;
2596
2501
  get browsable(): boolean;
2597
2502
  get exportable(): boolean;
2598
- constructor(options: VectorLayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined, geoNetworkService?: GeoNetworkService | undefined);
2503
+ get style(): AnyStyle | undefined;
2504
+ set style(value: AnyStyle | undefined);
2505
+ private _style$;
2506
+ readonly style$: rxjs.Observable<AnyStyle | undefined>;
2507
+ constructor(options: VectorLayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined, geoNetworkService?: GeoNetworkService | undefined, styleService?: StyleService | undefined);
2508
+ getLegend(value: AnyStyle): Promise<Legend[] | undefined>;
2599
2509
  protected createOlLayer(): olLayerVector<olSourceVector>;
2510
+ private setStyle;
2600
2511
  private handleIdbStorage;
2601
2512
  private handlePreload;
2602
2513
  remove(): void;
@@ -2662,7 +2573,7 @@ interface Feature<P = Record<string, any>> {
2662
2573
  properties: P;
2663
2574
  extent?: [number, number, number, number];
2664
2575
  meta?: FeatureMeta;
2665
- ol?: OlFeature<OlGeometry> | RenderFeature;
2576
+ ol?: OlFeature<OlGeometry> | OlRenderFeature;
2666
2577
  sourceId?: string;
2667
2578
  }
2668
2579
  interface FeatureMeta {
@@ -2672,7 +2583,7 @@ interface FeatureMeta {
2672
2583
  sourceTitle?: string;
2673
2584
  order?: number;
2674
2585
  icon?: string;
2675
- style?: Record<string, any>;
2586
+ style?: AnyOlStyle;
2676
2587
  alias?: Record<string, string>;
2677
2588
  revision?: number;
2678
2589
  excludeAttribute?: string[];
@@ -3446,6 +3357,77 @@ declare class DrawIconService {
3446
3357
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<DrawIconService>;
3447
3358
  }
3448
3359
 
3360
+ type FlexIndex = any;
3361
+ /**
3362
+ * The class is a specialized version of an EntityStore that stores
3363
+ * features and the map layer to display them on. Synchronization
3364
+ * between the store and the layer is handled by strategies.
3365
+ */
3366
+ declare class FeatureStore<T extends Feature = Feature> extends EntityStore<T> {
3367
+ /**
3368
+ * Vector layer to display the features on
3369
+ */
3370
+ layer: VectorLayer;
3371
+ /**
3372
+ * The map the layer is bound to
3373
+ */
3374
+ readonly map: IgoMap;
3375
+ /**
3376
+ * The layer's data source
3377
+ */
3378
+ get source(): FeatureDataSource;
3379
+ /**
3380
+ * The searchable index of loaded feature. Computed if strategy is provided
3381
+ */
3382
+ set searchDocument(v: FlexIndex);
3383
+ get searchDocument(): FlexIndex;
3384
+ private _searchDocument;
3385
+ constructor(entities: T[], options: FeatureStoreOptions);
3386
+ /**
3387
+ * Bind this store to a vector layer
3388
+ * @param layer Vector layer
3389
+ * @returns Feature store
3390
+ */
3391
+ bindLayer(layer: VectorLayer): FeatureStore;
3392
+ /**
3393
+ * Set the layer's features and perform a motion to make them visible. Strategies
3394
+ * make extensive use of that method.
3395
+ * @param features Features
3396
+ * @param motion Optional: The type of motion to perform
3397
+ */
3398
+ setLayerFeatures(features: Feature[], motion?: FeatureMotion, viewScale?: [number, number, number, number], areaRatio?: number, getId?: (arg0: Feature) => EntityKey): void;
3399
+ /**
3400
+ * Set the store's features from an array of OL features.
3401
+ * @param olFeatures Ol features
3402
+ */
3403
+ setStoreOlFeatures(olFeatures: OlFeature<OlGeometry>[]): void;
3404
+ /**
3405
+ * Remove all features from the layer
3406
+ */
3407
+ clearLayer(): void;
3408
+ /**
3409
+ * Check wether a layer is bound or not and throw an error if not.
3410
+ */
3411
+ private checkLayer;
3412
+ /**
3413
+ * Set the layer's features and perform a motion to make them visible.
3414
+ * @param features Openlayers feature objects
3415
+ * @param motion Optional: The type of motion to perform
3416
+ */
3417
+ setLayerOlFeatures(olFeatures: OlFeature<OlGeometry>[], motion?: FeatureMotion, viewScale?: [number, number, number, number], areaRatio?: number): void;
3418
+ setLayerExtent(): void;
3419
+ /**
3420
+ * Add features to the the layer
3421
+ * @param features Openlayers feature objects
3422
+ */
3423
+ private addOlFeaturesToLayer;
3424
+ /**
3425
+ * Remove features from the the layer
3426
+ * @param features Openlayers feature objects
3427
+ */
3428
+ private removeOlFeaturesFromLayer;
3429
+ }
3430
+
3449
3431
  interface DrawControlOptions {
3450
3432
  geometryType: Type | string;
3451
3433
  drawingLayerSource?: olSourceVector;
@@ -3695,7 +3677,7 @@ declare function DDtoDMS(value: Coordinate, unit: CoordinatesUnit): string[] | u
3695
3677
  * @returns OpenLayers feature object
3696
3678
  */
3697
3679
  declare function featureToOl(feature: Feature, projectionOut: string, getId?: (arg0: Feature) => EntityKey): OlFeature<OlGeometry>;
3698
- declare function renderFeatureFromOl(olRenderFeature: RenderFeature, projectionIn: string, olLayer?: OlLayer<olSource>, projectionOut?: string): Feature;
3680
+ declare function renderFeatureFromOl(olRenderFeature: OlRenderFeature, projectionIn: string, olLayer?: OlLayer<olSource>, projectionOut?: string): Feature;
3699
3681
  /**
3700
3682
  * Create a feature object out of an OL feature
3701
3683
  * The output object has a reference to the feature id.
@@ -4879,22 +4861,6 @@ declare class IgoFeatureDetailsModule {
4879
4861
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFeatureDetailsModule>;
4880
4862
  }
4881
4863
 
4882
- declare enum FontType {
4883
- Arial = "Arial",
4884
- ArialBlack = "Arial Black",
4885
- Verdana = "Verdana",
4886
- Tahoma = "Tahoma",
4887
- TrebuchetMS = "Trebuchet MS",
4888
- Impact = "Impact",
4889
- TimesNewRoman = "Times New Roman",
4890
- Georgia = "Georgia",
4891
- AmericanTypewriter = "American Typewriter",
4892
- Courier = "Courier",
4893
- LucidaConsole = "Lucida Console",
4894
- BrushScriptMT = "Brush Script MT",
4895
- ComicSansMS = "Comic Sans MS"
4896
- }
4897
-
4898
4864
  declare class DrawComponent implements OnInit, OnDestroy {
4899
4865
  private languageService;
4900
4866
  private formBuilder;
@@ -6264,6 +6230,7 @@ declare abstract class Layer extends LayerBase<LayerGroup> {
6264
6230
  options: LayerOptions;
6265
6231
  protected messageService?: MessageService | undefined;
6266
6232
  protected authInterceptor?: AuthInterceptor | undefined;
6233
+ protected styleService?: StyleService | undefined;
6267
6234
  dataSource: DataSource;
6268
6235
  ol: OlLayer<Source>;
6269
6236
  hasBeenVisible$: BehaviorSubject<boolean>;
@@ -6279,7 +6246,7 @@ declare abstract class Layer extends LayerBase<LayerGroup> {
6279
6246
  get minResolution(): number;
6280
6247
  set minResolution(value: number);
6281
6248
  get saveableOptions(): Partial<LayerOptions>;
6282
- constructor(options: LayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined);
6249
+ constructor(options: LayerOptions, messageService?: MessageService | undefined, authInterceptor?: AuthInterceptor | undefined, styleService?: StyleService | undefined);
6283
6250
  protected abstract createOlLayer(): OlLayer<Source>;
6284
6251
  init(map: MapBase): void;
6285
6252
  createLink(): void;
@@ -6394,7 +6361,6 @@ declare function isLayerItemOptions(options: AnyLayerOptions): options is AnyLay
6394
6361
  declare function isLayerGroup(layer: AnyLayer): layer is LayerGroup;
6395
6362
  declare function isLayerItem(layer: AnyLayer): layer is Layer;
6396
6363
  declare function isBaseLayer(layer: AnyLayer): layer is Layer;
6397
- declare function computeMVTOptionsOnHover(layerOptions: AnyLayerItemOptions): AnyLayerItemOptions;
6398
6364
  declare function isSaveableLayer(layer: Layer): boolean;
6399
6365
  /** Recursive */
6400
6366
  declare function sortLayersByZindex(layers: AnyLayer[], direction: SortDirection): AnyLayer[];
@@ -6427,7 +6393,7 @@ declare class TileWatcher extends Watcher {
6427
6393
  * Get all the layers legend
6428
6394
  * @return Array of legend
6429
6395
  */
6430
- declare function getLayersLegends(layers: AnyLayer[]): OutputLayerLegend[];
6396
+ declare function getLayersLegends(layers: AnyLayer[]): Promise<OutputLayerLegend[]>;
6431
6397
 
6432
6398
  declare class VectorWatcher extends Watcher {
6433
6399
  private id;
@@ -6488,6 +6454,7 @@ declare class LayerLegendComponent implements OnInit, OnDestroy {
6488
6454
  * Subscription to the map's resolution
6489
6455
  */
6490
6456
  private state$$;
6457
+ private style$$?;
6491
6458
  /**
6492
6459
  * The available styles
6493
6460
  */
@@ -6521,7 +6488,9 @@ declare class LayerLegendComponent implements OnInit, OnDestroy {
6521
6488
  * On destroy, unsubscribe to the map's view state
6522
6489
  */
6523
6490
  ngOnDestroy(): void;
6491
+ private refreshLegendFromLayerStyle;
6524
6492
  getLegendGraphic(item: Legend): void;
6493
+ private setLegendItems;
6525
6494
  toggleLegendItem(collapsed: boolean, item: Legend): void;
6526
6495
  private transfertToggleLegendItem;
6527
6496
  computeItemTitle(layerLegend: any): Observable<string>;
@@ -6538,6 +6507,7 @@ declare class LayerLegendComponent implements OnInit, OnDestroy {
6538
6507
  private listStyles;
6539
6508
  onChangeStyle(): void;
6540
6509
  onLoadImage(id: string): void;
6510
+ private isStyleLegendLayer;
6541
6511
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayerLegendComponent, never>;
6542
6512
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LayerLegendComponent, "igo-layer-legend", never, { "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; "isSignal": true; }; "layer": { "alias": "layer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6543
6513
  }
@@ -6842,8 +6812,6 @@ declare class ImportExportComponent implements OnDestroy, OnInit {
6842
6812
  private exportService;
6843
6813
  private languageService;
6844
6814
  private messageService;
6845
- private styleListService;
6846
- private styleService;
6847
6815
  private formBuilder;
6848
6816
  private config;
6849
6817
  private storageService;
@@ -6932,8 +6900,6 @@ declare class ImportExportComponent implements OnDestroy, OnInit {
6932
6900
  declare class DropGeoFileDirective extends DragAndDropDirective implements OnInit, OnDestroy {
6933
6901
  private component;
6934
6902
  private importService;
6935
- private styleListService;
6936
- private styleService;
6937
6903
  private config;
6938
6904
  private messageService;
6939
6905
  private layerService;
@@ -7126,11 +7092,7 @@ interface SearchResult<T = Record<string, any>> {
7126
7092
  data: T;
7127
7093
  source: SearchSource;
7128
7094
  meta: SearchMeta;
7129
- style?: {
7130
- base?: CommonVectorStyleOptions;
7131
- selection?: CommonVectorStyleOptions;
7132
- focus?: CommonVectorStyleOptions;
7133
- };
7095
+ style?: ConfigurableStylesOptions;
7134
7096
  }
7135
7097
  interface SearchMeta {
7136
7098
  id: string;
@@ -7172,12 +7134,14 @@ interface ReverseSearch {
7172
7134
  * The search results are placed into a label, on a cross icon, representing the mouse coordinate.
7173
7135
  * By default, no search sources. Config in config file must be defined.
7174
7136
  * the layer level.
7137
+ *
7175
7138
  */
7176
7139
  declare class SearchPointerSummaryDirective implements OnInit, OnDestroy, AfterContentChecked {
7177
7140
  private component;
7178
7141
  private searchService;
7179
7142
  private searchSourceService;
7180
7143
  private mediaService;
7144
+ private layerService;
7181
7145
  store: FeatureStore<Feature>;
7182
7146
  private lonLat;
7183
7147
  private pointerSearchStore;
@@ -7278,6 +7242,12 @@ declare class SearchPointerSummaryDirective implements OnInit, OnDestroy, AfterC
7278
7242
  * Clear the pointer store features
7279
7243
  */
7280
7244
  private clearLayer;
7245
+ /**
7246
+ * Create a default style for the pointer position and it's label summary.
7247
+ * @param feature olFeature
7248
+ * @returns OL style function
7249
+ */
7250
+ private pointerPositionSummaryMarkerStyle;
7281
7251
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchPointerSummaryDirective, never>;
7282
7252
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SearchPointerSummaryDirective, "[igoSearchPointerSummary]", never, { "igoSearchPointerSummaryDelay": { "alias": "igoSearchPointerSummaryDelay"; "required": false; "isSignal": true; }; "igoSearchPointerSummaryEnabled": { "alias": "igoSearchPointerSummaryEnabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7283
7253
  }
@@ -8301,8 +8271,6 @@ declare class SearchBarComponent implements OnInit, OnDestroy {
8301
8271
  * @param results Research results
8302
8272
  */
8303
8273
  private onResearchCompleted;
8304
- selectFirstElement(): void;
8305
- private handleMap;
8306
8274
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchBarComponent, never>;
8307
8275
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchBarComponent, "igo-search-bar", never, { "searchTypes": { "alias": "searchTypes"; "required": false; "isSignal": true; }; "withDivider": { "alias": "withDivider"; "required": false; "isSignal": true; }; "searchType": { "alias": "searchType"; "required": false; }; "map": { "alias": "map"; "required": false; "isSignal": true; }; "term": { "alias": "term"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pointerSummaryEnabled": { "alias": "pointerSummaryEnabled"; "required": false; "isSignal": true; }; "allowResetSearchSourcesOptions": { "alias": "allowResetSearchSourcesOptions"; "required": false; "isSignal": true; }; "searchResultsGeometryEnabled": { "alias": "searchResultsGeometryEnabled"; "required": false; "isSignal": true; }; "reverseSearchCoordsFormatEnabled": { "alias": "reverseSearchCoordsFormatEnabled"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "termSplitter": { "alias": "termSplitter"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "searchSelector": { "alias": "searchSelector"; "required": false; "isSignal": true; }; "searchSettings": { "alias": "searchSettings"; "required": false; "isSignal": true; }; "forceNA": { "alias": "forceNA"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; }, { "pointerSummaryStatus": "pointerSummaryStatus"; "searchResultsGeometryStatus": "searchResultsGeometryStatus"; "reverseSearchCoordsFormatStatus": "reverseSearchCoordsFormatStatus"; "searchTermChange": "searchTermChange"; "search": "search"; "searchTypeChange": "searchTypeChange"; "clearFeature": "clearFeature"; "searchSettingsChange": "searchSettingsChange"; }, never, never, true, never>;
8308
8276
  }
@@ -8786,7 +8754,6 @@ interface FeatureWithStopProperties {
8786
8754
  type: DirectionsType;
8787
8755
  stopText: string;
8788
8756
  stopColor: string;
8789
- stopOpacity: 1;
8790
8757
  }
8791
8758
  interface Stop {
8792
8759
  id: string;
@@ -9354,13 +9321,11 @@ declare class IgoGeoWorkspaceModule {
9354
9321
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoGeoWorkspaceModule>;
9355
9322
  }
9356
9323
 
9357
- declare class IgoStyleListModule {
9358
- static forRoot(): ModuleWithProviders<IgoStyleListModule>;
9359
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoStyleListModule, never>;
9360
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoStyleListModule, never, never, never>;
9361
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoStyleListModule>;
9324
+ interface StyleModalLayerData extends StyleModalData {
9325
+ strokeWidth?: number;
9326
+ field?: string;
9327
+ radius?: number;
9362
9328
  }
9363
-
9364
9329
  interface StyleModalData {
9365
9330
  fillColor?: string;
9366
9331
  strokeColor?: string;
@@ -9370,7 +9335,7 @@ interface StyleModalData {
9370
9335
  offsetY?: number;
9371
9336
  }
9372
9337
  interface LayerMatDialogData {
9373
- layer: VectorLayer;
9338
+ layer: VectorLayer | VectorTileLayer;
9374
9339
  }
9375
9340
  interface DrawingMatDialogData {
9376
9341
  features: Feature[];
@@ -9408,23 +9373,33 @@ declare class StyleModalLayerComponent implements OnInit {
9408
9373
  private formBuilder;
9409
9374
  data: LayerMatDialogData;
9410
9375
  confirmFlag: _angular_core.ModelSignal<boolean>;
9411
- form: UntypedFormGroup;
9412
9376
  styleModalData: StyleModalData;
9413
- linestringOnly: boolean;
9414
- private initialValues;
9377
+ form: UntypedFormGroup;
9378
+ geometryTypes: Map<Type, number>;
9379
+ featuresProperties: Map<string, number>;
9380
+ mostFrequentGeometryType: Type;
9381
+ showForm: {
9382
+ fill: boolean;
9383
+ stroke: boolean;
9384
+ width: boolean;
9385
+ fields: boolean;
9386
+ radius: boolean;
9387
+ };
9388
+ private initialLayerStyle;
9415
9389
  private defaultValues;
9416
- get layerOlStyle(): olStyle$1;
9390
+ get style(): AnyStyle | undefined;
9391
+ set style(value: AnyStyle);
9392
+ isOlFlatStyleLike(): boolean;
9417
9393
  ngOnInit(): void;
9394
+ private computeInfoFromFeatures;
9418
9395
  private buildForm;
9419
- private buildStyleData;
9420
- private getLayerFillColor;
9421
- private getLayerStrokeColor;
9422
- setLayerFillColor(event: any): void;
9423
- setLayerStrokeColor(event: any): void;
9396
+ private getInputsFromLayerFlatStyle;
9397
+ private setLayerFlatStyle;
9424
9398
  cancel(): void;
9425
9399
  confirm(): void;
9426
9400
  openPicker(): void;
9427
9401
  closePicker(): void;
9402
+ extractPropertyName(expression: unknown): string | undefined;
9428
9403
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleModalLayerComponent, never>;
9429
9404
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleModalLayerComponent, "igo-style-modal-layer", never, { "confirmFlag": { "alias": "confirmFlag"; "required": false; "isSignal": true; }; }, { "confirmFlag": "confirmFlagChange"; }, never, never, true, never>;
9430
9405
  }
@@ -9443,7 +9418,7 @@ declare class StyleModalLayerButtonComponent {
9443
9418
  declare class IgoStyleModule {
9444
9419
  static forRoot(): ModuleWithProviders<IgoStyleModule>;
9445
9420
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoStyleModule, never>;
9446
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoStyleModule, never, [typeof IgoStyleListModule, typeof StyleModalDrawingComponent, typeof StyleModalLayerComponent, typeof StyleModalLayerButtonComponent], [typeof IgoStyleListModule, typeof StyleModalDrawingComponent, typeof StyleModalLayerComponent, typeof StyleModalLayerButtonComponent]>;
9421
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoStyleModule, never, [typeof StyleModalDrawingComponent, typeof StyleModalLayerComponent, typeof StyleModalLayerButtonComponent], [typeof StyleModalDrawingComponent, typeof StyleModalLayerComponent, typeof StyleModalLayerButtonComponent]>;
9447
9422
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoStyleModule>;
9448
9423
  }
9449
9424
 
@@ -10739,7 +10714,7 @@ declare function removeStopFromStore(stopsStore: StopsStore, stop: Stop): void;
10739
10714
  * @param feature OlFeature
10740
10715
  * @returns OL style function
10741
10716
  */
10742
- declare function directionsStyle(feature: OlFeature<OlGeometry> | RenderFeature): olStyle.Style | olStyle.Style[] | undefined;
10717
+ declare function directionsStyle(feature: OlFeature<OlGeometry> | OlRenderFeature): olStyle.Style | olStyle.Style[] | undefined;
10743
10718
  /**
10744
10719
  * Initializes the stops feature store with the provided language service.
10745
10720
  *
@@ -10899,215 +10874,8 @@ interface ImportExportServiceOptions {
10899
10874
  gpxAggregateInComment?: boolean;
10900
10875
  configFileToGeoDBService?: string;
10901
10876
  allowToStoreLayer?: boolean;
10902
- importWithStyle?: boolean;
10903
- }
10904
-
10905
- declare class EsriStyleGenerator {
10906
- _converters: any;
10907
- _renderers: any;
10908
- constructor();
10909
- static _convertPointToPixel(point: any): number;
10910
- static _transformColor(color: any): [number, number, number, number];
10911
- static _getResolutionForScale(scale: any, units: any): number;
10912
- static _convertEsriTS(symbol: any): olStyle.Style;
10913
- static _convertEsriPMS(symbol: any): olStyle.Style;
10914
- static _convertEsriSFS(symbol: any): olStyle.Style;
10915
- static _convertOutline(outline: any): olStyle.Stroke;
10916
- static _convertEsriSLS(symbol: any): olStyle.Style;
10917
- static _transformAngle(angle: any): number | undefined;
10918
- static _convertEsriSMS(symbol: any): olStyle.Style | undefined;
10919
- _convertLabelingInfo(labelingInfo: any, mapUnits: any): any[];
10920
- _renderSimple(renderer: any): () => any[];
10921
- _renderClassBreaks(renderer: any): (feature: any) => any[];
10922
- _renderUniqueValue(renderer: any): (feature: any) => any;
10923
- generateStyle(layerInfo: any, mapUnits: any): any;
10924
- }
10925
-
10926
- declare function olStyleToBasicIgoStyle(layer: olLayerVector<olSourceVector>): {
10927
- fill: {
10928
- color: ol_color.Color | ol_colorlike.ColorLike | ol_colorlike.PatternDescriptor | null;
10929
- };
10930
- stroke: {
10931
- color: ol_color.Color | ol_colorlike.ColorLike;
10932
- width: number;
10933
- };
10934
- circle: {
10935
- fill: {
10936
- color: any;
10937
- };
10938
- stroke: {
10939
- color: any;
10940
- width: number;
10941
- };
10942
- radius: number;
10943
- };
10944
- } | undefined;
10945
-
10946
- /**
10947
- * Generate a style for selected features
10948
- * @param feature The feature to generate the style
10949
- * @returns A olStyle
10950
- */
10951
- declare function getCommonVectorSelectedStyle({ feature, markerColor, markerOpacity, markerOutlineColor, fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWidth }: FeatureCommonVectorStyleOptions): olStyle.Style;
10952
- /**
10953
- * Generate a basic style for features
10954
- * @param feature The feature to generate the style
10955
- * @returns A olStyle
10956
- */
10957
- declare function getCommonVectorStyle({ feature, markerColor, markerOpacity, markerOutlineColor, fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWidth }: FeatureCommonVectorStyleOptions): olStyle.Style;
10958
-
10959
- /**
10960
- * Create a marker style for points
10961
- * @returns Style
10962
- */
10963
- declare function createOverlayMarkerStyle({ text, opacity, markerColor, markerOutlineColor }?: {
10964
- text?: string;
10965
- opacity?: number;
10966
- markerColor?: string | number[];
10967
- markerOutlineColor?: string | number[];
10968
- }): olStyle.Style;
10969
-
10970
- /**
10971
- * Create an overlay style with markers for points and a basic stroke/fill
10972
- * combination for lines and polygons
10973
- * @returns Style function
10974
- */
10975
- declare function createOverlayLayerStyle(): (olFeature: OlFeature<OlGeometry>, resolution: number) => olStyle.Style;
10976
- /**
10977
- * Create a basic style for lines and polygons
10978
- * @returns Style
10979
- */
10980
- declare function createOverlayDefaultStyle({ text, strokeWidth, fillColor, strokeColor }?: {
10981
- text?: string;
10982
- strokeWidth?: number;
10983
- fillColor?: string | number[];
10984
- strokeColor?: string | number[];
10985
- }): olStyle.Style;
10986
-
10987
- declare function featureRandomStyleFunction(): (olFeature: OlFeature<OlGeometry>, resolution: number) => olStyle.Style;
10988
- declare function featureRandomStyle(): olStyle.Style;
10989
- /**
10990
- * Create a default style for the pointer position and it's label summary.
10991
- * @param feature olFeature
10992
- * @returns OL style function
10993
- */
10994
- declare function hoverFeatureMarkerStyle(feature: OlFeature<ol_geom.Geometry>): olStyle.Style[];
10995
- /**
10996
- * Create a default style for the pointer position and it's label summary.
10997
- * @param feature olFeature
10998
- * @returns OL style function
10999
- */
11000
- declare function pointerPositionSummaryMarkerStyle(feature: OlFeature<OlGeometry>): olStyle.Style;
11001
-
11002
- declare class StyleService {
11003
- style: olStyle.Style;
11004
- /**
11005
- * Create a style based on a object as
11006
- * style: {
11007
- * "stroke": {
11008
- * "color": "blue",
11009
- * "lineDash": [10, 5]
11010
- * },
11011
- * "text": {
11012
- * "minScaleDenom": 50000,
11013
- * "maxScaleDenom": 200000,
11014
- * "minResolution": 100,
11015
- * "maxResolution": 400,
11016
- * "attribute": "THE COLUMN NAME TO RETRIEVE THE LABEL VALUE",
11017
- * "text": "MY HARCODED TEXT",
11018
- * "stroke": {
11019
- * "color": "blue",
11020
- * "width": 0.75
11021
- * },
11022
- * "fill": {
11023
- * "color": "black"
11024
- * },
11025
- * "font": "20px sans-serif",
11026
- * "overflow": true,
11027
- * "offsetX": 10,
11028
- * "offsetY": 20,
11029
- * "padding": [2.5, 2.5, 2.5, 2.5]
11030
- * },
11031
- * "width": 5
11032
- * }
11033
- *
11034
- * @param options
11035
- * @param feature feature to apply style on
11036
- * @param resolution current map resolution, to control label resolution range
11037
- * @returns
11038
- */
11039
- createStyle(options: Record<string, any>, feature?: RenderFeature | OlFeature<OlGeometry>, resolution?: number): any;
11040
- parseStyle(key: string, value: any): any;
11041
- private getOlKey;
11042
- private getOlCls;
11043
- createStyleByAttribute(feature: RenderFeature | OlFeature<OlGeometry>, styleByAttribute: StyleByAttribute, resolution: number): any;
11044
- createClusterStyle(feature: RenderFeature | OlFeature<OlGeometry>, resolution: number, clusterParam: ClusterParam | undefined, layerStyle: any): any;
11045
- getLabel(feature: any, labelMatch: any): string;
11046
- private guessTypeFeature;
11047
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleService, never>;
11048
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<StyleService>;
11049
- }
11050
-
11051
- declare class DrawStyleService {
11052
- private fillColor;
11053
- private strokeColor;
11054
- private strokeWidth;
11055
- private labelsAreShown;
11056
- private icon;
11057
- private fontSize;
11058
- private fontStyle;
11059
- private offsetX;
11060
- private offsetY;
11061
- getFillColor(): string;
11062
- setFillColor(fillColor: string): void;
11063
- getStrokeColor(): string;
11064
- setStrokeColor(strokeColor: string): void;
11065
- getStrokeWidth(): number;
11066
- getLabelsAreShown(): boolean;
11067
- toggleLabelsAreShown(): void;
11068
- setIcon(icon: string): void;
11069
- getIcon(): string;
11070
- getFontSize(): string;
11071
- setFontSize(fontSize: string): void;
11072
- getFontStyle(): string;
11073
- setFontStyle(fontStyle: string): void;
11074
- getOffsetX(): number;
11075
- setOffsetX(offsetX: number): void;
11076
- getOffsetY(): number;
11077
- setOffsetY(offsetY: number): void;
11078
- createIndividualElementStyle(feature: any, resolution: number, labelsAreShown: boolean, fontSizeAndStyle: string, fillColor: string, strokeColor: string, offsetX: number, offsetY: number, proj: ProjectionLike, icon?: string): olStyle.Style;
11079
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawStyleService, never>;
11080
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DrawStyleService>;
11081
- }
11082
-
11083
- interface StyleListOptions {
11084
- default?: Record<string, any>;
11085
- path?: string;
11086
- }
11087
-
11088
- declare class StyleListService {
11089
- private styleList;
11090
- private httpClient;
11091
- constructor();
11092
- /**
11093
- * Use to get the data found in styleList file
11094
- */
11095
- getStyleList(key: string): any;
11096
- /**
11097
- * This method loads "[path]" to get all styleList's variables
11098
- */
11099
- load(options: StyleListOptions): void | Promise<unknown>;
11100
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleListService, never>;
11101
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<StyleListService>;
11102
10877
  }
11103
10878
 
11104
- declare const STYLELIST_OPTIONS: InjectionToken<StyleListOptions>;
11105
- declare function provideStyleListOptions(options: StyleListOptions): {
11106
- provide: InjectionToken<StyleListOptions>;
11107
- useValue: StyleListOptions;
11108
- };
11109
- declare function provideStyleListLoader(): _angular_core.EnvironmentProviders;
11110
-
11111
10879
  interface EnvironmentOptions {
11112
10880
  catalog?: CatalogServiceOptions;
11113
10881
  context?: {
@@ -11126,7 +10894,6 @@ interface EnvironmentOptions {
11126
10894
  geolocate?: GeolocationOptions;
11127
10895
  homeExtentButton?: HomeExtentButtonOptions;
11128
10896
  importExport?: ImportExportServiceOptions;
11129
- importWithStyle?: boolean;
11130
10897
  menu?: {
11131
10898
  button: {
11132
10899
  useThemeColor: boolean;
@@ -11135,8 +10902,8 @@ interface EnvironmentOptions {
11135
10902
  };
11136
10903
  optionsApi?: OptionsApiOptions;
11137
10904
  projections?: Projection[];
11138
- queryOverlayStyle?: OverlayStyleOptions;
11139
- searchOverlayStyle?: OverlayStyleOptions;
10905
+ queryOverlayStyle?: ConfigurableStylesOptions;
10906
+ searchOverlayStyle?: ConfigurableStylesOptions;
11140
10907
  searchSources?: {
11141
10908
  showResultsCount?: boolean;
11142
10909
  [key: string]: SearchSourceOptions | StoredQueriesSearchSourceOptions | StoredQueriesReverseSearchSourceOptions | boolean | undefined;
@@ -11288,8 +11055,7 @@ declare class ImportService {
11288
11055
  }
11289
11056
 
11290
11057
  declare function addLayerAndFeaturesToMap(features: Feature[], map: IgoMap, contextUri: string, layerTitle: string, layerService: LayerService, storeToIdb?: boolean): VectorLayer;
11291
- declare function addLayerAndFeaturesStyledToMap(features: Feature[], map: IgoMap, layerTitle: string, styleListService: StyleListService, styleService: StyleService | undefined, layerId?: string, imposedSourceOptions?: any, imposedLayerOptions?: any, zoomTo?: boolean): VectorLayer;
11292
- declare function handleFileImportSuccess(file: File, features: Feature[], map: IgoMap, contextUri: string, messageService: MessageService, layerService: LayerService, confirmDialogService?: ConfirmDialogService, styleListService?: StyleListService, styleService?: StyleService): void;
11058
+ declare function handleFileImportSuccess(file: File, features: Feature[], map: IgoMap, contextUri: string, messageService: MessageService, layerService: LayerService, confirmDialogService?: ConfirmDialogService): void;
11293
11059
  declare function handleFileImportError(file: File, error: Error, messageService: MessageService, sizeMb?: number): void;
11294
11060
  declare function handleInvalidFileImportError(file: File, error: Error, messageService: MessageService): void;
11295
11061
  declare function handleUnreadbleFileImportError(file: File, error: Error, messageService: MessageService): void;
@@ -11429,12 +11195,6 @@ declare enum OverlayAction {
11429
11195
  ZoomIfOutMapExtent = 3
11430
11196
  }
11431
11197
 
11432
- /**
11433
- * Create an overlay layer and it's source
11434
- * @returns Overlay layer
11435
- */
11436
- declare function createOverlayLayer(): VectorLayer;
11437
-
11438
11198
  declare class PrintService {
11439
11199
  private http;
11440
11200
  private config;
@@ -11471,7 +11231,7 @@ declare class PrintService {
11471
11231
  * @param width The width that the legend need to be
11472
11232
  * @return Html code for the legend
11473
11233
  */
11474
- getLayersLegendHtml(map: IgoMap, width: number): Observable<string>;
11234
+ getLayersLegendHtml(map: IgoMap, width: number): Promise<string>;
11475
11235
  getDataImage(url: string): Observable<string>;
11476
11236
  /**
11477
11237
  * Get all the legend in a single image
@@ -11702,6 +11462,92 @@ declare function provideQuerySearchSource(): {
11702
11462
  deps: (typeof ConfigService)[];
11703
11463
  };
11704
11464
 
11465
+ declare class DrawStyleService {
11466
+ private fillColor;
11467
+ private strokeColor;
11468
+ private strokeWidth;
11469
+ private labelsAreShown;
11470
+ private icon;
11471
+ private fontSize;
11472
+ private fontStyle;
11473
+ private offsetX;
11474
+ private offsetY;
11475
+ getFillColor(): string;
11476
+ setFillColor(fillColor: string): void;
11477
+ getStrokeColor(): string;
11478
+ setStrokeColor(strokeColor: string): void;
11479
+ getStrokeWidth(): number;
11480
+ getLabelsAreShown(): boolean;
11481
+ toggleLabelsAreShown(): void;
11482
+ setIcon(icon: string): void;
11483
+ getIcon(): string;
11484
+ getFontSize(): string;
11485
+ setFontSize(fontSize: string): void;
11486
+ getFontStyle(): string;
11487
+ setFontStyle(fontStyle: string): void;
11488
+ getOffsetX(): number;
11489
+ setOffsetX(offsetX: number): void;
11490
+ getOffsetY(): number;
11491
+ setOffsetY(offsetY: number): void;
11492
+ createIndividualElementStyle(feature: any, resolution: number, labelsAreShown: boolean, fontSizeAndStyle: string, fillColor: string, strokeColor: string, offsetX: number, offsetY: number, proj: ProjectionLike, icon?: string): olStyle.Style;
11493
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawStyleService, never>;
11494
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DrawStyleService>;
11495
+ }
11496
+
11497
+ interface GeostylerLayerStyle extends EngineLayerStyle<Style$1> {
11498
+ type: 'Geostyler';
11499
+ style: Style$1;
11500
+ }
11501
+
11502
+ declare function withGeostyler(): StyleEngineFeature<'Geostyler'>;
11503
+
11504
+ declare class GeostylerService implements StyleEngine<GeostylerLayerStyle> {
11505
+ readonly type = "Geostyler";
11506
+ private readonly olParser;
11507
+ supports(options: EngineLayerStyle): options is GeostylerLayerStyle;
11508
+ getStyle(options: GeostylerLayerStyle): Promise<AnyOlStyle>;
11509
+ getLegend(options: GeostylerLayerStyle): Promise<string | undefined>;
11510
+ private toLegendDescriptors;
11511
+ private handleWarningsAndErrors;
11512
+ private computeLegendHeight;
11513
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GeostylerService, never>;
11514
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GeostylerService>;
11515
+ }
11516
+
11517
+ interface MapboxUrlResponse {
11518
+ sprite?: string | unknown;
11519
+ }
11520
+ interface MapboxLayerStyle extends EngineLayerStyle<MapboxStyle> {
11521
+ type: 'Mapbox';
11522
+ style: MapboxStyle;
11523
+ }
11524
+ interface MapboxStyle {
11525
+ url: string;
11526
+ source: string;
11527
+ }
11528
+
11529
+ declare function withMapbox(): StyleEngineFeature<'Mapbox'>;
11530
+
11531
+ declare class MapboxService implements StyleEngine<MapboxLayerStyle> {
11532
+ private http;
11533
+ private documentRef;
11534
+ readonly type = "Mapbox";
11535
+ supports(options: EngineLayerStyle): options is MapboxLayerStyle;
11536
+ getStyle(options: MapboxLayerStyle, ol: olLayerVectorTile | olLayerVector): Promise<AnyOlStyle>;
11537
+ getLegend(_options: MapboxLayerStyle): Promise<string | undefined>;
11538
+ private getResolvedStyle$;
11539
+ private getSpriteJson$;
11540
+ private normalizeSpriteUrl;
11541
+ private toAbsoluteUrl;
11542
+ private getProtocolFromBase;
11543
+ private getBaseHref;
11544
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapboxService, never>;
11545
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MapboxService>;
11546
+ }
11547
+
11548
+ declare const STYLE_ENGINES: InjectionToken<StyleEngine<_igo2_geo.EngineLayerStyle<unknown>>[]>;
11549
+ declare function provideStyle(...features: StyleEngineFeature<StyleEngineKind>[]): EnvironmentProviders;
11550
+
11705
11551
  declare class GoogleLinks {
11706
11552
  static getGoogleMapsCoordLink(lon: number, lat: number): string;
11707
11553
  static getGoogleStreetViewLink(lon: number, lat: number): string;
@@ -11927,7 +11773,6 @@ declare class EditionWorkspaceService {
11927
11773
  private messageService;
11928
11774
  private http;
11929
11775
  private dialog;
11930
- private styleService;
11931
11776
  authInterceptor?: AuthInterceptor | undefined;
11932
11777
  ws$: BehaviorSubject<string | undefined>;
11933
11778
  adding$: BehaviorSubject<boolean>;
@@ -12052,5 +11897,5 @@ declare function provideInteractiveSelectionFormWidget(): {
12052
11897
  deps: (typeof WidgetService)[];
12053
11898
  };
12054
11899
 
12055
- export { AddCatalogDialogComponent, ArcGISRestCapabilitiesLayerTypes, ArcGISRestDataSource, BaseLayersSwitcherComponent, CATALOG_DIRECTIVES, CATALOG_LIBRARY_DIRECTIVES, CadastreSearchSource, CapabilitiesService, CartoDataSource, Catalog, CatalogBrowserComponent, CatalogItemType, CatalogLibraryComponent, CatalogService, ClusterDataSource, ConfigFileToGeoDBService, ConfirmationPopupComponent, CoordinatesReverseSearchSource, CoordinatesReverseSearchSourceFactory, CoordinatesSearchResultFormatter, CoordinatesUnit, CsvSeparator, DDtoDMS, DataService, DataSource, DataSourceService, DirectionRelativePositionType, DirectionSourceKind, DirectionsButtonsComponent, DirectionsComponent, DirectionsFormat, DirectionsInputsComponent, DirectionsResultsComponent, DirectionsService, DirectionsSource, DirectionsType, DownloadButtonComponent, DownloadService, DrawComponent, DrawControl, DrawIconService, DrawStyleService, DropGeoFileDirective, EditionWorkspace, EditionWorkspaceService, EpsgSelectorModalComponent, EsriStyleGenerator, EventRefresh, ExportButtonComponent, ExportError, ExportFormat, ExportFormatLegacy, ExportInvalidFileError, ExportNothingToExportError, ExportService, FEATURE, FEATURE_DETAILS_DIRECTIVES, FEATURE_DIRECTIVES, FILTER_DIRECTIVES, FeatureDataSource, FeatureDetailsComponent, FeatureDetailsDirective, FeatureFormComponent, FeatureMotion, FeatureStore, FeatureStoreInMapExtentStrategy, FeatureStoreInMapResolutionStrategy, FeatureStoreLoadingLayerStrategy, FeatureStoreLoadingStrategy, FeatureStoreSearchIndexStrategy, FeatureStoreSelectionStrategy, FeatureWorkspace, FeatureWorkspaceService, FilterableDataSourcePipe, GEOMETRY_FORM_FIELD_DIRECTIVES, GeoDB, GeoNetworkService, GeoPropertiesStrategy, GeolocateButtonComponent, GeolocationOverlayType, GeometryFormFieldComponent, GeometryFormFieldInputComponent, GeometrySliceError, GeometrySliceLineStringError, GeometrySliceMultiPolygonError, GeometrySliceTooManyIntersectionError, GeometryType, GetCapabilitiesParams, GoogleLinks, HomeExtentButtonComponent, HoverFeatureDirective, IChercheReverseSearchSource, IChercheSearchResultFormatter, IChercheSearchSource, ID_GROUP_PREFIX, ILayerSearchResultFormatter, ILayerSearchSource, IMPORT_EXPORT_DIRECTIVES, IgoCatalogBrowserModule, IgoCatalogLibraryModule, IgoCatalogModule, IgoConfirmationPopupModule, IgoDirectionsModule, IgoDownloadModule, IgoDrawModule, IgoDrawingToolModule, IgoFeatureDetailsModule, IgoFeatureFormModule, IgoFeatureModule, IgoFilterModule, IgoGeoModule, IgoGeoWorkspaceModule, IgoGeometryFormFieldModule, IgoGeometryModule, IgoHttpParameterCodec, IgoImportExportModule, IgoLayerModule, IgoMap, IgoMapModule, IgoMeasureModule, IgoMeasurerModule, IgoMetadataModule, IgoOgcFilterModule, IgoPrintModule, IgoQueryModule, IgoSearchBarModule, IgoSearchModule, IgoSearchResultsModule, IgoSearchSelectorModule, IgoSearchSettingsModule, IgoStyleListModule, IgoStyleModule, IgoToastModule, IgoWktModule, IgoWorkspaceSelectorModule, IgoWorkspaceUpdatorModule, ImageArcGISRestDataSource, ImageLayer, ImageWatcher, ImportError, ImportExportComponent, ImportInvalidFileError, ImportNothingToImportError, ImportOgreServerError, ImportSRSError, ImportService, ImportSizeError, ImportUnreadableFileError, InfoSectionComponent, InsertSourceInsertDBEnum, InteractiveSelectionFormWidget, LAYER, LAYER_DIRECTIVES, LabelType, LaneType, Layer, LayerBase, LayerController, LayerDB, LayerGroup, LayerGroupBase, LayerGroupComponent, LayerItemComponent, LayerLegendComponent, LayerLegendItemComponent, LayerLegendListBindingDirective, LayerLegendListComponent, LayerListComponent, LayerListControlsEnum, LayerListToolComponent, LayerListToolService, LayerSearchComponent, LayerService, LayerUnavailableComponent, LayerUnavailableListComponent, LayerViewerBottomActionsComponent, LayerViewerComponent, LayerVisibilityButtonComponent, Linked, LinkedProperties, MAP_DIRECTIVES, MEASURER_DIRECTIVES, MEASURE_UNIT_AUTO, METADATA_DIRECTIVES, MVTDataSource, ManeuverModifier, ManeuverType, MapBase, MapBrowserComponent, MapCenterComponent, MapController, MapGeolocationController, MapOfflineDirective, MapService, MapViewAction, MapViewController, MeasureAreaUnit, MeasureAreaUnitAbbreviation, MeasureFormatPipe, MeasureLengthUnit, MeasureLengthUnitAbbreviation, MeasureType, MeasurerComponent, MenuButtonComponent, MetadataAbstractComponent, MetadataButtonComponent, MetadataService, MiniBaseMapComponent, ModifyControl, NominatimSearchSource, OGCFilterService, OSMDataSource, OfflineButtonComponent, OgcFilterButtonComponent, OgcFilterComponent, OgcFilterFormComponent, OgcFilterOperator, OgcFilterOperatorType, OgcFilterSelectionComponent, OgcFilterTimeComponent, OgcFilterTimeSliderComponent, OgcFilterWidget, OgcFilterWriter, OgcFilterableFormComponent, OgcFilterableItemComponent, OgcFilterableListBindingDirective, OgcFilterableListComponent, OgcSelectorFields, OlDragSelectInteraction, OptionsApiService, OptionsService, OsmLinks, OsrmDirectionsSource, Overlay, OverlayAction, PointerPositionDirective, PrintComponent, PrintFormComponent, PrintLegendPosition, PrintOrientation, PrintOutputFormat, PrintPaperFormat, PrintResolution, PrintSaveImageFormat, PrintService, ProjectionService, PropertyTypeDetectorService, ProposalType, QueryDirective, QueryFormat, QueryFormatMimeType, QueryHtmlTarget, QuerySearchSource, QueryService, RADIUS_NAME, RotationButtonComponent, RoutesFeatureStore, SEARCH_DIRECTIVES, SEARCH_RESULTS_DIRECTIVES, SEARCH_TYPES, STYLELIST_OPTIONS, SearchBarComponent, SearchPointerSummaryDirective, SearchResultAddButtonComponent, SearchResultMode, SearchResultsComponent, SearchSelectorComponent, SearchService, SearchSettingsComponent, SearchSource, SearchSourceKind, SearchSourceService, SliceControl, SourceDirectionsType, SpatialFilterItemComponent, SpatialFilterItemType, SpatialFilterListComponent, SpatialFilterQueryType, SpatialFilterService, SpatialFilterType, SpatialFilterTypeComponent, StepsFeatureStore, StopsFeatureStore, StopsStore, StoredQueriesReverseSearchSource, StoredQueriesSearchSource, StyleListService, StyleModalDrawingComponent, StyleModalLayerButtonComponent, StyleModalLayerComponent, StyleService, SwipeControlComponent, TileArcGISRestDataSource, TileDebugDataSource, TileLayer, TileWatcher, TimeFilterButtonComponent, TimeFilterFormComponent, TimeFilterItemComponent, TimeFilterListBindingDirective, TimeFilterListComponent, TimeFilterService, TimeFilterStyle, TimeFilterType, ToastComponent, TooltipType, TrackFeatureButtonComponent, TypeCapabilities, TypeCatalog, VectorLayer, VectorTileLayer, VectorWatcher, WFSDataSource, WFSService, WMSDataSource, WMTSDataSource, WakeLockButtonComponent, WebSocketDataSource, WfsWorkspace, WfsWorkspaceService, WktService, WorkspaceSearchSource, WorkspaceSelectorDirective, WorkspaceUpdatorDirective, XYZDataSource, ZoomButtonComponent, addLayerAndFeaturesStyledToMap, addLayerAndFeaturesToMap, addLinearRingToOlPolygon, addOrRemoveLayer, addRouteToRoutesFeatureStore, addStopToStopsFeatureStore, addStopToStore, bufferOlGeometry, buildUrl, cadastreSearchSourceFactory, checkWfsParams, clearOlGeometryMidpoints, computeBestAreaUnit, computeBestLengthUnit, computeLayerTitleFromFile, computeMVTOptionsOnHover, computeOlFeatureExtent, computeOlFeaturesDiff, computeOlFeaturesExtent, computeProjectionsConstraints, computeRelativePosition, computeStopsPosition, computeTermSimilarity, convertDDToDMS, createDefaultTileGrid, createDrawHoleInteractionStyle, createDrawInteractionStyle, createFilterInMapExtentOrResolutionStrategy, createInteractionStyle, createMeasureInteractionStyle, createMeasureLayerStyle, createOlTooltipAtPoint, createOlTooltipDrawAtPoint, createOverlayDefaultStyle, createOverlayLayer, createOverlayLayerStyle, createOverlayMarkerStyle, createTableTemplate, ctrlKeyDown, defaultCoordinatesSearchResultFormatterFactory, defaultEpsg, defaultFieldNameGeometry, defaultIChercheSearchResultFormatterFactory, defaultMaxFeatures, defaultWfsVersion, detectFileEPSG, directionsStyle, doesOlGeometryIntersects, entitiesToRowData, exportToCSV, featureFromOl, featureRandomStyle, featureRandomStyleFunction, featureToOl, featureToSearchResult, featuresAreOutOfView, featuresAreTooDeepInView, findDiff, findLayerByLinkId, findParentId, formatDistance, formatDuration, formatMeasure, formatScale, formatStep, formatWFSQueryString, generateArcgisRestIdFromSourceOptions, generateFeatureIdFromSourceOptions, generateId, generateIdFromSourceOptions, generateWMSIdFromSourceOptions, generateWMTSIdFromSourceOptions, generateWfsIdFromSourceOptions, generateXYZIdFromSourceOptions, getAllChildLayersByDeletion, getAllChildLayersByProperty, getCommonVectorSelectedStyle, getCommonVectorStyle, getFileExtension, getFilterBadge, getFormatFromOptions, getGeoServiceAction, getLayerOptionIdentifier, getLayersByDeletion, getLayersLegends, getLinkedLayersOptions, getMousePositionFromOlGeometryEvent, getOlTooltipAtCenter, getOlTooltipsAtMidpoints, getResolutionFromScale, getRootParentByDeletion, getRootParentByProperty, getRowsInMapExtent, getSaveableOgcParams, getScaleFromResolution, getSelectedOnly, getTooltipsOfOlGeometry, gmlRegex, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleLayerPropertyChange, handleNothingToExportError, handleNothingToImportError, handleOgreServerImportError, handleSRSImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hideOlFeature, hoverFeatureMarkerStyle, ichercheReverseSearchSourceFactory, ichercheSearchSourceFactory, ilayerSearchResultFormatterFactory, ilayerSearchSourceFactory, initRoutesFeatureStore, initStepsFeatureStore, initStopsFeatureStore, interactiveSelectionFormWidgetFactory, isBaseLayer, isBaseLayerLinked, isCsvExport, isLayerGroup, isLayerGroupOptions, isLayerItem, isLayerItemOptions, isLayerLinked, isLayerLinkedOptions, isLayerLinkedTogether, isLinkMaster, isSaveableLayer, jsonRegex, layerFeatureIsQueryable, layerIsQueryable, lonLatConversion, mapExtentStrategyActiveToolTip, measureOlGeometry, measureOlGeometryArea, measureOlGeometryLength, mergeLayersOptions, metersToFeet, metersToKilometers, metersToMiles, metersToUnit, moveToOlFeatures, mtmZoneFromLonLat, noElementSelected, nominatimSearchSourceFactory, ogcFilterWidgetFactory, olLayerFeatureIsQueryable, olLayerIsQueryable, olStyleToBasicIgoStyle, optionsApiFactory, osrmDirectionsSourcesFactory, pointerPositionSummaryMarkerStyle, provideCadastreSearchSource, provideCoordinatesReverseSearchSource, provideDefaultCoordinatesSearchResultFormatter, provideDefaultIChercheSearchResultFormatter, provideDirection, provideIChercheReverseSearchSource, provideIChercheSearchSource, provideILayerSearchResultFormatter, provideILayerSearchSource, provideInteractiveSelectionFormWidget, provideNominatimSearchSource, provideOffline, provideOgcFilterWidget, provideOptionsApi, provideOsrmDirectionsSource, provideQuerySearchSource, provideSearch, provideSearchSourceService, provideStoredQueriesReverseSearchSource, provideStoredQueriesSearchSource, provideStyleListLoader, provideStyleListOptions, provideWorkspaceSearchSource, querySearchSourceFactory, removeStopFromStore, renderFeatureFromOl, roundCoordTo, roundCoordToString, scaleExtent, searchSourceServiceFactory, setRowsInMapExtent, setSelectedOnly, sliceOlGeometry, sliceOlPolygon, sortLayersByZindex, sourceCanReverseSearch, sourceCanReverseSearchAsSummary, sourceCanSearch, squareMetersToAcres, squareMetersToHectares, squareMetersToSquareFeet, squareMetersToSquareKilometers, squareMetersToSquareMiles, squareMetersToUnit, standardizeUrl, storedqueriesReverseSearchSourceFactory, storedqueriesSearchSourceFactory, stringToLonLat, translateManeuverBearing, translateManeuverModifier, tryAddLoadingStrategy, tryAddSelectionStrategy, tryBindStoreLayer, updateOlGeometryCenter, updateOlGeometryMidpoints, updateOlTooltipAtCenter, updateOlTooltipDrawAtCenter, updateOlTooltipsAtMidpoints, updateOlTooltipsDrawAtMidpoints, updateStoreSorting, utmZoneFromLonLat, viewStatesAreEqual, withCadastreSource, withCoordinatesReverseSource, withIChercheReverseSource, withIChercheSource, withILayerSource, withNominatimSource, withOsrmSource, withStoredQueriesReverseSource, withStoredQueriesSource, withWorkspaceSource, workspaceSearchSourceFactory, zoneMtm, zoneUtm };
12056
- export type { AddedChangeEmitter, AddedChangeGroupEmitter, AnyBaseOgcFilterOptions, AnyDataSource, AnyDataSourceOptions, AnyDataSourceOptionsWithParams, AnyEventName, AnyExportFormat, AnyLayer, AnyLayerBase, AnyLayerItemOptions, AnyLayerOptions, AnyPropertyOptions, AnyWorkspace, ArcGISRestCapabilitiesLayer, ArcGISRestDataSourceOptions, ArcGISRestDataSourceOptionsParams, ArcGISRestImageDataSourceOptions, ArcGISSymbol, BaseDirectionsSourceOptionsProfile, BaseDirectionsSourceOptionsProfileAuthorization, Buffer, CartoDataSourceOptions, CatalogItem, CatalogItemGroup, CatalogItemLayer, CatalogItemState, CatalogQueryFormatTypes, CatalogServiceOptions, ClusterDataSourceOptions, ClusterParam, ClusterRange, CollectCatalogItemsFn, CommonVectorStyleOptions, CoordinatesData, CoordinatesResponse, CoordinatesReverseData, CoordinatesReverseResponse, CreateStyle, DataSourceOptions, DatasToIDB, DatasourceEvent, DialogData, DirectionOptions, DirectionSourceFeature, Directions, DirectionsGeometry, DirectionsSourceOptions, DownloadDataSourceOptions, DownloadOptions, Draw, DrawControlOptions, DrawOptions, DrawingMatDialogData, DrawingStyle, EditionOptions, EditionWorkspaceOptions, EnvironmentOptions, ExportOgreFormat, ExportOptions, Feature, FeatureCommonVectorStyleOptions, FeatureDataSourceOptions, FeatureFormSubmitEvent, FeatureGeometry, FeatureMeta, FeatureStoreDrawStrategyOptions, FeatureStoreInMapExtentStrategyOptions, FeatureStoreInMapResolutionStrategyOptions, FeatureStoreLoadingLayerStrategyOptions, FeatureStoreLoadingStrategyOptions, FeatureStoreMeasureStrategyOptions, FeatureStoreOptions, FeatureStorePropertyTypeStrategyOptions, FeatureStoreSearchIndexStrategyOptions, FeatureStoreSelectionStrategyOptions, FeatureStoreStrategyOptions, FeatureWithDirections, FeatureWithDirectionsProperties, FeatureWithDraw, FeatureWithDrawProperties, FeatureWithMeasure, FeatureWithMeasureProperties, FeatureWithStep, FeatureWithStepProperties, FeatureWithStop, FeatureWithStopProperties, FeatureWorkspaceOptions, ForcedProperty, FormattedStep, GeoDBData, GeoDataToIDB, GeoJSONGeometry, GeoServiceDefinition, GeoWorkspaceOptions, GeoWorkspaceQueryOptions, GeolocationBuffer, GeolocationOptions, GeometryCollection, GeometryFormFieldInputs, HomeExtentButtonOptions, IArcgisVectorTileServerCapabilities, ICatalog, IChercheData, IChercheResponse, IChercheReverseData, IChercheReverseResponse, ICompositeCatalog, ILayerData, ILayerDataHighlight, ILayerDataSource, ILayerItemResponse, ILayerSearchSourceOptions, ILayerServiceResponse, IOfflineOptions, IOgcFiltersOptionSaveable, IOgcInterfaceFilterOptions, ISearchSourceParams, IdbInfo, IgoDomSelector, IgoLabel, IgoLogicalArrayOptions, IgoOgcFilterObject, IgoOgcSelector, IgoStep, IgoStyle, IgoStyleBase, ImageLayerOptions, ImportExportServiceOptions, InputProjections, ItemStyleOptions, LayerConfig, LayerDBData, LayerGroupOptions, LayerId, LayerListControlsOptions, LayerMatDialogData, LayerOptions, LayerOptionsBase, LayerSecurityOptions, LayerToolMode, LayerType, LayerViewerOptions, LayersLink, LayersLinkProperties, Legend, LegendMapViewOptions, LegendOptions, MVTDataSourceOptions, MapAttributionOptions, MapControlsOptions, MapExtent, MapGeolocationControllerOptions, MapGeolocationState, MapOptions, MapScaleLineOptions, MapViewControllerOptions, MapViewOptions, MapViewState, MapboxStyle, Measure, MeasurerDialogData, MetadataLayerOptions, MetadataOptions, ModifyControlOptions, NominatimData, OSMDataSourceOptions, OgcAutocomplete, OgcCheckbox, OgcFilter, OgcFilterAttributeOptions, OgcFilterConditionsArrayOptions, OgcFilterDuringOptions, OgcFilterEqualToOptions, OgcFilterGreaterLessOptions, OgcFilterIsBetweenOptions, OgcFilterIsLikeOptions, OgcFilterIsNullOptions, OgcFilterSpatialOptions, OgcFilterableDataSource, OgcFilterableDataSourceOptions, OgcFiltersOptions, OgcInterfaceFilterOptions, OgcPushButton, OgcRadioButton, OgcSelect, OgcSelectorBundle, OptionsApiOptions, OsrmApiResponse, OsrmDirectionsSourceOptions, OsrmIntersection, OsrmLane, OsrmRawRoute, OsrmRouteLeg, OsrmRouteStep, OsrmStepManeuver, OsrmWaypoint, OutputLayerLegend, OverlayStyleOptions, PreloadOptions, PrintOptions, Projection, ProjectionsLimitationsOptions, QueryOptions, QueryUrlData, QueryableDataSource, QueryableDataSourceOptions, RelationOptions, Research, ResponseType, ReverseSearch, ReverseSearchOptions, SearchIndexOptions, SearchMeta, SearchResult, SearchSourceFeature, SearchSourceOptions, SearchSourceSettings, SelectorGroup, SettingOptions, SimpleGetOptions, SliceControlOptions, SliderOptionsInterface, SourceFieldsOptionsParams, SourceFieldsValidationParams, SourceProposal, SpatialFilterOptions, SpatialFilterThematic, Stop, StoreAndDrawControl, StoredQueriesData, StoredQueriesFields, StoredQueriesResponse, StoredQueriesReverseData, StoredQueriesReverseResponse, StoredQueriesReverseSearchSourceOptions, StoredQueriesSearchSourceOptions, StyleByAttribute, StyleListOptions, StyleModalData, TextPdfSizeAndMargin, TextSearch, TextSearchOptions, TileArcGISRestDataSourceOptions, TileDebugDataSourceOptions, TileGridOptions, TileLayerOptions, TimeFilterOptions, TimeFilterableDataSource, TimeFilterableDataSourceOptions, TooltipContent, TypeCapabilitiesStrings, TypeCatalogStrings, VectorAnimation, VectorLayerOptions, VectorTileLayerOptions, ViewerLegendOptions, WFSDataSourceOptions, WFSDataSourceOptionsParams, WFSWriteGetFeatureOptions, WMSDataSourceOptions, WMSDataSourceOptionsParams, WMTSDataSourceOptions, WebSocketDataSourceOptions, WfsWorkspaceOptions, WmsCapabilityLayer, WmsDimension, WmsStyle, WmtsCapabilities, WmtsCapabilityLayer, WorkspaceData, XYZDataSourceOptions, ZindexPropertyOptions };
11900
+ export { AddCatalogDialogComponent, ArcGISRestCapabilitiesLayerTypes, ArcGISRestDataSource, BaseLayersSwitcherComponent, CATALOG_DIRECTIVES, CATALOG_LIBRARY_DIRECTIVES, CadastreSearchSource, CapabilitiesService, CartoDataSource, Catalog, CatalogBrowserComponent, CatalogItemType, CatalogLibraryComponent, CatalogService, ClusterDataSource, ConfigFileToGeoDBService, ConfirmationPopupComponent, CoordinatesReverseSearchSource, CoordinatesReverseSearchSourceFactory, CoordinatesSearchResultFormatter, CoordinatesUnit, CsvSeparator, DDtoDMS, DataService, DataSource, DataSourceService, DirectionRelativePositionType, DirectionSourceKind, DirectionsButtonsComponent, DirectionsComponent, DirectionsFormat, DirectionsInputsComponent, DirectionsResultsComponent, DirectionsService, DirectionsSource, DirectionsType, DownloadButtonComponent, DownloadService, DrawComponent, DrawControl, DrawIconService, DrawStyleService, DropGeoFileDirective, EditionWorkspace, EditionWorkspaceService, EpsgSelectorModalComponent, EsriStyleGenerator, EventRefresh, ExportButtonComponent, ExportError, ExportFormat, ExportFormatLegacy, ExportInvalidFileError, ExportNothingToExportError, ExportService, FEATURE, FEATURE_DETAILS_DIRECTIVES, FEATURE_DIRECTIVES, FILTER_DIRECTIVES, FeatureDataSource, FeatureDetailsComponent, FeatureDetailsDirective, FeatureFormComponent, FeatureMotion, FeatureStore, FeatureStoreInMapExtentStrategy, FeatureStoreInMapResolutionStrategy, FeatureStoreLoadingLayerStrategy, FeatureStoreLoadingStrategy, FeatureStoreSearchIndexStrategy, FeatureStoreSelectionStrategy, FeatureWorkspace, FeatureWorkspaceService, FilterableDataSourcePipe, FontType, GEOMETRY_FORM_FIELD_DIRECTIVES, GeoDB, GeoNetworkService, GeoPropertiesStrategy, GeolocateButtonComponent, GeolocationOverlayType, GeometryFormFieldComponent, GeometryFormFieldInputComponent, GeometrySliceError, GeometrySliceLineStringError, GeometrySliceMultiPolygonError, GeometrySliceTooManyIntersectionError, GeometryType, GeostylerService, GetCapabilitiesParams, GoogleLinks, HomeExtentButtonComponent, HoverFeatureDirective, IChercheReverseSearchSource, IChercheSearchResultFormatter, IChercheSearchSource, ID_GROUP_PREFIX, ILayerSearchResultFormatter, ILayerSearchSource, IMPORT_EXPORT_DIRECTIVES, IgoCatalogBrowserModule, IgoCatalogLibraryModule, IgoCatalogModule, IgoConfirmationPopupModule, IgoDirectionsModule, IgoDownloadModule, IgoDrawModule, IgoDrawingToolModule, IgoFeatureDetailsModule, IgoFeatureFormModule, IgoFeatureModule, IgoFilterModule, IgoGeoModule, IgoGeoWorkspaceModule, IgoGeometryFormFieldModule, IgoGeometryModule, IgoHttpParameterCodec, IgoImportExportModule, IgoLayerModule, IgoMap, IgoMapModule, IgoMeasureModule, IgoMeasurerModule, IgoMetadataModule, IgoOgcFilterModule, IgoPrintModule, IgoQueryModule, IgoSearchBarModule, IgoSearchModule, IgoSearchResultsModule, IgoSearchSelectorModule, IgoSearchSettingsModule, IgoStyleModule, IgoToastModule, IgoWktModule, IgoWorkspaceSelectorModule, IgoWorkspaceUpdatorModule, ImageArcGISRestDataSource, ImageLayer, ImageWatcher, ImportError, ImportExportComponent, ImportInvalidFileError, ImportNothingToImportError, ImportOgreServerError, ImportSRSError, ImportService, ImportSizeError, ImportUnreadableFileError, InfoSectionComponent, InsertSourceInsertDBEnum, InteractiveSelectionFormWidget, LAYER, LAYER_DIRECTIVES, LabelType, LaneType, Layer, LayerBase, LayerController, LayerDB, LayerGroup, LayerGroupBase, LayerGroupComponent, LayerItemComponent, LayerLegendComponent, LayerLegendItemComponent, LayerLegendListBindingDirective, LayerLegendListComponent, LayerListComponent, LayerListControlsEnum, LayerListToolComponent, LayerListToolService, LayerSearchComponent, LayerService, LayerUnavailableComponent, LayerUnavailableListComponent, LayerViewerBottomActionsComponent, LayerViewerComponent, LayerVisibilityButtonComponent, Linked, LinkedProperties, MAP_DIRECTIVES, MEASURER_DIRECTIVES, MEASURE_UNIT_AUTO, METADATA_DIRECTIVES, MVTDataSource, ManeuverModifier, ManeuverType, MapBase, MapBrowserComponent, MapCenterComponent, MapController, MapGeolocationController, MapOfflineDirective, MapService, MapViewAction, MapViewController, MapboxService, MeasureAreaUnit, MeasureAreaUnitAbbreviation, MeasureFormatPipe, MeasureLengthUnit, MeasureLengthUnitAbbreviation, MeasureType, MeasurerComponent, MenuButtonComponent, MetadataAbstractComponent, MetadataButtonComponent, MetadataService, MiniBaseMapComponent, ModifyControl, NominatimSearchSource, OGCFilterService, OSMDataSource, OfflineButtonComponent, OgcFilterButtonComponent, OgcFilterComponent, OgcFilterFormComponent, OgcFilterOperator, OgcFilterOperatorType, OgcFilterSelectionComponent, OgcFilterTimeComponent, OgcFilterTimeSliderComponent, OgcFilterWidget, OgcFilterWriter, OgcFilterableFormComponent, OgcFilterableItemComponent, OgcFilterableListBindingDirective, OgcFilterableListComponent, OgcSelectorFields, OlDragSelectInteraction, OptionsApiService, OptionsService, OsmLinks, OsrmDirectionsSource, Overlay, OverlayAction, PointerPositionDirective, PrintComponent, PrintFormComponent, PrintLegendPosition, PrintOrientation, PrintOutputFormat, PrintPaperFormat, PrintResolution, PrintSaveImageFormat, PrintService, ProjectionService, PropertyTypeDetectorService, ProposalType, QueryDirective, QueryFormat, QueryFormatMimeType, QueryHtmlTarget, QuerySearchSource, QueryService, RADIUS_NAME, RotationButtonComponent, RoutesFeatureStore, SEARCH_DIRECTIVES, SEARCH_RESULTS_DIRECTIVES, SEARCH_TYPES, STYLE_ENGINES, SearchBarComponent, SearchPointerSummaryDirective, SearchResultAddButtonComponent, SearchResultMode, SearchResultsComponent, SearchSelectorComponent, SearchService, SearchSettingsComponent, SearchSource, SearchSourceKind, SearchSourceService, SliceControl, SourceDirectionsType, SpatialFilterItemComponent, SpatialFilterItemType, SpatialFilterListComponent, SpatialFilterQueryType, SpatialFilterService, SpatialFilterType, SpatialFilterTypeComponent, StepsFeatureStore, StopsFeatureStore, StopsStore, StoredQueriesReverseSearchSource, StoredQueriesSearchSource, StyleEngineKind, StyleModalDrawingComponent, StyleModalLayerButtonComponent, StyleModalLayerComponent, StyleService, SwipeControlComponent, TileArcGISRestDataSource, TileDebugDataSource, TileLayer, TileWatcher, TimeFilterButtonComponent, TimeFilterFormComponent, TimeFilterItemComponent, TimeFilterListBindingDirective, TimeFilterListComponent, TimeFilterService, TimeFilterStyle, TimeFilterType, ToastComponent, TooltipType, TrackFeatureButtonComponent, TypeCapabilities, TypeCatalog, VectorLayer, VectorTileLayer, VectorWatcher, WFSDataSource, WFSService, WMSDataSource, WMTSDataSource, WakeLockButtonComponent, WebSocketDataSource, WfsWorkspace, WfsWorkspaceService, WktService, WorkspaceSearchSource, WorkspaceSelectorDirective, WorkspaceUpdatorDirective, XYZDataSource, ZoomButtonComponent, addLayerAndFeaturesToMap, addLinearRingToOlPolygon, addOrRemoveLayer, addRouteToRoutesFeatureStore, addStopToStopsFeatureStore, addStopToStore, baseOlStyle, bufferOlGeometry, buildUrl, cadastreSearchSourceFactory, checkWfsParams, clearOlGeometryMidpoints, clusterOlStyleFunction, computeBestAreaUnit, computeBestLengthUnit, computeLayerTitleFromFile, computeOlFeatureExtent, computeOlFeaturesDiff, computeOlFeaturesExtent, computeProjectionsConstraints, computeRelativePosition, computeStopsPosition, computeTermSimilarity, convertDDToDMS, createDefaultTileGrid, createDrawHoleInteractionStyle, createDrawInteractionStyle, createFilterInMapExtentOrResolutionStrategy, createInteractionStyle, createMeasureInteractionStyle, createMeasureLayerStyle, createOlTooltipAtPoint, createOlTooltipDrawAtPoint, createTableTemplate, ctrlKeyDown, defaultCoordinatesSearchResultFormatterFactory, defaultEpsg, defaultFieldNameGeometry, defaultIChercheSearchResultFormatterFactory, defaultMaxFeatures, defaultWfsVersion, detectFileEPSG, directionsStyle, doesOlGeometryIntersects, entitiesToRowData, exportToCSV, featureFromOl, featureToOl, featureToSearchResult, featuresAreOutOfView, featuresAreTooDeepInView, findDiff, findLayerByLinkId, findParentId, formatDistance, formatDuration, formatMeasure, formatScale, formatStep, formatWFSQueryString, generateArcgisRestIdFromSourceOptions, generateFeatureIdFromSourceOptions, generateId, generateIdFromSourceOptions, generateWMSIdFromSourceOptions, generateWMTSIdFromSourceOptions, generateWfsIdFromSourceOptions, generateXYZIdFromSourceOptions, getAllChildLayersByDeletion, getAllChildLayersByProperty, getFileExtension, getFilterBadge, getFormatFromOptions, getGeoServiceAction, getLayerOptionIdentifier, getLayersByDeletion, getLayersLegends, getLinkedLayersOptions, getMousePositionFromOlGeometryEvent, getOlTooltipAtCenter, getOlTooltipsAtMidpoints, getResolutionFromScale, getRootParentByDeletion, getRootParentByProperty, getRowsInMapExtent, getSaveableOgcParams, getScaleFromResolution, getSelectedOnly, getTooltipsOfOlGeometry, gmlRegex, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleLayerPropertyChange, handleNothingToExportError, handleNothingToImportError, handleOgreServerImportError, handleSRSImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hideOlFeature, ichercheReverseSearchSourceFactory, ichercheSearchSourceFactory, ilayerSearchResultFormatterFactory, ilayerSearchSourceFactory, initRoutesFeatureStore, initStepsFeatureStore, initStopsFeatureStore, interactiveSelectionFormWidgetFactory, isAnyOlStyle, isBaseLayer, isBaseLayerLinked, isCsvExport, isEngineLayerStyle, isLayerGroup, isLayerGroupOptions, isLayerItem, isLayerItemOptions, isLayerLinked, isLayerLinkedOptions, isLayerLinkedTogether, isLinkMaster, isOlFlatStyleLike, isSaveableLayer, jsonRegex, layerFeatureIsQueryable, layerIsQueryable, lonLatConversion, mapExtentStrategyActiveToolTip, markerOlStyle, measureOlGeometry, measureOlGeometryArea, measureOlGeometryLength, mergeLayersOptions, metersToFeet, metersToKilometers, metersToMiles, metersToUnit, moveToOlFeatures, mtmZoneFromLonLat, nearTransparentOlStyle, noElementSelected, nominatimSearchSourceFactory, ogcFilterWidgetFactory, olLayerFeatureIsQueryable, olLayerIsQueryable, optionsApiFactory, osrmDirectionsSourcesFactory, provideCadastreSearchSource, provideCoordinatesReverseSearchSource, provideDefaultCoordinatesSearchResultFormatter, provideDefaultIChercheSearchResultFormatter, provideDirection, provideIChercheReverseSearchSource, provideIChercheSearchSource, provideILayerSearchResultFormatter, provideILayerSearchSource, provideInteractiveSelectionFormWidget, provideNominatimSearchSource, provideOffline, provideOgcFilterWidget, provideOptionsApi, provideOsrmDirectionsSource, provideQuerySearchSource, provideSearch, provideSearchSourceService, provideStoredQueriesReverseSearchSource, provideStoredQueriesSearchSource, provideStyle, provideWorkspaceSearchSource, querySearchSourceFactory, randomOlFlatStyle, removeStopFromStore, renderFeatureFromOl, roundCoordTo, roundCoordToString, scaleExtent, searchSourceServiceFactory, selectionOlStyle, setRowsInMapExtent, setSelectedOnly, sliceOlGeometry, sliceOlPolygon, sortLayersByZindex, sourceCanReverseSearch, sourceCanReverseSearchAsSummary, sourceCanSearch, squareMetersToAcres, squareMetersToHectares, squareMetersToSquareFeet, squareMetersToSquareKilometers, squareMetersToSquareMiles, squareMetersToUnit, standardizeUrl, storedqueriesReverseSearchSourceFactory, storedqueriesSearchSourceFactory, stringToLonLat, styleVariant, translateManeuverBearing, translateManeuverModifier, tryAddLoadingStrategy, tryAddSelectionStrategy, tryBindStoreLayer, updateOlGeometryCenter, updateOlGeometryMidpoints, updateOlTooltipAtCenter, updateOlTooltipDrawAtCenter, updateOlTooltipsAtMidpoints, updateOlTooltipsDrawAtMidpoints, updateStoreSorting, utmZoneFromLonLat, viewStatesAreEqual, withCadastreSource, withCoordinatesReverseSource, withGeostyler, withIChercheReverseSource, withIChercheSource, withILayerSource, withMapbox, withNominatimSource, withOsrmSource, withStoredQueriesReverseSource, withStoredQueriesSource, withWorkspaceSource, workspaceSearchSourceFactory, zoneMtm, zoneUtm };
11901
+ export type { AddedChangeEmitter, AddedChangeGroupEmitter, AnyBaseOgcFilterOptions, AnyDataSource, AnyDataSourceOptions, AnyDataSourceOptionsWithParams, AnyEventName, AnyExportFormat, AnyLayer, AnyLayerBase, AnyLayerItemOptions, AnyLayerOptions, AnyOlStyle, AnyPropertyOptions, AnyStyle, AnyWorkspace, ArcGISRestCapabilitiesLayer, ArcGISRestDataSourceOptions, ArcGISRestDataSourceOptionsParams, ArcGISRestImageDataSourceOptions, ArcGISSymbol, BaseDirectionsSourceOptionsProfile, BaseDirectionsSourceOptionsProfileAuthorization, Buffer, CartoDataSourceOptions, CatalogItem, CatalogItemGroup, CatalogItemLayer, CatalogItemState, CatalogQueryFormatTypes, CatalogServiceOptions, ClusterDataSourceOptions, ClusterParam, ClusterRange, CollectCatalogItemsFn, ConfigurableStylesOptions, CoordinatesData, CoordinatesResponse, CoordinatesReverseData, CoordinatesReverseResponse, DataSourceOptions, DatasToIDB, DatasourceEvent, DialogData, DirectionOptions, DirectionSourceFeature, Directions, DirectionsGeometry, DirectionsSourceOptions, DownloadDataSourceOptions, DownloadOptions, Draw, DrawControlOptions, DrawOptions, DrawingMatDialogData, DrawingStyle, EditionOptions, EditionWorkspaceOptions, EngineLayerStyle, EnvironmentOptions, ExportOgreFormat, ExportOptions, Feature, FeatureDataSourceOptions, FeatureFormSubmitEvent, FeatureGeometry, FeatureMeta, FeatureStoreDrawStrategyOptions, FeatureStoreInMapExtentStrategyOptions, FeatureStoreInMapResolutionStrategyOptions, FeatureStoreLoadingLayerStrategyOptions, FeatureStoreLoadingStrategyOptions, FeatureStoreMeasureStrategyOptions, FeatureStoreOptions, FeatureStorePropertyTypeStrategyOptions, FeatureStoreSearchIndexStrategyOptions, FeatureStoreSelectionStrategyOptions, FeatureStoreStrategyOptions, FeatureWithDirections, FeatureWithDirectionsProperties, FeatureWithDraw, FeatureWithDrawProperties, FeatureWithMeasure, FeatureWithMeasureProperties, FeatureWithStep, FeatureWithStepProperties, FeatureWithStop, FeatureWithStopProperties, FeatureWorkspaceOptions, ForcedProperty, FormattedStep, GeoDBData, GeoDataToIDB, GeoJSONGeometry, GeoServiceDefinition, GeoWorkspaceOptions, GeoWorkspaceQueryOptions, GeolocationBuffer, GeolocationOptions, GeometryCollection, GeometryFormFieldInputs, GeostylerLayerStyle, HomeExtentButtonOptions, IArcgisVectorTileServerCapabilities, ICatalog, IChercheData, IChercheResponse, IChercheReverseData, IChercheReverseResponse, ICompositeCatalog, ILayerData, ILayerDataHighlight, ILayerDataSource, ILayerItemResponse, ILayerSearchSourceOptions, ILayerServiceResponse, IOfflineOptions, IOgcFiltersOptionSaveable, IOgcInterfaceFilterOptions, ISearchSourceParams, IdbInfo, IgoDomSelector, IgoLogicalArrayOptions, IgoOgcFilterObject, IgoOgcSelector, IgoStep, ImageLayerOptions, ImportExportServiceOptions, InputProjections, ItemStyleOptions, LayerConfig, LayerDBData, LayerGroupOptions, LayerId, LayerListControlsOptions, LayerMatDialogData, LayerOptions, LayerOptionsBase, LayerSecurityOptions, LayerToolMode, LayerType, LayerViewerOptions, LayersLink, LayersLinkProperties, Legend, LegendMapViewOptions, LegendOptions, MVTDataSourceOptions, MapAttributionOptions, MapControlsOptions, MapExtent, MapGeolocationControllerOptions, MapGeolocationState, MapOptions, MapScaleLineOptions, MapViewControllerOptions, MapViewOptions, MapViewState, MapboxLayerStyle, MapboxUrlResponse, Measure, MeasurerDialogData, MetadataLayerOptions, MetadataOptions, ModifyControlOptions, NominatimData, OSMDataSourceOptions, OgcAutocomplete, OgcCheckbox, OgcFilter, OgcFilterAttributeOptions, OgcFilterConditionsArrayOptions, OgcFilterDuringOptions, OgcFilterEqualToOptions, OgcFilterGreaterLessOptions, OgcFilterIsBetweenOptions, OgcFilterIsLikeOptions, OgcFilterIsNullOptions, OgcFilterSpatialOptions, OgcFilterableDataSource, OgcFilterableDataSourceOptions, OgcFiltersOptions, OgcInterfaceFilterOptions, OgcPushButton, OgcRadioButton, OgcSelect, OgcSelectorBundle, OptionsApiOptions, OsrmApiResponse, OsrmDirectionsSourceOptions, OsrmIntersection, OsrmLane, OsrmRawRoute, OsrmRouteLeg, OsrmRouteStep, OsrmStepManeuver, OsrmWaypoint, OutputLayerLegend, PreloadOptions, PrintOptions, Projection, ProjectionsLimitationsOptions, QueryOptions, QueryUrlData, QueryableDataSource, QueryableDataSourceOptions, RelationOptions, Research, ResponseType, ReverseSearch, ReverseSearchOptions, SearchIndexOptions, SearchMeta, SearchResult, SearchSourceFeature, SearchSourceOptions, SearchSourceSettings, SelectorGroup, SettingOptions, SimpleGetOptions, SliceControlOptions, SliderOptionsInterface, SourceFieldsOptionsParams, SourceFieldsValidationParams, SourceProposal, SpatialFilterOptions, SpatialFilterThematic, Stop, StoreAndDrawControl, StoredQueriesData, StoredQueriesFields, StoredQueriesResponse, StoredQueriesReverseData, StoredQueriesReverseResponse, StoredQueriesReverseSearchSourceOptions, StoredQueriesSearchSourceOptions, StyleEngine, StyleEngineFeature, StyleModalData, StyleModalLayerData, TextPdfSizeAndMargin, TextSearch, TextSearchOptions, TileArcGISRestDataSourceOptions, TileDebugDataSourceOptions, TileGridOptions, TileLayerOptions, TimeFilterOptions, TimeFilterableDataSource, TimeFilterableDataSourceOptions, TooltipContent, TypeCapabilitiesStrings, TypeCatalogStrings, VectorAnimation, VectorLayerOptions, VectorTileLayerOptions, ViewerLegendOptions, WFSDataSourceOptions, WFSDataSourceOptionsParams, WFSWriteGetFeatureOptions, WMSDataSourceOptions, WMSDataSourceOptionsParams, WMTSDataSourceOptions, WebSocketDataSourceOptions, WfsWorkspaceOptions, WmsCapabilityLayer, WmsDimension, WmsStyle, WmtsCapabilities, WmtsCapabilityLayer, WorkspaceData, XYZDataSourceOptions, ZindexPropertyOptions };