@vcmap/core 5.0.0-rc.24 → 5.0.0-rc.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -262,12 +262,12 @@ export class AbstractFeatureProvider {
262
262
  /**
263
263
  * Added to ol.Feature, if they are not part of a layer, but provided by an {@link AbstractFeatureProvider}.
264
264
  */
265
- export const isProvidedFeature: symbol;
265
+ export const isProvidedFeature: unique symbol;
266
266
 
267
267
  /**
268
268
  * A boolean value, indicating whether {@link SelectBehavior} should add the feature to the selected item layer
269
269
  */
270
- export const showProvidedFeature: symbol;
270
+ export const showProvidedFeature: unique symbol;
271
271
 
272
272
  export interface TileProviderFeatureProviderOptions extends AbstractFeatureProviderOptions {
273
273
  tileProvider: TileProvider;
@@ -682,7 +682,7 @@ export class BitCounter {
682
682
  /**
683
683
  * Enumeration of modification key types
684
684
  */
685
- export const enum ModificationKeyType {
685
+ export enum ModificationKeyType {
686
686
  NONE,
687
687
  ALT,
688
688
  CTRL,
@@ -693,7 +693,7 @@ export const enum ModificationKeyType {
693
693
  /**
694
694
  * Enumeration of pointer event types
695
695
  */
696
- export const enum EventType {
696
+ export enum EventType {
697
697
  NONE,
698
698
  CLICK,
699
699
  DBLCLICK,
@@ -709,7 +709,7 @@ export const enum EventType {
709
709
  /**
710
710
  * Enumeration of pointer keys.
711
711
  */
712
- export const enum PointerKeyType {
712
+ export enum PointerKeyType {
713
713
  LEFT,
714
714
  RIGHT,
715
715
  MIDDLE,
@@ -719,13 +719,13 @@ export const enum PointerKeyType {
719
719
  /**
720
720
  * Enumeration of pointer key events.
721
721
  */
722
- export const enum PointerEventType {
722
+ export enum PointerEventType {
723
723
  DOWN,
724
724
  UP,
725
725
  MOVE
726
726
  }
727
727
 
728
- export const cesiumTilesetLastUpdated: symbol;
728
+ export const cesiumTilesetLastUpdated: unique symbol;
729
729
 
730
730
  /**
731
731
  * @returns in mercator
@@ -776,6 +776,7 @@ export class ClusterContext {
776
776
  */
777
777
  createFeatureCache(feature: import("ol").Feature<import("ol/geom/Geometry").default>): VectorContextFeatureCache;
778
778
  clearFeatureCache(cache: VectorContextFeatureCache): void;
779
+ updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
779
780
  }
780
781
 
781
782
  export class DataSourceCesiumImpl extends LayerImplementation<CesiumMap> {
@@ -872,6 +873,7 @@ export class VectorCesiumImpl extends LayerImplementation<CesiumMap> implements
872
873
  constructor(map: CesiumMap, options: VectorImplementationOptions);
873
874
  vectorProperties: VectorProperties;
874
875
  source: import("ol/source").Vector<import("ol/geom/Geometry").default>;
876
+ splitDirection: import("@vcmap/cesium").SplitDirection;
875
877
  style: StyleItem;
876
878
  featureVisibility: FeatureVisibility;
877
879
 
@@ -886,6 +888,7 @@ export class VectorCesiumImpl extends LayerImplementation<CesiumMap> implements
886
888
  activate(): Promise<void>;
887
889
  deactivate(): void;
888
890
  updateStyle(style: StyleItem, silent?: boolean): void;
891
+ updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
889
892
  protected _destroyCollection(): void;
890
893
  destroy(): void;
891
894
  }
@@ -906,7 +909,12 @@ export function removeArrayFromCollection(collection: import("@vcmap/cesium").Pr
906
909
  */
907
910
  export function removeFeatureFromMap(feature: import("ol").Feature<import("ol/geom/Geometry").default>, featuresMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Billboard | import("@vcmap/cesium").Label | import("@vcmap/cesium").Entity | import("@vcmap/cesium").Model)[]>, primitiveCollection: import("@vcmap/cesium").PrimitiveCollection | import("@vcmap/cesium").BillboardCollection | import("@vcmap/cesium").LabelCollection | import("@vcmap/cesium").EntityCollection): boolean;
908
911
 
909
- export function addPrimitiveToContext(primitives: (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Entity.ConstructorOptions | import("@vcmap/cesium").Model | object)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking: boolean, primitiveCollection: import("@vcmap/cesium").BillboardCollection | import("@vcmap/cesium").LabelCollection | import("@vcmap/cesium").PrimitiveCollection | import("@vcmap/cesium").EntityCollection, featureMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/cesium").Billboard | import("@vcmap/cesium").Label | import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Entity | import("@vcmap/cesium").Model)[]>): void;
912
+ export function addPrimitiveToContext(primitives: (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Entity.ConstructorOptions | import("@vcmap/cesium").Model | object)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking: boolean, primitiveCollection: import("@vcmap/cesium").BillboardCollection | import("@vcmap/cesium").LabelCollection | import("@vcmap/cesium").PrimitiveCollection | import("@vcmap/cesium").EntityCollection, featureMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/cesium").Billboard | import("@vcmap/cesium").Label | import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Entity | import("@vcmap/cesium").Model)[]>, splitDirection?: import("@vcmap/cesium").SplitDirection): void;
913
+
914
+ /**
915
+ * Sets splitDirection on primitives. Currently only Model primitives support splitting.
916
+ */
917
+ export function setSplitDirectionOnPrimitives(splitDirection: import("@vcmap/cesium").SplitDirection, primitives: import("@vcmap/cesium").PrimitiveCollection): void;
910
918
 
911
919
  /**
912
920
  * Creates a self scaling primitive collection. It will scale a primitive of model in the collection
@@ -915,7 +923,7 @@ export function addPrimitiveToContext(primitives: (import("@vcmap/cesium").Primi
915
923
  export function setupScalingPrimitiveCollection(map: CesiumMap, primitiveCollection: import("@vcmap/cesium").PrimitiveCollection, dirtyRef: any): (...params: any[]) => any;
916
924
 
917
925
  export class VectorContext {
918
- constructor(map: CesiumMap, rootCollection: import("@vcmap/cesium").PrimitiveCollection);
926
+ constructor(map: CesiumMap, rootCollection: import("@vcmap/cesium").PrimitiveCollection, splitDirection: import("@vcmap/cesium").SplitDirection);
919
927
  primitives: import("@vcmap/cesium").PrimitiveCollection;
920
928
  scaledPrimitives: import("@vcmap/cesium").PrimitiveCollection;
921
929
  billboards: import("@vcmap/cesium").BillboardCollection;
@@ -924,6 +932,7 @@ export class VectorContext {
924
932
  featureToScaledPrimitiveMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Model)[]>;
925
933
  featureToBillboardMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/cesium").Billboard[]>;
926
934
  featureToLabelMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/cesium").Label[]>;
935
+ splitDirection: import("@vcmap/cesium").SplitDirection;
927
936
  addPrimitives(primitives: (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Model)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
928
937
  addScaledPrimitives(primitives: (import("@vcmap/cesium").Primitive | import("@vcmap/cesium").GroundPrimitive | import("@vcmap/cesium").GroundPolylinePrimitive | import("@vcmap/cesium").ClassificationPrimitive | import("@vcmap/cesium").Model)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
929
938
  addBillboards(billboardOptions: object[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
@@ -934,6 +943,10 @@ export class VectorContext {
934
943
  */
935
944
  createFeatureCache(feature: import("ol").Feature<import("ol/geom/Geometry").default>): VectorContextFeatureCache;
936
945
  clearFeatureCache(cache: VectorContextFeatureCache): void;
946
+ /**
947
+ * Updates splitDirection on primitives. Currently only Model primitives support splitting.
948
+ */
949
+ updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
937
950
  /**
938
951
  * Clears all collections and maps
939
952
  */
@@ -1073,10 +1086,6 @@ export interface CesiumTilesetOptions extends LayerOptions {
1073
1086
  tilesetOptions?: any | undefined;
1074
1087
  highlightStyle?: VectorStyleItem | VectorStyleItemOptions | undefined;
1075
1088
  featureVisibility?: FeatureVisibility | undefined;
1076
- /**
1077
- * either 'left' or 'right', if omitted none is applied
1078
- */
1079
- splitDirection?: string | undefined;
1080
1089
  /**
1081
1090
  * an offset of x, y, z. x and y in degrees longitude/latitude respectively
1082
1091
  */
@@ -1090,18 +1099,15 @@ export interface CesiumTilesetTilesetProperties {
1090
1099
 
1091
1100
  export interface CesiumTilesetImplementationOptions extends FeatureLayerImplementationOptions {
1092
1101
  tilesetOptions?: any | undefined;
1093
- splitDirection: import("@vcmap/cesium").SplitDirection;
1094
1102
  tilesetProperties?: CesiumTilesetTilesetProperties[] | undefined;
1095
1103
  modelMatrix?: import("@vcmap/cesium").Matrix4 | undefined;
1096
1104
  offset?: import("ol/coordinate").Coordinate | undefined;
1097
1105
  }
1098
1106
 
1099
-
1100
-
1101
1107
  /**
1102
1108
  * represents a specific Building layer for cesium.
1103
1109
  */
1104
- export class CesiumTilesetLayer extends FeatureLayer implements SplitLayer {
1110
+ export class CesiumTilesetLayer extends FeatureLayer {
1105
1111
  constructor(options: CesiumTilesetOptions);
1106
1112
  static className: string;
1107
1113
  static getDefaultOptions(): CesiumTilesetOptions;
@@ -1110,14 +1116,8 @@ export class CesiumTilesetLayer extends FeatureLayer implements SplitLayer {
1110
1116
  screenSpaceErrorMobile: number;
1111
1117
  maximumMemoryUsage: number;
1112
1118
  tilesetOptions: any;
1113
-
1114
- /**
1115
- * raised if the split direction changes, is passed the split direction as its only argument
1116
- */
1117
- splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
1118
1119
  modelMatrix: any;
1119
1120
  offset: any;
1120
- splitDirection: any;
1121
1121
  /**
1122
1122
  * set the maximum screenspace error of this layer
1123
1123
  */
@@ -1130,6 +1130,11 @@ export class CesiumTilesetLayer extends FeatureLayer implements SplitLayer {
1130
1130
  * a height offset for rendering of a balloon for a feature of this layer.
1131
1131
  */
1132
1132
  balloonHeightOffset: number;
1133
+
1134
+ /**
1135
+ * raised if the split direction changes, is passed the split direction as its only argument
1136
+ */
1137
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
1133
1138
  /**
1134
1139
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
1135
1140
  */
@@ -1142,6 +1147,7 @@ export class CesiumTilesetLayer extends FeatureLayer implements SplitLayer {
1142
1147
  * style, use setStyle to change
1143
1148
  */
1144
1149
  readonly style: StyleItem;
1150
+ splitDirection: import("@vcmap/cesium").SplitDirection;
1145
1151
  /**
1146
1152
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
1147
1153
  * for this extent (e.g. {@see RasterLayer})
@@ -1422,6 +1428,10 @@ export class DataSourceLayer extends Layer {
1422
1428
  export interface FeatureLayerOptions extends LayerOptions {
1423
1429
  style?: DeclarativeStyleItemOptions | VectorStyleItemOptions | StyleItem | undefined;
1424
1430
  balloonHeightOffset?: number;
1431
+ /**
1432
+ * either 'left' or 'right', if omitted none is applied (for 3D Vector currently only Models are split-able)
1433
+ */
1434
+ splitDirection?: string | undefined;
1425
1435
  /**
1426
1436
  * vcs:undocumented
1427
1437
  */
@@ -1430,18 +1440,22 @@ export interface FeatureLayerOptions extends LayerOptions {
1430
1440
 
1431
1441
  export interface FeatureLayerImplementationOptions extends LayerImplementationOptions {
1432
1442
  globalHider: GlobalHider;
1443
+ splitDirection: import("@vcmap/cesium").SplitDirection;
1433
1444
  featureVisibility: FeatureVisibility;
1434
1445
  style: StyleItem;
1435
1446
  }
1436
1447
 
1437
1448
  export interface FeatureLayerImplementation extends LayerImplementation<VcsMap> {
1438
1449
  updateStyle: (...params: any[]) => any;
1450
+ updateSplitDirection: (...params: any[]) => any;
1439
1451
  }
1440
1452
 
1453
+
1454
+
1441
1455
  /**
1442
1456
  * Base class for all layers representing features, e.g. VectorLayer, Buildings, POIs
1443
1457
  */
1444
- export class FeatureLayer extends Layer {
1458
+ export class FeatureLayer extends Layer implements SplitLayer {
1445
1459
  constructor(options: FeatureLayerOptions);
1446
1460
  static className: string;
1447
1461
  static getDefaultOptions(): FeatureLayerOptions;
@@ -1453,6 +1467,11 @@ export class FeatureLayer extends Layer {
1453
1467
  * a height offset for rendering of a balloon for a feature of this layer.
1454
1468
  */
1455
1469
  balloonHeightOffset: number;
1470
+
1471
+ /**
1472
+ * raised if the split direction changes, is passed the split direction as its only argument
1473
+ */
1474
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
1456
1475
  /**
1457
1476
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
1458
1477
  */
@@ -1465,6 +1484,7 @@ export class FeatureLayer extends Layer {
1465
1484
  * style, use setStyle to change
1466
1485
  */
1467
1486
  readonly style: StyleItem;
1487
+ splitDirection: any;
1468
1488
  objectClickedHandler(object: any | import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/cesium").Cesium3DTilePointFeature | import("@vcmap/cesium").Cesium3DTileFeature | DataSourcePickedObject): any;
1469
1489
  getStyleOrDefaultStyle(styleOptions?: DeclarativeStyleItemOptions | VectorStyleItemOptions | StyleItem, defaultStyle?: VectorStyleItem | DeclarativeStyleItem): StyleItem;
1470
1490
  /**
@@ -1615,7 +1635,7 @@ export interface FeatureStoreOptions extends FeatureStoreLayerSchema {
1615
1635
  injectedFetchDynamicFeatureFunc?: ((...params: any[]) => any) | undefined;
1616
1636
  }
1617
1637
 
1618
- export const isTiledFeature: symbol;
1638
+ export const isTiledFeature: unique symbol;
1619
1639
 
1620
1640
  /**
1621
1641
  * FeatureStoreLayer Layer
@@ -1678,6 +1698,11 @@ export class FeatureStoreLayer extends VectorLayer {
1678
1698
  * a height offset for rendering of a balloon for a feature of this layer.
1679
1699
  */
1680
1700
  balloonHeightOffset: number;
1701
+
1702
+ /**
1703
+ * raised if the split direction changes, is passed the split direction as its only argument
1704
+ */
1705
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
1681
1706
  /**
1682
1707
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
1683
1708
  */
@@ -1690,6 +1715,7 @@ export class FeatureStoreLayer extends VectorLayer {
1690
1715
  * style, use setStyle to change
1691
1716
  */
1692
1717
  readonly style: StyleItem;
1718
+ splitDirection: import("@vcmap/cesium").SplitDirection;
1693
1719
  /**
1694
1720
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
1695
1721
  * for this extent (e.g. {@see RasterLayer})
@@ -1843,12 +1869,12 @@ export class FeatureStoreLayerChanges extends VcsObject {
1843
1869
  readonly className: string;
1844
1870
  }
1845
1871
 
1846
- export const featureStoreStateSymbol: symbol;
1872
+ export const featureStoreStateSymbol: unique symbol;
1847
1873
 
1848
1874
  /**
1849
1875
  * Enumeration of feature store item states
1850
1876
  */
1851
- export const enum FeatureStoreLayerState {
1877
+ export enum FeatureStoreLayerState {
1852
1878
  DYNAMIC,
1853
1879
  STATIC,
1854
1880
  EDITED
@@ -1858,25 +1884,25 @@ export const enum FeatureStoreLayerState {
1858
1884
  * Set on an ol.Feature or Cesium.Cesium3DTileFeature to indicate its style before it was hidden or highlighted.
1859
1885
  * Can be undefined or ol.style.Style for ol.Features and Cesium.Color for Cesium.Cesium3DTileFeatures.
1860
1886
  */
1861
- export const originalStyle: symbol;
1887
+ export const originalStyle: unique symbol;
1862
1888
 
1863
1889
  /**
1864
1890
  * Set on an ol.Feature or Cesium.Cesium3DTileFeature to indicate that this features is highlighted.
1865
1891
  * Its value is a {@link VectorStyleItem}.
1866
1892
  */
1867
- export const highlighted: symbol;
1893
+ export const highlighted: unique symbol;
1868
1894
 
1869
1895
  /**
1870
1896
  * Is a boolean value set on ol.Feature or Cesium.Cesium3DTileFeature to indicate it is hidden
1871
1897
  * by the layers {@link FeatureVisibility}.
1872
1898
  */
1873
- export const hidden: symbol;
1899
+ export const hidden: unique symbol;
1874
1900
 
1875
1901
  /**
1876
1902
  * Is a boolean value set on ol.Feature or Cesium.Cesium3DTileFeature to indicate it is hidden
1877
1903
  * by the {@link GlobalHider}
1878
1904
  */
1879
- export const globalHidden: symbol;
1905
+ export const globalHidden: unique symbol;
1880
1906
 
1881
1907
  export interface HighlightedObject {
1882
1908
  style: VectorStyleItem;
@@ -1893,7 +1919,7 @@ export function featureExists(feature: import("@vcmap/cesium").Cesium3DTileFeatu
1893
1919
  /**
1894
1920
  * Enumeration of feature visibility actions.
1895
1921
  */
1896
- export const enum FeatureVisibilityAction {
1922
+ export enum FeatureVisibilityAction {
1897
1923
  HIGHLIGHT,
1898
1924
  UNHIGHLIGHT,
1899
1925
  HIDE,
@@ -2049,7 +2075,7 @@ export interface GeoJSONOptions extends VectorOptions {
2049
2075
  /**
2050
2076
  * indicates, that this feature is part of the options
2051
2077
  */
2052
- export const featureFromOptions: symbol;
2078
+ export const featureFromOptions: unique symbol;
2053
2079
 
2054
2080
  /**
2055
2081
  * GeojsonLayer layer for Cesium, OpenlayersMap and ObliqueMap
@@ -2087,6 +2113,11 @@ export class GeoJSONLayer extends VectorLayer {
2087
2113
  * a height offset for rendering of a balloon for a feature of this layer.
2088
2114
  */
2089
2115
  balloonHeightOffset: number;
2116
+
2117
+ /**
2118
+ * raised if the split direction changes, is passed the split direction as its only argument
2119
+ */
2120
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
2090
2121
  /**
2091
2122
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
2092
2123
  */
@@ -2099,6 +2130,7 @@ export class GeoJSONLayer extends VectorLayer {
2099
2130
  * style, use setStyle to change
2100
2131
  */
2101
2132
  readonly style: StyleItem;
2133
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2102
2134
  /**
2103
2135
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
2104
2136
  * for this extent (e.g. {@see RasterLayer})
@@ -2276,6 +2308,10 @@ export interface LayerImplementationOptions {
2276
2308
  url: string;
2277
2309
  }
2278
2310
 
2311
+ export interface SplitLayerImplementationOptions extends LayerImplementationOptions {
2312
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2313
+ }
2314
+
2279
2315
  /**
2280
2316
  * The version of vcsMeta schema being written by this helper
2281
2317
  */
@@ -2466,12 +2502,14 @@ export class LayerImplementation<T extends VcsMap> extends VcsObject {
2466
2502
  * Enumeration of possible layer states.
2467
2503
  * State machine: inactive <-> loading -> active -> inactive
2468
2504
  */
2469
- export const enum LayerState {
2505
+ export enum LayerState {
2470
2506
  INACTIVE = 1,
2471
2507
  ACTIVE = 2,
2472
2508
  LOADING = 4
2473
2509
  }
2474
2510
 
2511
+ export const vcsLayerName: unique symbol;
2512
+
2475
2513
  export class LayerObliqueImpl extends LayerImplementation<ObliqueMap> {
2476
2514
  constructor(map: ObliqueMap, options: LayerImplementationOptions);
2477
2515
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
@@ -2547,6 +2585,7 @@ export class VectorObliqueImpl extends LayerObliqueImpl implements FeatureLayerI
2547
2585
  featureVisibility: FeatureVisibility;
2548
2586
  olLayer: import("ol/layer").Vector<import("ol/source").Vector<import("ol/geom/Geometry").default>> | null;
2549
2587
  updateStyle(style: StyleItem, silent?: boolean): void;
2588
+ updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
2550
2589
  protected _addSourceListeners(): void;
2551
2590
  updateObliqueGeometry(originalFeature: import("ol").Feature<import("ol/geom/Geometry").default>, obliqueFeature: import("ol").Feature<import("ol/geom/Geometry").default>): void;
2552
2591
 
@@ -2664,12 +2703,17 @@ export class OpenStreetMapLayer extends Layer implements SplitLayer {
2664
2703
  readonly className: string;
2665
2704
  }
2666
2705
 
2706
+ export interface LayerOpenlayersImplementationOptions extends LayerImplementationOptions {
2707
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2708
+ }
2709
+
2667
2710
  /**
2668
- * Layer implementation for {@link CesiumMap}.
2711
+ * Layer implementation for {@link OpenlayersMap}.
2669
2712
  */
2670
2713
  export class LayerOpenlayersImpl extends LayerImplementation<OpenlayersMap> {
2671
- constructor(map: OpenlayersMap, options: LayerImplementationOptions);
2714
+ constructor(map: OpenlayersMap, options: LayerOpenlayersImplementationOptions);
2672
2715
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2716
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2673
2717
  initialize(): Promise<void>;
2674
2718
  activate(): Promise<void>;
2675
2719
  deactivate(): void;
@@ -2677,6 +2721,7 @@ export class LayerOpenlayersImpl extends LayerImplementation<OpenlayersMap> {
2677
2721
  * returns the ol Layer
2678
2722
  */
2679
2723
  getOLLayer(): import("ol/layer").Layer<import("ol/source/Source").default>;
2724
+ updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
2680
2725
  destroy(): void;
2681
2726
  }
2682
2727
 
@@ -2693,15 +2738,14 @@ export class OpenStreetMapOpenlayersImpl extends RasterLayerOpenlayersImpl {
2693
2738
  */
2694
2739
  export class RasterLayerOpenlayersImpl extends LayerOpenlayersImpl implements RasterLayerImplementation {
2695
2740
  constructor(map: OpenlayersMap, options: RasterLayerImplementationOptions);
2696
- splitDirection: import("@vcmap/cesium").SplitDirection;
2697
2741
  minLevel: number;
2698
2742
  maxLevel: number;
2699
2743
  tilingSchema: string;
2700
2744
  extent: Extent;
2701
2745
  opacity: number;
2702
2746
  updateOpacity(opacity: number): void;
2703
- updateSplitDirection(splitDirection: import("@vcmap/cesium").SplitDirection): void;
2704
2747
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2748
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2705
2749
  }
2706
2750
 
2707
2751
  /**
@@ -2710,13 +2754,13 @@ export class RasterLayerOpenlayersImpl extends LayerOpenlayersImpl implements Ra
2710
2754
  export class SingleImageOpenlayersImpl extends RasterLayerOpenlayersImpl {
2711
2755
  constructor(map: OpenlayersMap, options: SingleImageImplementationOptions);
2712
2756
  credit: string;
2713
- splitDirection: import("@vcmap/cesium").SplitDirection;
2714
2757
  minLevel: number;
2715
2758
  maxLevel: number;
2716
2759
  tilingSchema: string;
2717
2760
  extent: Extent;
2718
2761
  opacity: number;
2719
2762
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2763
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2720
2764
  }
2721
2765
 
2722
2766
 
@@ -2736,13 +2780,13 @@ export class TmsOpenlayersImpl extends RasterLayerOpenlayersImpl {
2736
2780
  constructor(map: OpenlayersMap, options: TMSImplementationOptions);
2737
2781
  format: string;
2738
2782
  tileSize: import("ol/size").Size;
2739
- splitDirection: import("@vcmap/cesium").SplitDirection;
2740
2783
  minLevel: number;
2741
2784
  maxLevel: number;
2742
2785
  tilingSchema: string;
2743
2786
  extent: Extent;
2744
2787
  opacity: number;
2745
2788
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2789
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2746
2790
  }
2747
2791
 
2748
2792
 
@@ -2761,6 +2805,7 @@ export class VectorOpenlayersImpl extends LayerOpenlayersImpl implements Feature
2761
2805
  globalHider: GlobalHider;
2762
2806
  updateStyle(style: StyleItem, silent?: boolean): void;
2763
2807
  setVisibility(visibility: boolean): void;
2808
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2764
2809
  }
2765
2810
 
2766
2811
 
@@ -2784,6 +2829,7 @@ export class VectorTileOpenlayersImpl extends LayerOpenlayersImpl implements Vec
2784
2829
  updateStyle(style: StyleItem, silent?: boolean): void;
2785
2830
  setVisibility(visibility: boolean): void;
2786
2831
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2832
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2787
2833
  }
2788
2834
 
2789
2835
  /**
@@ -2796,13 +2842,13 @@ export class WmsOpenlayersImpl extends RasterLayerOpenlayersImpl {
2796
2842
  };
2797
2843
  version: string;
2798
2844
  tileSize: import("ol/size").Size;
2799
- splitDirection: import("@vcmap/cesium").SplitDirection;
2800
2845
  minLevel: number;
2801
2846
  maxLevel: number;
2802
2847
  tilingSchema: string;
2803
2848
  extent: Extent;
2804
2849
  opacity: number;
2805
2850
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2851
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2806
2852
  }
2807
2853
 
2808
2854
  /**
@@ -2819,13 +2865,13 @@ export class WmtsOpenlayersImpl extends RasterLayerOpenlayersImpl {
2819
2865
  numberOfLevelZeroTilesY: number;
2820
2866
  matrixIds: string[];
2821
2867
  openlayersOptions: any;
2822
- splitDirection: import("@vcmap/cesium").SplitDirection;
2823
2868
  minLevel: number;
2824
2869
  maxLevel: number;
2825
2870
  tilingSchema: string;
2826
2871
  extent: Extent;
2827
2872
  opacity: number;
2828
2873
  olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
2874
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2829
2875
  }
2830
2876
 
2831
2877
  /**
@@ -2865,11 +2911,6 @@ export class PointCloudLayer extends CesiumTilesetLayer {
2865
2911
  screenSpaceErrorMobile: number;
2866
2912
  maximumMemoryUsage: number;
2867
2913
  tilesetOptions: any;
2868
-
2869
- /**
2870
- * raised if the split direction changes, is passed the split direction as its only argument
2871
- */
2872
- splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
2873
2914
  /**
2874
2915
  * A model matrix to apply to each cesium3DTileset created from this layer.
2875
2916
  * This will overwrite any modelMatrix calculated by the offset property.
@@ -2881,7 +2922,6 @@ export class PointCloudLayer extends CesiumTilesetLayer {
2881
2922
  * set the modelMatrix to undefined.
2882
2923
  */
2883
2924
  offset: import("ol/coordinate").Coordinate | undefined;
2884
- splitDirection: import("@vcmap/cesium").SplitDirection;
2885
2925
  /**
2886
2926
  * An event, called when the style of the layer changes. Is passed the new style item as its value.
2887
2927
  */
@@ -2890,6 +2930,11 @@ export class PointCloudLayer extends CesiumTilesetLayer {
2890
2930
  * a height offset for rendering of a balloon for a feature of this layer.
2891
2931
  */
2892
2932
  balloonHeightOffset: number;
2933
+
2934
+ /**
2935
+ * raised if the split direction changes, is passed the split direction as its only argument
2936
+ */
2937
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
2893
2938
  /**
2894
2939
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
2895
2940
  */
@@ -2902,6 +2947,7 @@ export class PointCloudLayer extends CesiumTilesetLayer {
2902
2947
  * style, use setStyle to change
2903
2948
  */
2904
2949
  readonly style: StyleItem;
2950
+ splitDirection: import("@vcmap/cesium").SplitDirection;
2905
2951
  /**
2906
2952
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
2907
2953
  * for this extent (e.g. {@see RasterLayer})
@@ -3002,8 +3048,8 @@ export interface RasterLayerImplementationOptions extends LayerImplementationOpt
3002
3048
  maxLevel: number;
3003
3049
  tilingSchema: string;
3004
3050
  opacity: number;
3005
- splitDirection: import("@vcmap/cesium").SplitDirection;
3006
3051
  extent?: Extent | undefined;
3052
+ splitDirection: import("@vcmap/cesium").SplitDirection;
3007
3053
  }
3008
3054
 
3009
3055
  export interface RasterLayerImplementation extends LayerImplementation<VcsMap> {
@@ -3014,7 +3060,7 @@ export interface RasterLayerImplementation extends LayerImplementation<VcsMap> {
3014
3060
  /**
3015
3061
  * Enumeration of tiling schemes.
3016
3062
  */
3017
- export const enum TilingScheme {
3063
+ export enum TilingScheme {
3018
3064
  GEOGRAPHIC,
3019
3065
  MERCATOR
3020
3066
  }
@@ -3817,12 +3863,12 @@ export class TMSLayer extends RasterLayer {
3817
3863
  /**
3818
3864
  * Added to ol.source.Vector to determine, when the source has last had an update to its features visibility.
3819
3865
  */
3820
- export const fvLastUpdated: symbol;
3866
+ export const fvLastUpdated: unique symbol;
3821
3867
 
3822
3868
  /**
3823
3869
  * Added to ol.source.Vector to determine, when the source has last had an update to its features global visibility.
3824
3870
  */
3825
- export const globalHiderLastUpdated: symbol;
3871
+ export const globalHiderLastUpdated: unique symbol;
3826
3872
 
3827
3873
  export function updateFeatureVisibility(featureVisibility: FeatureVisibility, source: import("ol/source").Vector<import("ol/geom/Geometry").default>): void;
3828
3874
 
@@ -3901,10 +3947,12 @@ export interface VectorClickedObject extends olFeature<Geometry> {
3901
3947
  clickedPosition: ClickPosition;
3902
3948
  }
3903
3949
 
3950
+
3951
+
3904
3952
  /**
3905
3953
  * VectorLayer Layer for OpenlayersMap, Cesium and ObliqueMap
3906
3954
  */
3907
- export class VectorLayer extends FeatureLayer {
3955
+ export class VectorLayer extends FeatureLayer implements SplitLayer {
3908
3956
  constructor(options: VectorOptions);
3909
3957
  static readonly className: any;
3910
3958
  static readonly alreadyTransformedToMercator: any;
@@ -3987,6 +4035,11 @@ export class VectorLayer extends FeatureLayer {
3987
4035
  * a height offset for rendering of a balloon for a feature of this layer.
3988
4036
  */
3989
4037
  balloonHeightOffset: number;
4038
+
4039
+ /**
4040
+ * raised if the split direction changes, is passed the split direction as its only argument
4041
+ */
4042
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
3990
4043
  /**
3991
4044
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
3992
4045
  */
@@ -3999,6 +4052,7 @@ export class VectorLayer extends FeatureLayer {
3999
4052
  * style, use setStyle to change
4000
4053
  */
4001
4054
  readonly style: StyleItem;
4055
+ splitDirection: import("@vcmap/cesium").SplitDirection;
4002
4056
  /**
4003
4057
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
4004
4058
  * for this extent (e.g. {@see RasterLayer})
@@ -4193,7 +4247,7 @@ export interface VectorPropertiesPrimitive extends VectorPropertiesBaseOptions {
4193
4247
  primitiveOptions: VectorPropertiesPrimitiveOptions;
4194
4248
  }
4195
4249
 
4196
- export const enum PrimitiveOptionsType {
4250
+ export enum PrimitiveOptionsType {
4197
4251
  CYLINDER,
4198
4252
  SPHERE,
4199
4253
  ELLIPSE,
@@ -4201,13 +4255,13 @@ export const enum PrimitiveOptionsType {
4201
4255
  BOC
4202
4256
  }
4203
4257
 
4204
- export const enum AltitudeModeCesium {
4258
+ export enum AltitudeModeCesium {
4205
4259
  clampToGround,
4206
4260
  absolute,
4207
4261
  relativeToGround
4208
4262
  }
4209
4263
 
4210
- export const enum ClassificationTypeCesium {
4264
+ export enum ClassificationTypeCesium {
4211
4265
  both,
4212
4266
  cesium3DTile,
4213
4267
  terrain
@@ -4319,40 +4373,40 @@ export class VectorProperties {
4319
4373
  /**
4320
4374
  * Attached to a geometry to indicate, it is already in mercator and not the layers default projection
4321
4375
  */
4322
- export const alreadyTransformedToMercator: symbol;
4376
+ export const alreadyTransformedToMercator: unique symbol;
4323
4377
 
4324
4378
  /**
4325
4379
  * Attached to a geometry to indicate, it is already in oblique image coordiantes and not mercator
4326
4380
  */
4327
- export const alreadyTransformedToImage: symbol;
4381
+ export const alreadyTransformedToImage: unique symbol;
4328
4382
 
4329
4383
  /**
4330
4384
  * Attached to an ol/Feature to reference the underlying oblique geometry
4331
4385
  */
4332
- export const obliqueGeometry: symbol;
4386
+ export const obliqueGeometry: unique symbol;
4333
4387
 
4334
4388
  /**
4335
4389
  * Attached to an ol/Feature which should only exist in oblqie coordinates and not be transformed to mercator on change
4336
4390
  */
4337
- export const doNotTransform: symbol;
4391
+ export const doNotTransform: unique symbol;
4338
4392
 
4339
4393
  /**
4340
4394
  * Attached to oblique features to reference the underlying original ol/Feature
4341
4395
  */
4342
- export const originalFeatureSymbol: symbol;
4396
+ export const originalFeatureSymbol: unique symbol;
4343
4397
 
4344
4398
  /**
4345
4399
  * Attached to mercator or oblique geometries which are polygons but have a circular counterpart. Used to not
4346
4400
  * mess up circle drawing in oblique
4347
4401
  */
4348
- export const actuallyIsCircle: symbol;
4402
+ export const actuallyIsCircle: unique symbol;
4349
4403
 
4350
4404
  /**
4351
4405
  * Can be attached to features to have the primitives be created sync instead of async. Use this
4352
4406
  * for faster response times to changes. Do not use this on bulk insertion etc. since sync creation blocks
4353
4407
  * the rendering thread
4354
4408
  */
4355
- export const createSync: symbol;
4409
+ export const createSync: unique symbol;
4356
4410
 
4357
4411
  export function synchronizeFeatureVisibility(source: FeatureVisibility, destination: FeatureVisibility): (...params: any[]) => any;
4358
4412
 
@@ -4414,6 +4468,11 @@ export class VectorTileLayer extends FeatureLayer {
4414
4468
  * a height offset for rendering of a balloon for a feature of this layer.
4415
4469
  */
4416
4470
  balloonHeightOffset: number;
4471
+
4472
+ /**
4473
+ * raised if the split direction changes, is passed the split direction as its only argument
4474
+ */
4475
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
4417
4476
  /**
4418
4477
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
4419
4478
  */
@@ -4426,6 +4485,7 @@ export class VectorTileLayer extends FeatureLayer {
4426
4485
  * style, use setStyle to change
4427
4486
  */
4428
4487
  readonly style: StyleItem;
4488
+ splitDirection: import("@vcmap/cesium").SplitDirection;
4429
4489
  /**
4430
4490
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
4431
4491
  * for this extent (e.g. {@see RasterLayer})
@@ -4554,6 +4614,11 @@ export class WFSLayer extends VectorLayer {
4554
4614
  * a height offset for rendering of a balloon for a feature of this layer.
4555
4615
  */
4556
4616
  balloonHeightOffset: number;
4617
+
4618
+ /**
4619
+ * raised if the split direction changes, is passed the split direction as its only argument
4620
+ */
4621
+ splitDirectionChanged: VcsEvent<import("@vcmap/cesium").SplitDirection>;
4557
4622
  /**
4558
4623
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
4559
4624
  */
@@ -4566,6 +4631,7 @@ export class WFSLayer extends VectorLayer {
4566
4631
  * style, use setStyle to change
4567
4632
  */
4568
4633
  readonly style: StyleItem;
4634
+ splitDirection: import("@vcmap/cesium").SplitDirection;
4569
4635
  /**
4570
4636
  * Metadata on the extent of the data in this layer. Depending on the implementation, data is only requested
4571
4637
  * for this extent (e.g. {@see RasterLayer})
@@ -4937,6 +5003,11 @@ export class WMTSLayer extends RasterLayer {
4937
5003
  */
4938
5004
  export class BaseOLMap extends VcsMap {
4939
5005
  constructor(options: VcsMapOptions);
5006
+ /**
5007
+ * The splitPosition should always be aligned with the mapCollection's splitPosition.
5008
+ * Use mapCollection to change splitPosition.
5009
+ */
5010
+ splitPosition: number;
4940
5011
  readonly olMap: any;
4941
5012
  /**
4942
5013
  * Internal API for registering representations.
@@ -4971,9 +5042,9 @@ export class BaseOLMap extends VcsMap {
4971
5042
  */
4972
5043
  pointerInteractionEvent: VcsEvent<MapEvent>;
4973
5044
  /**
4974
- * If present, the split screen to use on this map. Is set by the mapCollection
5045
+ * The split position to use on this map. Is set by the mapCollection
4975
5046
  */
4976
- splitScreen: SplitScreen | null;
5047
+
4977
5048
  /**
4978
5049
  * Whether the map is active or not
4979
5050
  */
@@ -5025,7 +5096,7 @@ export interface CameraLimiterOptions {
5025
5096
  /**
5026
5097
  * Enumeration of camera limiter modes.
5027
5098
  */
5028
- export const enum CameraLimiterMode {
5099
+ export enum CameraLimiterMode {
5029
5100
  HEIGHT,
5030
5101
  DISTANCE
5031
5102
  }
@@ -5109,6 +5180,11 @@ export class CesiumMap extends VcsMap {
5109
5180
  globeColor: import("@vcmap/cesium").Color;
5110
5181
 
5111
5182
  defaultTerrainProvider: import("@vcmap/cesium").TerrainProvider;
5183
+ /**
5184
+ * The splitPosition should always be aligned with the mapCollection's splitPosition.
5185
+ * Use mapCollection to change splitPosition.
5186
+ */
5187
+ splitPosition: number;
5112
5188
  readonly terrainProvider: any;
5113
5189
  cameraLimiter: any;
5114
5190
  debug: any;
@@ -5227,9 +5303,9 @@ export class CesiumMap extends VcsMap {
5227
5303
  */
5228
5304
  pointerInteractionEvent: VcsEvent<MapEvent>;
5229
5305
  /**
5230
- * If present, the split screen to use on this map. Is set by the mapCollection
5306
+ * The split position to use on this map. Is set by the mapCollection
5231
5307
  */
5232
- splitScreen: SplitScreen | null;
5308
+
5233
5309
  /**
5234
5310
  * Whether the map is active or not
5235
5311
  */
@@ -5264,7 +5340,7 @@ export class CesiumMap extends VcsMap {
5264
5340
  * The state of a map.
5265
5341
  * State machine: inactive <-> loading -> active -> inactive
5266
5342
  */
5267
- export const enum MapState {
5343
+ export enum MapState {
5268
5344
  INACTIVE = 1,
5269
5345
  ACTIVE = 2,
5270
5346
  LOADING = 4
@@ -5337,9 +5413,9 @@ export class ObliqueMap extends BaseOLMap {
5337
5413
  */
5338
5414
  pointerInteractionEvent: VcsEvent<MapEvent>;
5339
5415
  /**
5340
- * If present, the split screen to use on this map. Is set by the mapCollection
5416
+ * The split position to use on this map. Is set by the mapCollection
5341
5417
  */
5342
- splitScreen: SplitScreen | null;
5418
+
5343
5419
  /**
5344
5420
  * Whether the map is active or not
5345
5421
  */
@@ -5413,9 +5489,9 @@ export class OpenlayersMap extends BaseOLMap {
5413
5489
  */
5414
5490
  pointerInteractionEvent: VcsEvent<MapEvent>;
5415
5491
  /**
5416
- * If present, the split screen to use on this map. Is set by the mapCollection
5492
+ * The split position to use on this map. Is set by the mapCollection
5417
5493
  */
5418
- splitScreen: SplitScreen | null;
5494
+
5419
5495
  /**
5420
5496
  * Whether the map is active or not
5421
5497
  */
@@ -5508,9 +5584,9 @@ export class VcsMap extends VcsObject {
5508
5584
  */
5509
5585
  pointerInteractionEvent: VcsEvent<MapEvent>;
5510
5586
  /**
5511
- * If present, the split screen to use on this map. Is set by the mapCollection
5587
+ * The split position to use on this map. Is set by the mapCollection
5512
5588
  */
5513
- splitScreen: SplitScreen | null;
5589
+
5514
5590
  /**
5515
5591
  * Whether the map is active or not
5516
5592
  */
@@ -5524,6 +5600,11 @@ export class VcsMap extends VcsObject {
5524
5600
  */
5525
5601
  readonly target: HTMLElement | null;
5526
5602
  layerCollection: any;
5603
+ /**
5604
+ * The splitPosition should always be aligned with the mapCollection's splitPosition.
5605
+ * Use mapCollection to change splitPosition.
5606
+ */
5607
+ splitPosition: any;
5527
5608
  /**
5528
5609
  * An event raised on the maps post render
5529
5610
  */
@@ -5893,7 +5974,7 @@ export interface ObliqueDataSetImagesLoaded {
5893
5974
  /**
5894
5975
  * Enumeration of data set states
5895
5976
  */
5896
- export const enum DataState {
5977
+ export enum DataState {
5897
5978
  PENDING,
5898
5979
  LOADING,
5899
5980
  READY
@@ -6189,7 +6270,7 @@ export class ObliqueView {
6189
6270
  /**
6190
6271
  * Enumeration of view directions.
6191
6272
  */
6192
- export const enum ObliqueViewDirection {
6273
+ export enum ObliqueViewDirection {
6193
6274
  NORTH,
6194
6275
  EAST,
6195
6276
  SOUTH,
@@ -6291,7 +6372,7 @@ export interface ArcStruct {
6291
6372
  /**
6292
6373
  * Added to feature to hold there respective arc structure
6293
6374
  */
6294
- export const featureArcStruct: symbol;
6375
+ export const featureArcStruct: unique symbol;
6295
6376
 
6296
6377
  /**
6297
6378
  * A style which applies an arc to LineString geometries depending on their first and last coordinates.
@@ -6343,7 +6424,7 @@ export interface ArrowStyleOptions {
6343
6424
  end?: ArrowEnd;
6344
6425
  }
6345
6426
 
6346
- export const enum ArrowEnd {
6427
+ export enum ArrowEnd {
6347
6428
  }
6348
6429
 
6349
6430
  /**
@@ -6474,7 +6555,7 @@ export interface FontObject {
6474
6555
  lineHeight: string;
6475
6556
  }
6476
6557
 
6477
- export const enum PatternType {
6558
+ export enum PatternType {
6478
6559
  NWSE,
6479
6560
  SWNE,
6480
6561
  DIAGONALCROSS,
@@ -6663,7 +6744,7 @@ export interface VectorStyleItemSections extends StyleItemSections {
6663
6744
  label?: boolean | undefined;
6664
6745
  }
6665
6746
 
6666
- export const enum OlcsGeometryType {
6747
+ export enum OlcsGeometryType {
6667
6748
  POLYGON,
6668
6749
  POLYLINE,
6669
6750
  POINT
@@ -6682,7 +6763,7 @@ export interface VectorStyleItemOptions extends StyleItemOptions {
6682
6763
  * Is set by the Editor if the layerStyle is overwritten. The VectorLayer layer assures this style is set, if
6683
6764
  * the style on the layer is not a DeclarativeStyle
6684
6765
  */
6685
- export const vectorStyleSymbol: symbol;
6766
+ export const vectorStyleSymbol: unique symbol;
6686
6767
 
6687
6768
  export class VectorStyleItem extends StyleItem {
6688
6769
  constructor(options: VectorStyleItemOptions);
@@ -7094,7 +7175,7 @@ export interface EditorSession {
7094
7175
  stopped: VcsEvent<void>;
7095
7176
  }
7096
7177
 
7097
- export const enum SessionType {
7178
+ export enum SessionType {
7098
7179
  CREATE,
7099
7180
  EDIT_GEOMETRY,
7100
7181
  EDIT_FEATURES
@@ -7106,7 +7187,7 @@ export const enum SessionType {
7106
7187
  */
7107
7188
  export function setupScratchLayer(layerCollection: LayerCollection): VectorLayer;
7108
7189
 
7109
- export const enum GeometryType {
7190
+ export enum GeometryType {
7110
7191
  Point,
7111
7192
  Circle,
7112
7193
  LineString,
@@ -7117,18 +7198,18 @@ export const enum GeometryType {
7117
7198
  /**
7118
7199
  * Symbol to identify a {@see Vertex}
7119
7200
  */
7120
- export const vertexSymbol: symbol;
7201
+ export const vertexSymbol: unique symbol;
7121
7202
 
7122
7203
  /**
7123
7204
  * Symbol to denote the vertexes index in the vertices array. This is important for snapping & bbox operations
7124
7205
  */
7125
- export const vertexIndex: symbol;
7206
+ export const vertexIndex: unique symbol;
7126
7207
 
7127
7208
  /**
7128
7209
  * Symbol added to primitives and features to denote that these are handlers. It is expected, that the value of the symobl is
7129
7210
  * equal to an {@see AXIS_AND_PLANES}
7130
7211
  */
7131
- export const handlerSymbol: symbol;
7212
+ export const handlerSymbol: unique symbol;
7132
7213
 
7133
7214
 
7134
7215
 
@@ -7667,7 +7748,7 @@ export interface TransformationHandler {
7667
7748
  destroy: (...params: any[]) => any;
7668
7749
  }
7669
7750
 
7670
- export const enum AXIS_AND_PLANES {
7751
+ export enum AXIS_AND_PLANES {
7671
7752
  X,
7672
7753
  Y,
7673
7754
  Z,
@@ -7677,7 +7758,7 @@ export const enum AXIS_AND_PLANES {
7677
7758
  NONE
7678
7759
  }
7679
7760
 
7680
- export const enum TransformationMode {
7761
+ export enum TransformationMode {
7681
7762
  TRANSLATE,
7682
7763
  ROTATE,
7683
7764
  SCALE,
@@ -8052,6 +8133,10 @@ export class MapCollection extends Collection<VcsMap> {
8052
8133
  * Manages the clipping object for the maps in this collection.
8053
8134
  */
8054
8135
  clippingObjectManager: ClippingObjectManager;
8136
+ /**
8137
+ * Event raised when the maps split position changes. It passed the position as its only argument.
8138
+ */
8139
+ splitPositionChanged: VcsEvent<number>;
8055
8140
  /**
8056
8141
  * The currently active map
8057
8142
  */
@@ -8065,15 +8150,15 @@ export class MapCollection extends Collection<VcsMap> {
8065
8150
  */
8066
8151
  layerCollection: any;
8067
8152
  /**
8068
- * Set split screen for these maps.
8153
+ * Set the splitPosition for these maps.
8069
8154
  */
8070
- splitScreen: any;
8155
+ splitPosition: any;
8071
8156
  /**
8072
8157
  * Raised on the active maps post render event
8073
8158
  */
8074
8159
  readonly postRender: VcsEvent<VcsMapRenderEvent>;
8075
8160
  /**
8076
- * Adds a map to the collection. This will set the collections target, {@link SplitScreen}
8161
+ * Adds a map to the collection. This will set the collections target
8077
8162
  * and the collections {@link LayerCollection} on the map.
8078
8163
  * It will add map event listeners and pass them to the event handler of this collection.
8079
8164
  */
@@ -8152,7 +8237,7 @@ export function getCartesianPitch(p1: import("ol/coordinate").Coordinate, p2: im
8152
8237
  /**
8153
8238
  * A symbol added to override collections.
8154
8239
  */
8155
- export const isOverrideCollection: symbol;
8240
+ export const isOverrideCollection: unique symbol;
8156
8241
 
8157
8242
  /**
8158
8243
  * @param getDynamicContextId - function to get the current dynamic context id
@@ -8267,22 +8352,6 @@ export const wgs84Projection: Projection;
8267
8352
  */
8268
8353
  export const mercatorProjection: Projection;
8269
8354
 
8270
- export class SplitScreen {
8271
- constructor(clippingObjectManager: ClippingObjectManager);
8272
- scene: import("@vcmap/cesium").Scene | null;
8273
- olMap: import("ol/Map").default | null;
8274
- initialized: boolean;
8275
- leftScreenClippingObject: ClippingObject;
8276
- rightScreenClippingObject: ClippingObject;
8277
- originalCameraPercentageChanged: number | null;
8278
- position: any;
8279
- mapActivated(map: VcsMap): void;
8280
- /**
8281
- * Gets the clipping object for a split direction
8282
- */
8283
- getClippingObjectForDirection(splitDirection: import("@vcmap/cesium").SplitDirection): ClippingObject | null;
8284
- }
8285
-
8286
8355
  /**
8287
8356
  * compares two numeric properties
8288
8357
  */
@@ -8474,7 +8543,7 @@ export class VcsApp {
8474
8543
 
8475
8544
  export function getVcsAppById(id: string): VcsApp;
8476
8545
 
8477
- export const contextIdSymbol: symbol;
8546
+ export const contextIdSymbol: unique symbol;
8478
8547
 
8479
8548
  export interface ContextLayerOptions extends LayerOptions {
8480
8549
  style?: string | StyleItemOptions;
@@ -8619,3 +8688,59 @@ export interface CreateInteraction<T extends import("ol/geom").Geometry> {
8619
8688
 
8620
8689
  export type Vertex = import("ol").Feature<import("ol/geom").Point>;
8621
8690
 
8691
+ declare module "@vcmap/cesium" {
8692
+ interface Entity {
8693
+ getId():number|string;
8694
+ getProperty(key: string): any;
8695
+ [vcsLayerName]: string|null;
8696
+ }
8697
+
8698
+ interface Cesium3DTileFeature {
8699
+ getId():number|string;
8700
+ [vcsLayerName]: string|null;
8701
+ }
8702
+
8703
+ interface Cesium3DTilePointFeature {
8704
+ getId():number|string;
8705
+ [vcsLayerName]: string|null;
8706
+ }
8707
+
8708
+ interface StyleExpression {
8709
+ evaluate(feature: import("@vcmap/cesium").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):any;
8710
+ evaluateColor(feature: import("@vcmap/cesium").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):import("@vcmap/cesium").Color;
8711
+ }
8712
+
8713
+ interface Expression {
8714
+ evaluate(feature: import("@vcmap/cesium").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):any;
8715
+ evaluateColor(feature: import("@vcmap/cesium").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):import("@vcmap/cesium").Color;
8716
+ }
8717
+ }
8718
+
8719
+ declare module "ol/geom" {
8720
+ interface Geometry {
8721
+ getCoordinates(): any;
8722
+ setCoordinates(coordinates: any, layout?: any): void;
8723
+ getFlatCoordinates(): number[];
8724
+ getLayout(): import("ol/geom/Geometry").GeometryLayout;
8725
+ }
8726
+
8727
+ interface GeometryCollection {
8728
+ getCoordinates(): Array<import("ol/coordinate").Coordinate | Array<import("ol/coordinate").Coordinate> | Array<Array<import("ol/coordinate").Coordinate>> | Array<Array<Array<import("ol/coordinate").Coordinate>>>>;
8729
+ setCoordinates(coordinates: Array<import("ol/coordinate").Coordinate | Array<import("ol/coordinate").Coordinate> | Array<Array<import("ol/coordinate").Coordinate>> | Array<Array<Array<import("ol/coordinate").Coordinate>>>>): void;
8730
+ getLayout(): import("ol/geom/Geometry").GeometryLayout;
8731
+ }
8732
+
8733
+ interface Circle {
8734
+ getCoordinates(): import("ol/coordinate").Coordinate[];
8735
+ setCoordinates(coordinates: import("ol/coordinate").Coordinate[]): void;
8736
+ rotate(angle: number, anchor: import("ol/coordinate").Coordinate): void;
8737
+ }
8738
+ }
8739
+
8740
+ declare module "ol/index" {
8741
+ interface Feature<Geometry> {
8742
+ getProperty(key: string): any;
8743
+ getPropertyInherited(key: string): any;
8744
+ [vcsLayerName]: string|null;
8745
+ }
8746
+ }