@vcmap/core 5.0.0-rc.24 → 5.0.0-rc.26
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/build/postinstall.js +2 -2
- package/index.d.ts +433 -313
- package/index.js +1 -2
- package/package.json +2 -2
- package/src/cesium/cesium3DTileFeature.js +1 -1
- package/src/cesium/cesium3DTilePointFeature.js +1 -1
- package/src/cesium/cesiumVcsCameraPrimitive.js +3 -3
- package/src/cesium/entity.js +1 -1
- package/src/cesium/wallpaperMaterial.js +1 -1
- package/src/interaction/abstractInteraction.js +2 -2
- package/src/interaction/coordinateAtPixel.js +3 -3
- package/src/interaction/eventHandler.js +3 -3
- package/src/interaction/featureAtPixelInteraction.js +1 -1
- package/src/layer/cesium/cesiumTilesetCesiumImpl.js +16 -31
- package/src/layer/cesium/clusterContext.js +12 -6
- package/src/layer/cesium/dataSourceCesiumImpl.js +6 -6
- package/src/layer/cesium/openStreetMapCesiumImpl.js +2 -2
- package/src/layer/cesium/rasterLayerCesiumImpl.js +4 -4
- package/src/layer/cesium/singleImageCesiumImpl.js +2 -2
- package/src/layer/cesium/tmsCesiumImpl.js +2 -2
- package/src/layer/cesium/vectorCesiumImpl.js +20 -5
- package/src/layer/cesium/vectorContext.js +101 -33
- package/src/layer/cesium/vectorRasterTileCesiumImpl.js +2 -3
- package/src/layer/cesium/vectorTileImageryProvider.js +7 -7
- package/src/layer/cesium/wmsCesiumImpl.js +1 -1
- package/src/layer/cesium/wmtsCesiumImpl.js +2 -2
- package/src/layer/cesium/x3dmHelper.js +1 -1
- package/src/layer/cesiumTilesetLayer.js +6 -54
- package/src/layer/czmlLayer.js +2 -2
- package/src/layer/dataSourceLayer.js +7 -7
- package/src/layer/featureLayer.js +49 -1
- package/src/layer/featureStoreLayer.js +3 -3
- package/src/layer/featureVisibility.js +18 -18
- package/src/layer/globalHider.js +3 -3
- package/src/layer/layer.js +8 -2
- package/src/layer/layerSymbols.js +2 -1
- package/src/layer/oblique/obliqueHelpers.js +1 -1
- package/src/layer/oblique/vectorObliqueImpl.js +6 -0
- package/src/layer/openStreetMapLayer.js +11 -5
- package/src/layer/openlayers/layerOpenlayersImpl.js +69 -4
- package/src/layer/openlayers/rasterLayerOpenlayersImpl.js +0 -80
- package/src/layer/rasterLayer.js +9 -9
- package/src/layer/terrainHelpers.js +6 -6
- package/src/layer/tileLoadedHelper.js +1 -1
- package/src/layer/tileProvider/tileProvider.js +4 -4
- package/src/layer/tileProvider/urlTemplateTileProvider.js +2 -2
- package/src/layer/vectorLayer.js +7 -6
- package/src/layer/vectorProperties.js +33 -33
- package/src/map/baseOLMap.js +18 -1
- package/src/map/cameraLimiter.js +9 -9
- package/src/map/cesiumMap.js +71 -138
- package/src/map/openlayersMap.js +1 -1
- package/src/map/vcsMap.js +29 -11
- package/src/oblique/helpers.js +3 -3
- package/src/oblique/obliqueDataSet.js +2 -2
- package/src/oblique/obliqueImage.js +8 -8
- package/src/oblique/obliqueImageMeta.js +2 -2
- package/src/oblique/parseImageJson.js +2 -2
- package/src/style/arcStyle.js +1 -1
- package/src/style/arrowStyle.js +1 -1
- package/src/style/declarativeStyleItem.js +13 -9
- package/src/style/styleHelpers.js +4 -4
- package/src/style/styleItem.js +5 -5
- package/src/style/vectorStyleItem.js +4 -4
- package/src/util/clipping/clippingObject.js +8 -8
- package/src/util/clipping/clippingObjectManager.js +1 -1
- package/src/util/clipping/clippingPlaneHelper.js +28 -28
- package/src/util/editor/editorHelpers.js +9 -9
- package/src/util/editor/interactions/editFeaturesMouseOverInteraction.js +2 -2
- package/src/util/editor/interactions/editGeometryMouseOverInteraction.js +2 -2
- package/src/util/editor/interactions/selectMultiFeatureInteraction.js +2 -2
- package/src/util/editor/interactions/selectSingleFeatureInteraction.js +2 -2
- package/src/util/editor/transformation/create2DHandlers.js +1 -1
- package/src/util/editor/transformation/create3DHandlers.js +21 -21
- package/src/util/editor/transformation/extrudeInteraction.js +1 -1
- package/src/util/editor/transformation/rotateInteraction.js +8 -8
- package/src/util/editor/transformation/scaleInteraction.js +6 -6
- package/src/util/editor/transformation/transformationHandler.js +1 -1
- package/src/util/editor/transformation/transformationTypes.js +2 -2
- package/src/util/editor/transformation/translateInteraction.js +6 -6
- package/src/util/featureconverter/arcToCesium.js +3 -3
- package/src/util/featureconverter/circleToCesium.js +8 -8
- package/src/util/featureconverter/convert.js +2 -2
- package/src/util/featureconverter/featureconverterHelper.js +18 -18
- package/src/util/featureconverter/lineStringToCesium.js +8 -8
- package/src/util/featureconverter/pointHelpers.js +20 -20
- package/src/util/featureconverter/pointToCesium.js +7 -7
- package/src/util/featureconverter/polygonToCesium.js +5 -5
- package/src/util/mapCollection.js +31 -25
- package/src/util/math.js +5 -5
- package/src/util/viewpoint.js +2 -2
- package/tests/unit/helpers/cesiumHelpers.js +1 -1
- package/tests/unit/helpers/helpers.js +1 -1
- package/tests/unit/helpers/terrain/terrainData.js +1 -1
- package/src/util/splitScreen.js +0 -233
package/index.d.ts
CHANGED
|
@@ -107,8 +107,8 @@ export class CategoryCollection extends IndexedCollection<Category<Object|VcsObj
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export interface VcsCameraPrimitiveOptions {
|
|
110
|
-
camera: import("@vcmap/
|
|
111
|
-
color?: import("@vcmap/
|
|
110
|
+
camera: import("@vcmap-cesium/engine").Camera;
|
|
111
|
+
color?: import("@vcmap-cesium/engine").Color | undefined;
|
|
112
112
|
show?: boolean | undefined;
|
|
113
113
|
allowPicking?: boolean | undefined;
|
|
114
114
|
id?: any | undefined;
|
|
@@ -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;
|
|
@@ -397,7 +397,7 @@ export interface InteractionEvent extends MapEvent {
|
|
|
397
397
|
/**
|
|
398
398
|
* a potential feature at said location
|
|
399
399
|
*/
|
|
400
|
-
feature?: undefined | import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
400
|
+
feature?: undefined | import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature | import("@vcmap-cesium/engine").Entity;
|
|
401
401
|
/**
|
|
402
402
|
* if set to true, the event chain is interrupted
|
|
403
403
|
*/
|
|
@@ -409,7 +409,7 @@ export interface InteractionEvent extends MapEvent {
|
|
|
409
409
|
/**
|
|
410
410
|
* potential ray
|
|
411
411
|
*/
|
|
412
|
-
ray?: import("@vcmap/
|
|
412
|
+
ray?: import("@vcmap-cesium/engine").Ray | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* whether the position is exact, eg with translucentDepthPicking on
|
|
415
415
|
*/
|
|
@@ -500,7 +500,7 @@ export interface EventHandlerExclusiveInteraction {
|
|
|
500
500
|
export interface MapEvent {
|
|
501
501
|
pointerEvent: PointerEventType;
|
|
502
502
|
map: VcsMap;
|
|
503
|
-
windowPosition: import("@vcmap/
|
|
503
|
+
windowPosition: import("@vcmap-cesium/engine").Cartesian2;
|
|
504
504
|
key: ModificationKeyType;
|
|
505
505
|
pointer: PointerKeyType;
|
|
506
506
|
/**
|
|
@@ -527,7 +527,7 @@ export interface LastClick {
|
|
|
527
527
|
/**
|
|
528
528
|
* vcs:undocumented
|
|
529
529
|
*/
|
|
530
|
-
windowPosition: import("@vcmap/
|
|
530
|
+
windowPosition: import("@vcmap-cesium/engine").Cartesian2;
|
|
531
531
|
/**
|
|
532
532
|
* vcs:undocumented
|
|
533
533
|
*/
|
|
@@ -682,7 +682,7 @@ export class BitCounter {
|
|
|
682
682
|
/**
|
|
683
683
|
* Enumeration of modification key types
|
|
684
684
|
*/
|
|
685
|
-
export
|
|
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
|
|
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
|
|
712
|
+
export enum PointerKeyType {
|
|
713
713
|
LEFT,
|
|
714
714
|
RIGHT,
|
|
715
715
|
MIDDLE,
|
|
@@ -719,18 +719,18 @@ export const enum PointerKeyType {
|
|
|
719
719
|
/**
|
|
720
720
|
* Enumeration of pointer key events.
|
|
721
721
|
*/
|
|
722
|
-
export
|
|
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
|
|
732
732
|
*/
|
|
733
|
-
export function getExtentFromTileset(cesium3DTileset: import("@vcmap/
|
|
733
|
+
export function getExtentFromTileset(cesium3DTileset: import("@vcmap-cesium/engine").Cesium3DTileset): import("ol/extent").Extent;
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
|
|
@@ -740,34 +740,34 @@ export function getExtentFromTileset(cesium3DTileset: import("@vcmap/cesium").Ce
|
|
|
740
740
|
export class CesiumTilesetCesiumImpl extends LayerImplementation<CesiumMap> implements FeatureLayerImplementation {
|
|
741
741
|
constructor(map: CesiumMap, options: CesiumTilesetImplementationOptions);
|
|
742
742
|
static className: string;
|
|
743
|
-
cesium3DTileset: import("@vcmap/
|
|
743
|
+
cesium3DTileset: import("@vcmap-cesium/engine").Cesium3DTileset;
|
|
744
744
|
tilesetOptions: any;
|
|
745
|
-
splitDirection: import("@vcmap/
|
|
745
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
746
746
|
style: StyleItem;
|
|
747
747
|
featureVisibility: FeatureVisibility;
|
|
748
748
|
globalHider: GlobalHider;
|
|
749
749
|
tilesetProperties: CesiumTilesetTilesetProperties[];
|
|
750
|
-
modelMatrix: import("@vcmap/
|
|
750
|
+
modelMatrix: import("@vcmap-cesium/engine").Matrix4;
|
|
751
751
|
offset: import("ol/coordinate").Coordinate;
|
|
752
752
|
initialize(): Promise<void>;
|
|
753
|
-
updateModelMatrix(modelMatrix?: import("@vcmap/
|
|
753
|
+
updateModelMatrix(modelMatrix?: import("@vcmap-cesium/engine").Matrix4): void;
|
|
754
754
|
updateOffset(offset?: import("ol/coordinate").Coordinate): void;
|
|
755
755
|
activate(): Promise<void>;
|
|
756
756
|
deactivate(): void;
|
|
757
757
|
updateStyle(style: StyleItem, silent?: boolean): void;
|
|
758
|
-
updateSplitDirection(splitDirection: import("@vcmap/
|
|
759
|
-
applyStyle(tile: import("@vcmap/
|
|
760
|
-
styleContent(content: import("@vcmap/
|
|
758
|
+
updateSplitDirection(splitDirection: import("@vcmap-cesium/engine").SplitDirection): void;
|
|
759
|
+
applyStyle(tile: import("@vcmap-cesium/engine").Cesium3DTile): void;
|
|
760
|
+
styleContent(content: import("@vcmap-cesium/engine").Cesium3DTileContent): void;
|
|
761
761
|
destroy(): void;
|
|
762
762
|
}
|
|
763
763
|
|
|
764
764
|
export class ClusterContext {
|
|
765
|
-
constructor(dataSource: import("@vcmap/
|
|
766
|
-
entities: import("@vcmap/
|
|
767
|
-
featureToBillboardMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/
|
|
768
|
-
featureToLabelMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/
|
|
769
|
-
addPrimitives(primitives: (import("@vcmap/
|
|
770
|
-
addScaledPrimitives(primitives: (import("@vcmap/
|
|
765
|
+
constructor(dataSource: import("@vcmap-cesium/engine").CustomDataSource);
|
|
766
|
+
entities: import("@vcmap-cesium/engine").EntityCollection;
|
|
767
|
+
featureToBillboardMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap-cesium/engine").Entity[]>;
|
|
768
|
+
featureToLabelMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap-cesium/engine").Entity[]>;
|
|
769
|
+
addPrimitives(primitives: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
770
|
+
addScaledPrimitives(primitives: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
771
771
|
addBillboards(billboardOptions: object[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
772
772
|
addLabels(labelOptions: object[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
773
773
|
removeFeature(feature: import("ol").Feature<import("ol/geom/Geometry").default>): void;
|
|
@@ -776,14 +776,15 @@ 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/engine").SplitDirection): void;
|
|
779
780
|
}
|
|
780
781
|
|
|
781
782
|
export class DataSourceCesiumImpl extends LayerImplementation<CesiumMap> {
|
|
782
783
|
constructor(map: CesiumMap, options: DataSourceImplementationOptions);
|
|
783
784
|
static className: string;
|
|
784
|
-
dataSource: import("@vcmap/
|
|
785
|
-
entities: import("@vcmap/
|
|
786
|
-
clock: import("@vcmap/
|
|
785
|
+
dataSource: import("@vcmap-cesium/engine").CustomDataSource | import("@vcmap-cesium/engine").CzmlDataSource;
|
|
786
|
+
entities: import("@vcmap-cesium/engine").EntityCollection;
|
|
787
|
+
clock: import("@vcmap-cesium/engine").DataSourceClock | undefined;
|
|
787
788
|
initialize(): Promise<void>;
|
|
788
789
|
activate(): Promise<void>;
|
|
789
790
|
deactivate(): void;
|
|
@@ -804,16 +805,16 @@ export class OpenStreetMapCesiumImpl extends RasterLayerCesiumImpl {
|
|
|
804
805
|
*/
|
|
805
806
|
export class RasterLayerCesiumImpl extends LayerImplementation<CesiumMap> implements RasterLayerImplementation {
|
|
806
807
|
constructor(map: CesiumMap, options: RasterLayerImplementationOptions);
|
|
807
|
-
cesiumLayer: import("@vcmap/
|
|
808
|
-
splitDirection: import("@vcmap/
|
|
808
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
809
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
809
810
|
minLevel: number;
|
|
810
811
|
maxLevel: number;
|
|
811
812
|
tilingSchema: string;
|
|
812
813
|
extent: Extent;
|
|
813
814
|
opacity: number;
|
|
814
815
|
initialize(): Promise<void>;
|
|
815
|
-
updateSplitDirection(splitDirection: import("@vcmap/
|
|
816
|
-
getCesiumLayer(): import("@vcmap/
|
|
816
|
+
updateSplitDirection(splitDirection: import("@vcmap-cesium/engine").SplitDirection): void;
|
|
817
|
+
getCesiumLayer(): import("@vcmap-cesium/engine").ImageryLayer;
|
|
817
818
|
activate(): Promise<void>;
|
|
818
819
|
deactivate(): void;
|
|
819
820
|
updateOpacity(opacity: number): void;
|
|
@@ -826,8 +827,8 @@ export class RasterLayerCesiumImpl extends LayerImplementation<CesiumMap> implem
|
|
|
826
827
|
export class SingleImageCesiumImpl extends RasterLayerCesiumImpl {
|
|
827
828
|
constructor(map: CesiumMap, options: SingleImageImplementationOptions);
|
|
828
829
|
credit: string;
|
|
829
|
-
cesiumLayer: import("@vcmap/
|
|
830
|
-
splitDirection: import("@vcmap/
|
|
830
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
831
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
831
832
|
minLevel: number;
|
|
832
833
|
maxLevel: number;
|
|
833
834
|
tilingSchema: string;
|
|
@@ -854,8 +855,8 @@ export class TerrainCesiumImpl extends LayerImplementation<CesiumMap> {
|
|
|
854
855
|
export class TmsCesiumImpl extends RasterLayerCesiumImpl {
|
|
855
856
|
constructor(map: CesiumMap, options: TMSImplementationOptions);
|
|
856
857
|
format: string;
|
|
857
|
-
cesiumLayer: import("@vcmap/
|
|
858
|
-
splitDirection: import("@vcmap/
|
|
858
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
859
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
859
860
|
minLevel: number;
|
|
860
861
|
maxLevel: number;
|
|
861
862
|
tilingSchema: string;
|
|
@@ -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/engine").SplitDirection;
|
|
875
877
|
style: StyleItem;
|
|
876
878
|
featureVisibility: FeatureVisibility;
|
|
877
879
|
|
|
@@ -886,46 +888,53 @@ 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/engine").SplitDirection): void;
|
|
889
892
|
protected _destroyCollection(): void;
|
|
890
893
|
destroy(): void;
|
|
891
894
|
}
|
|
892
895
|
|
|
893
896
|
export interface VectorContextFeatureCache {
|
|
894
|
-
primitives?: (import("@vcmap/
|
|
895
|
-
scaledPrimitives?: (import("@vcmap/
|
|
896
|
-
billboards?: (import("@vcmap/
|
|
897
|
-
labels?: (import("@vcmap/
|
|
897
|
+
primitives?: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[] | undefined;
|
|
898
|
+
scaledPrimitives?: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[] | undefined;
|
|
899
|
+
billboards?: (import("@vcmap-cesium/engine").Billboard | import("@vcmap-cesium/engine").Entity)[] | undefined;
|
|
900
|
+
labels?: (import("@vcmap-cesium/engine").Label | import("@vcmap-cesium/engine").Entity)[] | undefined;
|
|
898
901
|
}
|
|
899
902
|
|
|
900
|
-
export function setReferenceForPicking(feature: import("ol").Feature<import("ol/geom/Geometry").default>, primitive: import("@vcmap/
|
|
903
|
+
export function setReferenceForPicking(feature: import("ol").Feature<import("ol/geom/Geometry").default>, primitive: import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Label | import("@vcmap-cesium/engine").Billboard | import("@vcmap-cesium/engine").Entity | import("@vcmap-cesium/engine").Model): void;
|
|
901
904
|
|
|
902
|
-
export function removeArrayFromCollection(collection: import("@vcmap/
|
|
905
|
+
export function removeArrayFromCollection(collection: import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").BillboardCollection | import("@vcmap-cesium/engine").LabelCollection | import("@vcmap-cesium/engine").EntityCollection, array?: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Billboard | import("@vcmap-cesium/engine").Label | import("@vcmap-cesium/engine").Entity | import("@vcmap-cesium/engine").Model)[]): void;
|
|
903
906
|
|
|
904
907
|
/**
|
|
905
908
|
* @returns - if a feature was removed from the map
|
|
906
909
|
*/
|
|
907
|
-
export function removeFeatureFromMap(feature: import("ol").Feature<import("ol/geom/Geometry").default>, featuresMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/
|
|
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/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Billboard | import("@vcmap-cesium/engine").Label | import("@vcmap-cesium/engine").Entity | import("@vcmap-cesium/engine").Model)[]>, primitiveCollection: import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").BillboardCollection | import("@vcmap-cesium/engine").LabelCollection | import("@vcmap-cesium/engine").EntityCollection): boolean;
|
|
908
911
|
|
|
909
|
-
export function addPrimitiveToContext(primitives: (import("@vcmap/
|
|
912
|
+
export function addPrimitiveToContext(primitives: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Entity.ConstructorOptions | import("@vcmap-cesium/engine").Model | object)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking: boolean, primitiveCollection: import("@vcmap-cesium/engine").BillboardCollection | import("@vcmap-cesium/engine").LabelCollection | import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").EntityCollection, featureMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap-cesium/engine").Billboard | import("@vcmap-cesium/engine").Label | import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Entity | import("@vcmap-cesium/engine").Model)[]>, splitDirection?: import("@vcmap-cesium/engine").SplitDirection): void;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Sets splitDirection on primitives. Currently only Model primitives support splitting.
|
|
916
|
+
*/
|
|
917
|
+
export function setSplitDirectionOnPrimitives(splitDirection: import("@vcmap-cesium/engine").SplitDirection, primitives: import("@vcmap-cesium/engine").PrimitiveCollection): void;
|
|
910
918
|
|
|
911
919
|
/**
|
|
912
920
|
* Creates a self scaling primitive collection. It will scale a primitive of model in the collection
|
|
913
921
|
* in such a fashion, that the cartesian unit of 1 equals 1 pixel.
|
|
914
922
|
*/
|
|
915
|
-
export function setupScalingPrimitiveCollection(map: CesiumMap, primitiveCollection: import("@vcmap/
|
|
923
|
+
export function setupScalingPrimitiveCollection(map: CesiumMap, primitiveCollection: import("@vcmap-cesium/engine").PrimitiveCollection, dirtyRef: any): (...params: any[]) => any;
|
|
916
924
|
|
|
917
925
|
export class VectorContext {
|
|
918
|
-
constructor(map: CesiumMap, rootCollection: import("@vcmap/
|
|
919
|
-
primitives: import("@vcmap/
|
|
920
|
-
scaledPrimitives: import("@vcmap/
|
|
921
|
-
billboards: import("@vcmap/
|
|
922
|
-
labels: import("@vcmap/
|
|
923
|
-
featureToPrimitiveMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/
|
|
924
|
-
featureToScaledPrimitiveMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap/
|
|
925
|
-
featureToBillboardMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/
|
|
926
|
-
featureToLabelMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap/
|
|
927
|
-
|
|
928
|
-
|
|
926
|
+
constructor(map: CesiumMap, rootCollection: import("@vcmap-cesium/engine").PrimitiveCollection, splitDirection: import("@vcmap-cesium/engine").SplitDirection);
|
|
927
|
+
primitives: import("@vcmap-cesium/engine").PrimitiveCollection;
|
|
928
|
+
scaledPrimitives: import("@vcmap-cesium/engine").PrimitiveCollection;
|
|
929
|
+
billboards: import("@vcmap-cesium/engine").BillboardCollection;
|
|
930
|
+
labels: import("@vcmap-cesium/engine").LabelCollection;
|
|
931
|
+
featureToPrimitiveMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[]>;
|
|
932
|
+
featureToScaledPrimitiveMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[]>;
|
|
933
|
+
featureToBillboardMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap-cesium/engine").Billboard[]>;
|
|
934
|
+
featureToLabelMap: Map<import("ol").Feature<import("ol/geom/Geometry").default>, import("@vcmap-cesium/engine").Label[]>;
|
|
935
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
936
|
+
addPrimitives(primitives: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").Model)[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
937
|
+
addScaledPrimitives(primitives: (import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | import("@vcmap-cesium/engine").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;
|
|
930
939
|
addLabels(labelOptions: object[], feature: import("ol").Feature<import("ol/geom/Geometry").default>, allowPicking?: boolean): void;
|
|
931
940
|
removeFeature(feature: import("ol").Feature<import("ol/geom/Geometry").default>): 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/engine").SplitDirection): void;
|
|
937
950
|
/**
|
|
938
951
|
* Clears all collections and maps
|
|
939
952
|
*/
|
|
@@ -960,8 +973,8 @@ export class VectorRasterTileCesiumImpl extends RasterLayerCesiumImpl implements
|
|
|
960
973
|
*/
|
|
961
974
|
updateTiles(tileIds: string[]): void;
|
|
962
975
|
updateStyle(style: StyleItem, silent?: boolean): void;
|
|
963
|
-
cesiumLayer: import("@vcmap/
|
|
964
|
-
splitDirection: import("@vcmap/
|
|
976
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
977
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
965
978
|
minLevel: number;
|
|
966
979
|
maxLevel: number;
|
|
967
980
|
tilingSchema: string;
|
|
@@ -974,7 +987,7 @@ export function toContext(extent: import("ol/extent").Extent, center: import("ol
|
|
|
974
987
|
/**
|
|
975
988
|
* creates a canvas and draws the features on the canvas;
|
|
976
989
|
*/
|
|
977
|
-
export function getCanvasFromFeatures(features: import("ol").Feature<import("ol/geom/Geometry").default>[], extent: import("ol/extent").Extent, center: import("@vcmap/
|
|
990
|
+
export function getCanvasFromFeatures(features: import("ol").Feature<import("ol/geom/Geometry").default>[], extent: import("ol/extent").Extent, center: import("@vcmap-cesium/engine").Cartographic, tileSize: import("ol/size").Size): HTMLCanvasElement;
|
|
978
991
|
|
|
979
992
|
export interface VectorTileImageryProviderOptions {
|
|
980
993
|
tileProvider: TileProvider;
|
|
@@ -1024,8 +1037,8 @@ export class WmsCesiumImpl extends RasterLayerCesiumImpl {
|
|
|
1024
1037
|
};
|
|
1025
1038
|
highResolution: boolean;
|
|
1026
1039
|
tileSize: import("ol/size").Size;
|
|
1027
|
-
cesiumLayer: import("@vcmap/
|
|
1028
|
-
splitDirection: import("@vcmap/
|
|
1040
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
1041
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
1029
1042
|
minLevel: number;
|
|
1030
1043
|
maxLevel: number;
|
|
1031
1044
|
tilingSchema: string;
|
|
@@ -1046,8 +1059,8 @@ export class WmtsCesiumImpl extends RasterLayerCesiumImpl {
|
|
|
1046
1059
|
numberOfLevelZeroTilesX: number;
|
|
1047
1060
|
numberOfLevelZeroTilesY: number;
|
|
1048
1061
|
matrixIds: string[];
|
|
1049
|
-
cesiumLayer: import("@vcmap/
|
|
1050
|
-
splitDirection: import("@vcmap/
|
|
1062
|
+
cesiumLayer: import("@vcmap-cesium/engine").ImageryLayer | null;
|
|
1063
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
1051
1064
|
minLevel: number;
|
|
1052
1065
|
maxLevel: number;
|
|
1053
1066
|
tilingSchema: string;
|
|
@@ -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
|
-
modelMatrix?: import("@vcmap/
|
|
1103
|
+
modelMatrix?: import("@vcmap-cesium/engine").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
|
|
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/engine").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/engine").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})
|
|
@@ -1229,8 +1235,8 @@ export class CzmlLayer extends DataSourceLayer {
|
|
|
1229
1235
|
/**
|
|
1230
1236
|
* The entities of this layer. Use the `addEntity` API to add Enitities to ensure interoperability with vcm interfaces
|
|
1231
1237
|
*/
|
|
1232
|
-
entities: import("@vcmap/
|
|
1233
|
-
clock: import("@vcmap/
|
|
1238
|
+
entities: import("@vcmap-cesium/engine").EntityCollection;
|
|
1239
|
+
clock: import("@vcmap-cesium/engine").DataSourceClock | undefined;
|
|
1234
1240
|
/**
|
|
1235
1241
|
* The feature visibility of this layer. NOTE: Entities cannot be highlighted at this moment.
|
|
1236
1242
|
*/
|
|
@@ -1306,14 +1312,14 @@ export class CzmlLayer extends DataSourceLayer {
|
|
|
1306
1312
|
}
|
|
1307
1313
|
|
|
1308
1314
|
export interface DataSourcePickedObject {
|
|
1309
|
-
id: import("@vcmap/
|
|
1315
|
+
id: import("@vcmap-cesium/engine").Entity;
|
|
1310
1316
|
clickedPosition: ClickPosition;
|
|
1311
1317
|
attributes: any;
|
|
1312
1318
|
}
|
|
1313
1319
|
|
|
1314
1320
|
export interface DataSourceImplementationOptions extends LayerImplementationOptions {
|
|
1315
|
-
entities: import("@vcmap/
|
|
1316
|
-
clock?: import("@vcmap/
|
|
1321
|
+
entities: import("@vcmap-cesium/engine").EntityCollection;
|
|
1322
|
+
clock?: import("@vcmap-cesium/engine").DataSourceClock | undefined;
|
|
1317
1323
|
}
|
|
1318
1324
|
|
|
1319
1325
|
/**
|
|
@@ -1324,8 +1330,8 @@ export class DataSourceLayer extends Layer {
|
|
|
1324
1330
|
/**
|
|
1325
1331
|
* The entities of this layer. Use the `addEntity` API to add Enitities to ensure interoperability with vcm interfaces
|
|
1326
1332
|
*/
|
|
1327
|
-
entities: import("@vcmap/
|
|
1328
|
-
clock: import("@vcmap/
|
|
1333
|
+
entities: import("@vcmap-cesium/engine").EntityCollection;
|
|
1334
|
+
clock: import("@vcmap-cesium/engine").DataSourceClock | undefined;
|
|
1329
1335
|
/**
|
|
1330
1336
|
* The feature visibility of this layer. NOTE: Entities cannot be highlighted at this moment.
|
|
1331
1337
|
*/
|
|
@@ -1337,7 +1343,7 @@ export class DataSourceLayer extends Layer {
|
|
|
1337
1343
|
* @param [allowPicking] - whether to override the layers allowPicking setting for this entity
|
|
1338
1344
|
* @returns the entities id
|
|
1339
1345
|
*/
|
|
1340
|
-
addEntity(options: import("@vcmap/
|
|
1346
|
+
addEntity(options: import("@vcmap-cesium/engine").Entity.ConstructorOptions | import("@vcmap-cesium/engine").Entity, attributes?: any, allowPicking?: boolean): null | string;
|
|
1341
1347
|
/**
|
|
1342
1348
|
* Zooms to an entity with the given id
|
|
1343
1349
|
*/
|
|
@@ -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/engine").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/engine").SplitDirection>;
|
|
1456
1475
|
/**
|
|
1457
1476
|
* FeatureVisibility tracks the highlighting and hiding of features on this layer
|
|
1458
1477
|
*/
|
|
@@ -1465,7 +1484,8 @@ export class FeatureLayer extends Layer {
|
|
|
1465
1484
|
* style, use setStyle to change
|
|
1466
1485
|
*/
|
|
1467
1486
|
readonly style: StyleItem;
|
|
1468
|
-
|
|
1487
|
+
splitDirection: any;
|
|
1488
|
+
objectClickedHandler(object: any | import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTilePointFeature | import("@vcmap-cesium/engine").Cesium3DTileFeature | DataSourcePickedObject): any;
|
|
1469
1489
|
getStyleOrDefaultStyle(styleOptions?: DeclarativeStyleItemOptions | VectorStyleItemOptions | StyleItem, defaultStyle?: VectorStyleItem | DeclarativeStyleItem): StyleItem;
|
|
1470
1490
|
/**
|
|
1471
1491
|
* Sets the style based on a styleName on a layer
|
|
@@ -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/engine").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/engine").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
|
|
1877
|
+
export enum FeatureStoreLayerState {
|
|
1852
1878
|
DYNAMIC,
|
|
1853
1879
|
STATIC,
|
|
1854
1880
|
EDITED
|
|
@@ -1858,29 +1884,29 @@ 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;
|
|
1883
|
-
features: Set<import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
1909
|
+
features: Set<import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature>;
|
|
1884
1910
|
}
|
|
1885
1911
|
|
|
1886
1912
|
export interface FeatureVisibilityEvent {
|
|
@@ -1888,12 +1914,12 @@ export interface FeatureVisibilityEvent {
|
|
|
1888
1914
|
ids: string[];
|
|
1889
1915
|
}
|
|
1890
1916
|
|
|
1891
|
-
export function featureExists(feature: import("@vcmap/
|
|
1917
|
+
export function featureExists(feature: import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature): boolean;
|
|
1892
1918
|
|
|
1893
1919
|
/**
|
|
1894
1920
|
* Enumeration of feature visibility actions.
|
|
1895
1921
|
*/
|
|
1896
|
-
export
|
|
1922
|
+
export enum FeatureVisibilityAction {
|
|
1897
1923
|
HIGHLIGHT,
|
|
1898
1924
|
UNHIGHLIGHT,
|
|
1899
1925
|
HIDE,
|
|
@@ -1909,7 +1935,7 @@ export function synchronizeFeatureVisibility(source: FeatureVisibility, destinat
|
|
|
1909
1935
|
*/
|
|
1910
1936
|
export class FeatureVisibility {
|
|
1911
1937
|
hiddenObjects: {
|
|
1912
|
-
[key: string]: Set<import("@vcmap/
|
|
1938
|
+
[key: string]: Set<import("@vcmap-cesium/engine").Cesium3DTileFeature | import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Entity>;
|
|
1913
1939
|
};
|
|
1914
1940
|
highlightedObjects: {
|
|
1915
1941
|
[key: string]: HighlightedObject;
|
|
@@ -1921,13 +1947,13 @@ export class FeatureVisibility {
|
|
|
1921
1947
|
*/
|
|
1922
1948
|
changed: VcsEvent<FeatureVisibilityEvent>;
|
|
1923
1949
|
/**
|
|
1924
|
-
* highlights a number of features by ID (import("@vcmap/
|
|
1950
|
+
* highlights a number of features by ID (import("@vcmap-cesium/engine").Cesium3DTileFeature|ol/Feature) with the given color.
|
|
1925
1951
|
*/
|
|
1926
1952
|
highlight(toHighlight: {
|
|
1927
|
-
[key: string]: VectorStyleItem | import("@vcmap/
|
|
1953
|
+
[key: string]: VectorStyleItem | import("@vcmap-cesium/engine").Color | import("ol/style/Style").default;
|
|
1928
1954
|
}): void;
|
|
1929
1955
|
/**
|
|
1930
|
-
* unhighlights a number of features given by the ID (import("@vcmap/
|
|
1956
|
+
* unhighlights a number of features given by the ID (import("@vcmap-cesium/engine").Cesium3DTileFeature|import("ol").Feature<import("ol/geom/Geometry").default>)
|
|
1931
1957
|
* @param toUnHighlight - Array with IDS to unhighlight
|
|
1932
1958
|
*/
|
|
1933
1959
|
unHighlight(toUnHighlight: string[]): void;
|
|
@@ -1935,8 +1961,8 @@ export class FeatureVisibility {
|
|
|
1935
1961
|
* clears all highlighted objects
|
|
1936
1962
|
*/
|
|
1937
1963
|
clearHighlighting(): void;
|
|
1938
|
-
hasHighlightFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
1939
|
-
addHighlightFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
1964
|
+
hasHighlightFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature): boolean;
|
|
1965
|
+
addHighlightFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature): void;
|
|
1940
1966
|
/**
|
|
1941
1967
|
* hides a number of objects
|
|
1942
1968
|
* @param toHide - A list of Object Ids which will be hidden
|
|
@@ -1951,8 +1977,8 @@ export class FeatureVisibility {
|
|
|
1951
1977
|
* clears all the hidden objects
|
|
1952
1978
|
*/
|
|
1953
1979
|
clearHiddenObjects(): void;
|
|
1954
|
-
hasHiddenFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
1955
|
-
addHiddenFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
1980
|
+
hasHiddenFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Entity): boolean;
|
|
1981
|
+
addHiddenFeature(id: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Entity): void;
|
|
1956
1982
|
/**
|
|
1957
1983
|
* Clears all caches and removes cesium events.
|
|
1958
1984
|
*/
|
|
@@ -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/engine").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/engine").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})
|
|
@@ -2197,13 +2229,13 @@ export class GlobalHider {
|
|
|
2197
2229
|
* Subtract from the hide count for an Array of ids. If the array reaches 0, features with said UUID will be shown
|
|
2198
2230
|
*/
|
|
2199
2231
|
showObjects(uuids: string[]): void;
|
|
2200
|
-
addFeature(uuid: number | string, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
2201
|
-
hasFeature(uuid: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap/
|
|
2232
|
+
addFeature(uuid: number | string, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature | import("@vcmap-cesium/engine").Entity): void;
|
|
2233
|
+
hasFeature(uuid: string | number, feature: import("ol").Feature<import("ol/geom/Geometry").default> | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature | import("@vcmap-cesium/engine").Entity): boolean;
|
|
2202
2234
|
}
|
|
2203
2235
|
|
|
2204
2236
|
export interface SplitLayer extends Layer {
|
|
2205
|
-
splitDirection: import("@vcmap/
|
|
2206
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
2237
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
2238
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
2207
2239
|
}
|
|
2208
2240
|
|
|
2209
2241
|
export interface CopyrightOptions {
|
|
@@ -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/engine").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
|
|
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/engine").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
|
|
|
@@ -2587,7 +2626,7 @@ export class OpenStreetMapLayer extends Layer implements SplitLayer {
|
|
|
2587
2626
|
/**
|
|
2588
2627
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
2589
2628
|
*/
|
|
2590
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
2629
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
2591
2630
|
/**
|
|
2592
2631
|
* The maximum level to load. Changing requires a redraw to take effect.
|
|
2593
2632
|
*/
|
|
@@ -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/engine").SplitDirection;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2667
2710
|
/**
|
|
2668
|
-
* Layer implementation for {@link
|
|
2711
|
+
* Layer implementation for {@link OpenlayersMap}.
|
|
2669
2712
|
*/
|
|
2670
2713
|
export class LayerOpenlayersImpl extends LayerImplementation<OpenlayersMap> {
|
|
2671
|
-
constructor(map: OpenlayersMap, options:
|
|
2714
|
+
constructor(map: OpenlayersMap, options: LayerOpenlayersImplementationOptions);
|
|
2672
2715
|
olLayer: import("ol/layer").Layer<import("ol/source/Source").default> | null;
|
|
2716
|
+
splitDirection: import("@vcmap-cesium/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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/engine").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
|
|
3063
|
+
export enum TilingScheme {
|
|
3018
3064
|
GEOGRAPHIC,
|
|
3019
3065
|
MERCATOR
|
|
3020
3066
|
}
|
|
@@ -3022,9 +3068,9 @@ export const enum TilingScheme {
|
|
|
3022
3068
|
/**
|
|
3023
3069
|
* Gets the tiling scheme associated with this layerConfig
|
|
3024
3070
|
*/
|
|
3025
|
-
export function getTilingScheme(layerOptions: any): import("@vcmap/
|
|
3071
|
+
export function getTilingScheme(layerOptions: any): import("@vcmap-cesium/engine").WebMercatorTilingScheme | import("@vcmap-cesium/engine").GeographicTilingScheme;
|
|
3026
3072
|
|
|
3027
|
-
export function calculateMinLevel(extent: Extent, tilingScheme: import("@vcmap/
|
|
3073
|
+
export function calculateMinLevel(extent: Extent, tilingScheme: import("@vcmap-cesium/engine").GeographicTilingScheme | import("@vcmap-cesium/engine").WebMercatorTilingScheme, maxLevel: number, minLevel?: number): number;
|
|
3028
3074
|
|
|
3029
3075
|
|
|
3030
3076
|
|
|
@@ -3045,7 +3091,7 @@ export class RasterLayer extends Layer implements SplitLayer {
|
|
|
3045
3091
|
/**
|
|
3046
3092
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
3047
3093
|
*/
|
|
3048
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
3094
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
3049
3095
|
splitDirection: any;
|
|
3050
3096
|
opacity: any;
|
|
3051
3097
|
/**
|
|
@@ -3152,11 +3198,11 @@ export class SingleImageLayer extends RasterLayer {
|
|
|
3152
3198
|
/**
|
|
3153
3199
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
3154
3200
|
*/
|
|
3155
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
3201
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
3156
3202
|
/**
|
|
3157
3203
|
* The split directions of this layer
|
|
3158
3204
|
*/
|
|
3159
|
-
splitDirection: import("@vcmap/
|
|
3205
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
3160
3206
|
/**
|
|
3161
3207
|
* The opacity between 0 (fully transparent) and 1 (fully opaque)
|
|
3162
3208
|
*/
|
|
@@ -3237,18 +3283,18 @@ export interface TerrainProviderOptions {
|
|
|
3237
3283
|
requestWaterMask?: boolean | undefined;
|
|
3238
3284
|
}
|
|
3239
3285
|
|
|
3240
|
-
export function getTerrainProviderForUrl(options: TerrainProviderOptions): import("@vcmap/
|
|
3286
|
+
export function getTerrainProviderForUrl(options: TerrainProviderOptions): import("@vcmap-cesium/engine").CesiumTerrainProvider;
|
|
3241
3287
|
|
|
3242
3288
|
/**
|
|
3243
3289
|
* changes input coordinate Array in place, new height can also be accessed by coordinates[x][2]
|
|
3244
3290
|
* @param [optSourceProjection] - if input is not WGS84
|
|
3245
3291
|
*/
|
|
3246
|
-
export function getHeightFromTerrainProvider(terrainProvider: import("@vcmap/
|
|
3292
|
+
export function getHeightFromTerrainProvider(terrainProvider: import("@vcmap-cesium/engine").CesiumTerrainProvider, coordinates: import("ol/coordinate").Coordinate[], optSourceProjection?: Projection, result?: import("ol/coordinate").Coordinate[]): Promise<import("ol/coordinate").Coordinate[]>;
|
|
3247
3293
|
|
|
3248
3294
|
/**
|
|
3249
3295
|
* checks, whether a terrain tile is available at given position or not
|
|
3250
3296
|
*/
|
|
3251
|
-
export function isTerrainTileAvailable(terrainProvider: import("@vcmap/
|
|
3297
|
+
export function isTerrainTileAvailable(terrainProvider: import("@vcmap-cesium/engine").CesiumTerrainProvider, level: number, position: import("@vcmap-cesium/engine").Cartographic): boolean;
|
|
3252
3298
|
|
|
3253
3299
|
/**
|
|
3254
3300
|
*/
|
|
@@ -3353,7 +3399,7 @@ export class TerrainLayer extends Layer {
|
|
|
3353
3399
|
|
|
3354
3400
|
export function tiledLayerLoaded(layer: CesiumTilesetLayer | FeatureStoreLayer, timeout?: number): Promise<void>;
|
|
3355
3401
|
|
|
3356
|
-
export function globeLoaded(globe: import("@vcmap/
|
|
3402
|
+
export function globeLoaded(globe: import("@vcmap-cesium/engine").Globe, timeout?: number): Promise<void>;
|
|
3357
3403
|
|
|
3358
3404
|
/**
|
|
3359
3405
|
*/
|
|
@@ -3384,7 +3430,7 @@ export class MVTTileProvider extends TileProvider {
|
|
|
3384
3430
|
/**
|
|
3385
3431
|
* Cesium Webmercator TilingScheme
|
|
3386
3432
|
*/
|
|
3387
|
-
readonly tilingScheme: import("@vcmap/
|
|
3433
|
+
readonly tilingScheme: import("@vcmap-cesium/engine").WebMercatorTilingScheme;
|
|
3388
3434
|
/**
|
|
3389
3435
|
* sorted baseLevels, maximumLevel first example: [18,17,16]
|
|
3390
3436
|
*/
|
|
@@ -3439,7 +3485,7 @@ export class StaticGeoJSONTileProvider extends TileProvider {
|
|
|
3439
3485
|
/**
|
|
3440
3486
|
* Cesium Webmercator TilingScheme
|
|
3441
3487
|
*/
|
|
3442
|
-
readonly tilingScheme: import("@vcmap/
|
|
3488
|
+
readonly tilingScheme: import("@vcmap-cesium/engine").WebMercatorTilingScheme;
|
|
3443
3489
|
/**
|
|
3444
3490
|
* sorted baseLevels, maximumLevel first example: [18,17,16]
|
|
3445
3491
|
*/
|
|
@@ -3493,7 +3539,7 @@ export const mercatorResolutionsToLevel: number[];
|
|
|
3493
3539
|
* @param rectangle - in wgs84 radians
|
|
3494
3540
|
* @returns extent in mercator
|
|
3495
3541
|
*/
|
|
3496
|
-
export function rectangleToExtent(rectangle: import("@vcmap/
|
|
3542
|
+
export function rectangleToExtent(rectangle: import("@vcmap-cesium/engine").Rectangle): import("ol/extent").Extent;
|
|
3497
3543
|
|
|
3498
3544
|
/**
|
|
3499
3545
|
*/
|
|
@@ -3539,7 +3585,7 @@ export class TileProvider extends VcsObject {
|
|
|
3539
3585
|
/**
|
|
3540
3586
|
* Cesium Webmercator TilingScheme
|
|
3541
3587
|
*/
|
|
3542
|
-
readonly tilingScheme: import("@vcmap/
|
|
3588
|
+
readonly tilingScheme: import("@vcmap-cesium/engine").WebMercatorTilingScheme;
|
|
3543
3589
|
/**
|
|
3544
3590
|
* sorted baseLevels, maximumLevel first example: [18,17,16]
|
|
3545
3591
|
*/
|
|
@@ -3652,7 +3698,7 @@ export interface URLTemplateTileProviderOptions extends TileProviderOptions {
|
|
|
3652
3698
|
* replaces {minx}, {miny}, {maxx}, {maxy} with extent of the tile if tilingExtent is provided
|
|
3653
3699
|
* replaces {locale} with the given locale
|
|
3654
3700
|
*/
|
|
3655
|
-
export function getURL(url: string, x: number, y: number, z: number, tilingExtent?: import("@vcmap/
|
|
3701
|
+
export function getURL(url: string, x: number, y: number, z: number, tilingExtent?: import("@vcmap-cesium/engine").Rectangle, locale?: string): string;
|
|
3656
3702
|
|
|
3657
3703
|
/**
|
|
3658
3704
|
* TileProvider loads GeojsonLayer from the provided URL. The URL has placeholders:
|
|
@@ -3672,7 +3718,7 @@ export class URLTemplateTileProvider extends TileProvider {
|
|
|
3672
3718
|
/**
|
|
3673
3719
|
* Cesium Webmercator TilingScheme
|
|
3674
3720
|
*/
|
|
3675
|
-
readonly tilingScheme: import("@vcmap/
|
|
3721
|
+
readonly tilingScheme: import("@vcmap-cesium/engine").WebMercatorTilingScheme;
|
|
3676
3722
|
/**
|
|
3677
3723
|
* sorted baseLevels, maximumLevel first example: [18,17,16]
|
|
3678
3724
|
*/
|
|
@@ -3735,11 +3781,11 @@ export class TMSLayer extends RasterLayer {
|
|
|
3735
3781
|
/**
|
|
3736
3782
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
3737
3783
|
*/
|
|
3738
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
3784
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
3739
3785
|
/**
|
|
3740
3786
|
* The split directions of this layer
|
|
3741
3787
|
*/
|
|
3742
|
-
splitDirection: import("@vcmap/
|
|
3788
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
3743
3789
|
/**
|
|
3744
3790
|
* The opacity between 0 (fully transparent) and 1 (fully opaque)
|
|
3745
3791
|
*/
|
|
@@ -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
|
|
|
@@ -3886,7 +3932,7 @@ export interface VectorHeightInfo {
|
|
|
3886
3932
|
/**
|
|
3887
3933
|
* heightReference of the feature.
|
|
3888
3934
|
*/
|
|
3889
|
-
heightReference: import("@vcmap/
|
|
3935
|
+
heightReference: import("@vcmap-cesium/engine").HeightReference;
|
|
3890
3936
|
heightAboveGroundAdjustment: number;
|
|
3891
3937
|
}
|
|
3892
3938
|
|
|
@@ -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/engine").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/engine").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
|
|
4250
|
+
export enum PrimitiveOptionsType {
|
|
4197
4251
|
CYLINDER,
|
|
4198
4252
|
SPHERE,
|
|
4199
4253
|
ELLIPSE,
|
|
@@ -4201,34 +4255,34 @@ export const enum PrimitiveOptionsType {
|
|
|
4201
4255
|
BOC
|
|
4202
4256
|
}
|
|
4203
4257
|
|
|
4204
|
-
export
|
|
4258
|
+
export enum AltitudeModeCesium {
|
|
4205
4259
|
clampToGround,
|
|
4206
4260
|
absolute,
|
|
4207
4261
|
relativeToGround
|
|
4208
4262
|
}
|
|
4209
4263
|
|
|
4210
|
-
export
|
|
4264
|
+
export enum ClassificationTypeCesium {
|
|
4211
4265
|
both,
|
|
4212
4266
|
cesium3DTile,
|
|
4213
4267
|
terrain
|
|
4214
4268
|
}
|
|
4215
4269
|
|
|
4216
|
-
export function parseNearFarScalar(value: number[], defaultValue: import("@vcmap/
|
|
4270
|
+
export function parseNearFarScalar(value: number[], defaultValue: import("@vcmap-cesium/engine").NearFarScalar | undefined): import("@vcmap-cesium/engine").NearFarScalar | undefined;
|
|
4217
4271
|
|
|
4218
|
-
export function parseCartesian3(value: number[], defaultValue: import("@vcmap/
|
|
4272
|
+
export function parseCartesian3(value: number[], defaultValue: import("@vcmap-cesium/engine").Cartesian3 | undefined): import("@vcmap-cesium/engine").Cartesian3 | undefined;
|
|
4219
4273
|
|
|
4220
4274
|
/**
|
|
4221
4275
|
* returns a storeyHeight array
|
|
4222
4276
|
*/
|
|
4223
4277
|
export function parseStoreyHeights(storeyHeights: number[] | number, defaultStoreyHeights: number[] | number): number[];
|
|
4224
4278
|
|
|
4225
|
-
export function getAltitudeModeOptions(altitudeMode: import("@vcmap/
|
|
4279
|
+
export function getAltitudeModeOptions(altitudeMode: import("@vcmap-cesium/engine").HeightReference): string;
|
|
4226
4280
|
|
|
4227
|
-
export function getClassificationTypeOptions(classificationType: import("@vcmap/
|
|
4281
|
+
export function getClassificationTypeOptions(classificationType: import("@vcmap-cesium/engine").ClassificationType): string;
|
|
4228
4282
|
|
|
4229
|
-
export function getNearFarValueOptions(nearFarScalar: import("@vcmap/
|
|
4283
|
+
export function getNearFarValueOptions(nearFarScalar: import("@vcmap-cesium/engine").NearFarScalar): number[] | undefined;
|
|
4230
4284
|
|
|
4231
|
-
export function getCartesian3Options(cartesian3: import("@vcmap/
|
|
4285
|
+
export function getCartesian3Options(cartesian3: import("@vcmap-cesium/engine").Cartesian3): number[] | undefined;
|
|
4232
4286
|
|
|
4233
4287
|
/**
|
|
4234
4288
|
* Properties Collection for VectorLayer Features
|
|
@@ -4244,15 +4298,15 @@ export class VectorProperties {
|
|
|
4244
4298
|
*/
|
|
4245
4299
|
readonly propertyChanged: VcsEvent<string[]>;
|
|
4246
4300
|
altitudeMode: any;
|
|
4247
|
-
getAltitudeMode(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap/
|
|
4301
|
+
getAltitudeMode(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap-cesium/engine").HeightReference;
|
|
4248
4302
|
allowPicking: any;
|
|
4249
4303
|
getAllowPicking(feature: import("ol").Feature<import("ol/geom/Geometry").default>): boolean;
|
|
4250
4304
|
classificationType: any;
|
|
4251
|
-
getClassificationType(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap/
|
|
4305
|
+
getClassificationType(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap-cesium/engine").ClassificationType | undefined;
|
|
4252
4306
|
scaleByDistance: any;
|
|
4253
|
-
getScaleByDistance(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap/
|
|
4307
|
+
getScaleByDistance(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap-cesium/engine").NearFarScalar | undefined;
|
|
4254
4308
|
eyeOffset: any;
|
|
4255
|
-
getEyeOffset(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap/
|
|
4309
|
+
getEyeOffset(feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap-cesium/engine").Cartesian3;
|
|
4256
4310
|
heightAboveGround: any;
|
|
4257
4311
|
getHeightAboveGround(feature: import("ol").Feature<import("ol/geom/Geometry").default>): number;
|
|
4258
4312
|
skirt: any;
|
|
@@ -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/engine").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/engine").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/engine").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/engine").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})
|
|
@@ -4723,11 +4789,11 @@ export class WMSLayer extends RasterLayer {
|
|
|
4723
4789
|
/**
|
|
4724
4790
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
4725
4791
|
*/
|
|
4726
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
4792
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
4727
4793
|
/**
|
|
4728
4794
|
* The split directions of this layer
|
|
4729
4795
|
*/
|
|
4730
|
-
splitDirection: import("@vcmap/
|
|
4796
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
4731
4797
|
/**
|
|
4732
4798
|
* The opacity between 0 (fully transparent) and 1 (fully opaque)
|
|
4733
4799
|
*/
|
|
@@ -4853,11 +4919,11 @@ export class WMTSLayer extends RasterLayer {
|
|
|
4853
4919
|
/**
|
|
4854
4920
|
* raised if the split direction changes, is passed the split direction as its only argument
|
|
4855
4921
|
*/
|
|
4856
|
-
splitDirectionChanged: VcsEvent<import("@vcmap/
|
|
4922
|
+
splitDirectionChanged: VcsEvent<import("@vcmap-cesium/engine").SplitDirection>;
|
|
4857
4923
|
/**
|
|
4858
4924
|
* The split directions of this layer
|
|
4859
4925
|
*/
|
|
4860
|
-
splitDirection: import("@vcmap/
|
|
4926
|
+
splitDirection: import("@vcmap-cesium/engine").SplitDirection;
|
|
4861
4927
|
/**
|
|
4862
4928
|
* The opacity between 0 (fully transparent) and 1 (fully opaque)
|
|
4863
4929
|
*/
|
|
@@ -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
|
-
*
|
|
5045
|
+
* The split position to use on this map. Is set by the mapCollection
|
|
4975
5046
|
*/
|
|
4976
|
-
|
|
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
|
|
5099
|
+
export enum CameraLimiterMode {
|
|
5029
5100
|
HEIGHT,
|
|
5030
5101
|
DISTANCE
|
|
5031
5102
|
}
|
|
@@ -5051,12 +5122,12 @@ export class CameraLimiter {
|
|
|
5051
5122
|
/**
|
|
5052
5123
|
* last checked camera position
|
|
5053
5124
|
*/
|
|
5054
|
-
lastCheckedPosition: import("@vcmap/
|
|
5125
|
+
lastCheckedPosition: import("@vcmap-cesium/engine").Cartographic;
|
|
5055
5126
|
terrainUrl: any;
|
|
5056
5127
|
/**
|
|
5057
5128
|
* Limits the given camera based on this limiters specs.
|
|
5058
5129
|
*/
|
|
5059
|
-
limitCamera(camera: import("@vcmap/
|
|
5130
|
+
limitCamera(camera: import("@vcmap-cesium/engine").Camera): Promise<void>;
|
|
5060
5131
|
toJSON(): CameraLimiterOptions;
|
|
5061
5132
|
}
|
|
5062
5133
|
|
|
@@ -5083,8 +5154,8 @@ export interface CesiumMapOptions extends VcsMapOptions {
|
|
|
5083
5154
|
}
|
|
5084
5155
|
|
|
5085
5156
|
export interface CesiumMapEvent {
|
|
5086
|
-
scene: import("@vcmap/
|
|
5087
|
-
time: import("@vcmap/
|
|
5157
|
+
scene: import("@vcmap-cesium/engine").Scene;
|
|
5158
|
+
time: import("@vcmap-cesium/engine").JulianDate;
|
|
5088
5159
|
}
|
|
5089
5160
|
|
|
5090
5161
|
/**
|
|
@@ -5096,43 +5167,43 @@ export class CesiumMap extends VcsMap {
|
|
|
5096
5167
|
/**
|
|
5097
5168
|
* clock for animated data
|
|
5098
5169
|
*/
|
|
5099
|
-
dataSourceDisplayClock: import("@vcmap/
|
|
5100
|
-
/**
|
|
5101
|
-
* Whether the debug mode is active or not
|
|
5102
|
-
*/
|
|
5103
|
-
debugMode: boolean;
|
|
5170
|
+
dataSourceDisplayClock: import("@vcmap-cesium/engine").Clock;
|
|
5104
5171
|
enableLightning: boolean;
|
|
5105
5172
|
tileCacheSize: number;
|
|
5106
|
-
screenSpaceEventHandler: import("@vcmap/
|
|
5107
|
-
defaultJDate: import("@vcmap/
|
|
5173
|
+
screenSpaceEventHandler: import("@vcmap-cesium/engine").ScreenSpaceEventHandler;
|
|
5174
|
+
defaultJDate: import("@vcmap-cesium/engine").JulianDate;
|
|
5108
5175
|
webGLaa: boolean;
|
|
5109
|
-
globeColor: import("@vcmap/
|
|
5176
|
+
globeColor: import("@vcmap-cesium/engine").Color;
|
|
5110
5177
|
|
|
5111
|
-
defaultTerrainProvider: import("@vcmap/
|
|
5178
|
+
defaultTerrainProvider: import("@vcmap-cesium/engine").TerrainProvider;
|
|
5179
|
+
/**
|
|
5180
|
+
* The splitPosition should always be aligned with the mapCollection's splitPosition.
|
|
5181
|
+
* Use mapCollection to change splitPosition.
|
|
5182
|
+
*/
|
|
5183
|
+
splitPosition: number;
|
|
5112
5184
|
readonly terrainProvider: any;
|
|
5113
5185
|
cameraLimiter: any;
|
|
5114
|
-
|
|
5115
|
-
dataSourceDisplay: import("@vcmap/cesium").DataSourceDisplay;
|
|
5186
|
+
dataSourceDisplay: import("@vcmap-cesium/engine").DataSourceDisplay;
|
|
5116
5187
|
/**
|
|
5117
5188
|
* getHeight for coordinates
|
|
5118
5189
|
* @param positions - in web mercator
|
|
5119
5190
|
* @returns the array of coordinates with heights updated in place
|
|
5120
5191
|
*/
|
|
5121
5192
|
getHeightFromTerrain(positions: import("ol/coordinate").Coordinate[]): Promise<import("ol/coordinate").Coordinate[]>;
|
|
5122
|
-
getCurrentResolutionFromCartesian(cartesian: import("@vcmap/
|
|
5193
|
+
getCurrentResolutionFromCartesian(cartesian: import("@vcmap-cesium/engine").Cartesian3): number;
|
|
5123
5194
|
/**
|
|
5124
5195
|
* set dataSource clock as display clock to visualize time dependent animation
|
|
5125
5196
|
*/
|
|
5126
|
-
setDataSourceDisplayClock(clock: import("@vcmap/
|
|
5197
|
+
setDataSourceDisplayClock(clock: import("@vcmap-cesium/engine").DataSourceClock): void;
|
|
5127
5198
|
/**
|
|
5128
5199
|
* unset dataSource clock
|
|
5129
5200
|
*/
|
|
5130
|
-
unsetDataSourceDisplayClock(clock: import("@vcmap/
|
|
5201
|
+
unsetDataSourceDisplayClock(clock: import("@vcmap-cesium/engine").DataSourceClock): void;
|
|
5131
5202
|
/**
|
|
5132
5203
|
* sets the position of the sun according to the day
|
|
5133
5204
|
* @param julianDate - See the Cesium API
|
|
5134
5205
|
*/
|
|
5135
|
-
setDay(julianDate: import("@vcmap/
|
|
5206
|
+
setDay(julianDate: import("@vcmap-cesium/engine").JulianDate): void;
|
|
5136
5207
|
/**
|
|
5137
5208
|
* sets the lighting of the globe with the sun as a light source
|
|
5138
5209
|
*/
|
|
@@ -5140,60 +5211,60 @@ export class CesiumMap extends VcsMap {
|
|
|
5140
5211
|
/**
|
|
5141
5212
|
* returns the cesium Widget Object
|
|
5142
5213
|
*/
|
|
5143
|
-
getCesiumWidget(): import("@vcmap/
|
|
5214
|
+
getCesiumWidget(): import("@vcmap-cesium/engine").CesiumWidget;
|
|
5144
5215
|
/**
|
|
5145
5216
|
* returns the Entities Collection
|
|
5146
5217
|
*/
|
|
5147
|
-
getEntities(): import("@vcmap/
|
|
5218
|
+
getEntities(): import("@vcmap-cesium/engine").EntityCollection;
|
|
5148
5219
|
/**
|
|
5149
5220
|
* returns the dataSourceCollection associated with the scene
|
|
5150
5221
|
*/
|
|
5151
|
-
getDatasources(): import("@vcmap/
|
|
5222
|
+
getDatasources(): import("@vcmap-cesium/engine").DataSourceCollection;
|
|
5152
5223
|
/**
|
|
5153
5224
|
* Returns the cluster dataSourceDisplays dataSources.
|
|
5154
5225
|
* This datasource can only handle Entities with Billboards, Labels or Points.
|
|
5155
5226
|
*/
|
|
5156
|
-
getClusterDatasources(): import("@vcmap/
|
|
5227
|
+
getClusterDatasources(): import("@vcmap-cesium/engine").DataSourceCollection;
|
|
5157
5228
|
/**
|
|
5158
5229
|
* Internal API used to register visualizations from layer implementations
|
|
5159
5230
|
*/
|
|
5160
|
-
addPrimitiveCollection(primitiveCollection: import("@vcmap/
|
|
5231
|
+
addPrimitiveCollection(primitiveCollection: import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset): void;
|
|
5161
5232
|
/**
|
|
5162
5233
|
* Internal API to unregister the visualization for a layers implementation
|
|
5163
5234
|
*/
|
|
5164
|
-
removePrimitiveCollection(primitiveCollection: import("@vcmap/
|
|
5235
|
+
removePrimitiveCollection(primitiveCollection: import("@vcmap-cesium/engine").PrimitiveCollection): void;
|
|
5165
5236
|
/**
|
|
5166
5237
|
* Internal API used to register visualizations from layer implementations
|
|
5167
5238
|
*/
|
|
5168
|
-
addImageryLayer(imageryLayer: import("@vcmap/
|
|
5239
|
+
addImageryLayer(imageryLayer: import("@vcmap-cesium/engine").ImageryLayer): void;
|
|
5169
5240
|
/**
|
|
5170
5241
|
* Internal API used to unregister visualizations from layer implementations
|
|
5171
5242
|
*/
|
|
5172
|
-
removeImageryLayer(imageryLayer: import("@vcmap/
|
|
5243
|
+
removeImageryLayer(imageryLayer: import("@vcmap-cesium/engine").ImageryLayer): void;
|
|
5173
5244
|
/**
|
|
5174
5245
|
* Internal API used to register visualizations from layer implementations
|
|
5175
5246
|
*/
|
|
5176
|
-
addDataSource(dataSource: import("@vcmap/
|
|
5247
|
+
addDataSource(dataSource: import("@vcmap-cesium/engine").CustomDataSource): Promise<void>;
|
|
5177
5248
|
/**
|
|
5178
5249
|
* Internal API used to unregister visualizations from layer implementations
|
|
5179
5250
|
*/
|
|
5180
|
-
removeDataSource(dataSource: import("@vcmap/
|
|
5251
|
+
removeDataSource(dataSource: import("@vcmap-cesium/engine").CustomDataSource): void;
|
|
5181
5252
|
/**
|
|
5182
5253
|
* set the cesium TerrainProvider
|
|
5183
5254
|
*/
|
|
5184
|
-
setTerrainProvider(terrainProvider: import("@vcmap/
|
|
5255
|
+
setTerrainProvider(terrainProvider: import("@vcmap-cesium/engine").TerrainProvider): void;
|
|
5185
5256
|
/**
|
|
5186
5257
|
* unsets the TerrainProvider (changes to the default TerrainProvider if the given terranProvider is currently active)
|
|
5187
5258
|
*/
|
|
5188
|
-
unsetTerrainProvider(terrainProvider: import("@vcmap/
|
|
5259
|
+
unsetTerrainProvider(terrainProvider: import("@vcmap-cesium/engine").TerrainProvider): void;
|
|
5189
5260
|
/**
|
|
5190
5261
|
* returns the cesium DataSourceDisplay Object
|
|
5191
5262
|
*/
|
|
5192
|
-
getDataSourceDisplay(): import("@vcmap/
|
|
5263
|
+
getDataSourceDisplay(): import("@vcmap-cesium/engine").DataSourceDisplay;
|
|
5193
5264
|
/**
|
|
5194
5265
|
* returns the cesium Scene Object, returns null on non initialized or destroyed maps
|
|
5195
5266
|
*/
|
|
5196
|
-
getScene(): import("@vcmap/
|
|
5267
|
+
getScene(): import("@vcmap-cesium/engine").Scene;
|
|
5197
5268
|
/**
|
|
5198
5269
|
* returns true if the WEBGL Extension WEBGL_depth_texture is supported. (Is used for picking)
|
|
5199
5270
|
*/
|
|
@@ -5227,9 +5298,9 @@ export class CesiumMap extends VcsMap {
|
|
|
5227
5298
|
*/
|
|
5228
5299
|
pointerInteractionEvent: VcsEvent<MapEvent>;
|
|
5229
5300
|
/**
|
|
5230
|
-
*
|
|
5301
|
+
* The split position to use on this map. Is set by the mapCollection
|
|
5231
5302
|
*/
|
|
5232
|
-
|
|
5303
|
+
|
|
5233
5304
|
/**
|
|
5234
5305
|
* Whether the map is active or not
|
|
5235
5306
|
*/
|
|
@@ -5264,7 +5335,7 @@ export class CesiumMap extends VcsMap {
|
|
|
5264
5335
|
* The state of a map.
|
|
5265
5336
|
* State machine: inactive <-> loading -> active -> inactive
|
|
5266
5337
|
*/
|
|
5267
|
-
export
|
|
5338
|
+
export enum MapState {
|
|
5268
5339
|
INACTIVE = 1,
|
|
5269
5340
|
ACTIVE = 2,
|
|
5270
5341
|
LOADING = 4
|
|
@@ -5337,9 +5408,9 @@ export class ObliqueMap extends BaseOLMap {
|
|
|
5337
5408
|
*/
|
|
5338
5409
|
pointerInteractionEvent: VcsEvent<MapEvent>;
|
|
5339
5410
|
/**
|
|
5340
|
-
*
|
|
5411
|
+
* The split position to use on this map. Is set by the mapCollection
|
|
5341
5412
|
*/
|
|
5342
|
-
|
|
5413
|
+
|
|
5343
5414
|
/**
|
|
5344
5415
|
* Whether the map is active or not
|
|
5345
5416
|
*/
|
|
@@ -5413,9 +5484,9 @@ export class OpenlayersMap extends BaseOLMap {
|
|
|
5413
5484
|
*/
|
|
5414
5485
|
pointerInteractionEvent: VcsEvent<MapEvent>;
|
|
5415
5486
|
/**
|
|
5416
|
-
*
|
|
5487
|
+
* The split position to use on this map. Is set by the mapCollection
|
|
5417
5488
|
*/
|
|
5418
|
-
|
|
5489
|
+
|
|
5419
5490
|
/**
|
|
5420
5491
|
* Whether the map is active or not
|
|
5421
5492
|
*/
|
|
@@ -5508,9 +5579,9 @@ export class VcsMap extends VcsObject {
|
|
|
5508
5579
|
*/
|
|
5509
5580
|
pointerInteractionEvent: VcsEvent<MapEvent>;
|
|
5510
5581
|
/**
|
|
5511
|
-
*
|
|
5582
|
+
* The split position to use on this map. Is set by the mapCollection
|
|
5512
5583
|
*/
|
|
5513
|
-
|
|
5584
|
+
|
|
5514
5585
|
/**
|
|
5515
5586
|
* Whether the map is active or not
|
|
5516
5587
|
*/
|
|
@@ -5524,6 +5595,11 @@ export class VcsMap extends VcsObject {
|
|
|
5524
5595
|
*/
|
|
5525
5596
|
readonly target: HTMLElement | null;
|
|
5526
5597
|
layerCollection: any;
|
|
5598
|
+
/**
|
|
5599
|
+
* The splitPosition should always be aligned with the mapCollection's splitPosition.
|
|
5600
|
+
* Use mapCollection to change splitPosition.
|
|
5601
|
+
*/
|
|
5602
|
+
splitPosition: any;
|
|
5527
5603
|
/**
|
|
5528
5604
|
* An event raised on the maps post render
|
|
5529
5605
|
*/
|
|
@@ -5545,23 +5621,23 @@ export class VcsMap extends VcsObject {
|
|
|
5545
5621
|
* Validates a visualization. A visualization must have the vcsLayeName symbol set and a layer with said name must be
|
|
5546
5622
|
* part of the maps layerCollection.
|
|
5547
5623
|
*/
|
|
5548
|
-
validateVisualization(item: import("@vcmap/
|
|
5624
|
+
validateVisualization(item: import("@vcmap-cesium/engine").CustomDataSource | import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").ImageryLayer | import("ol/layer/Layer").default<import("ol/source").Source>): boolean;
|
|
5549
5625
|
/**
|
|
5550
5626
|
* Adds a visualization to the visualizations map for its layer. The visualization must be valid, use validateVisualization first
|
|
5551
5627
|
*/
|
|
5552
|
-
addVisualization(item: import("@vcmap/
|
|
5628
|
+
addVisualization(item: import("@vcmap-cesium/engine").CustomDataSource | import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").ImageryLayer | import("ol/layer/Layer").default<import("ol/source").Source>): void;
|
|
5553
5629
|
/**
|
|
5554
5630
|
* Removes a visualization
|
|
5555
5631
|
*/
|
|
5556
|
-
removeVisualization(item: import("@vcmap/
|
|
5632
|
+
removeVisualization(item: import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").ImageryLayer | import("ol/layer/Layer").default<import("ol/source").Source> | import("@vcmap-cesium/engine").CustomDataSource): void;
|
|
5557
5633
|
/**
|
|
5558
5634
|
* Gets the visualizations for a specific layer.
|
|
5559
5635
|
*/
|
|
5560
|
-
getVisualizationsForLayer(layer: Layer): Set<import("@vcmap/
|
|
5636
|
+
getVisualizationsForLayer(layer: Layer): Set<import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").ImageryLayer | import("ol/layer/Layer").default<import("ol/source").Source> | import("@vcmap-cesium/engine").CustomDataSource>;
|
|
5561
5637
|
/**
|
|
5562
5638
|
* Get all visualizations added to this map.
|
|
5563
5639
|
*/
|
|
5564
|
-
getVisualizations(): (import("@vcmap/
|
|
5640
|
+
getVisualizations(): (import("@vcmap-cesium/engine").PrimitiveCollection | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").ImageryLayer | import("ol/layer/Layer").default<import("ol/source").Source> | import("@vcmap-cesium/engine").CustomDataSource)[];
|
|
5565
5641
|
/**
|
|
5566
5642
|
* activates the map, if necessary initializes the map.
|
|
5567
5643
|
* Once the promise resolves, the map can still be inactive, if deactivate was called while the map was activating.
|
|
@@ -5893,7 +5969,7 @@ export interface ObliqueDataSetImagesLoaded {
|
|
|
5893
5969
|
/**
|
|
5894
5970
|
* Enumeration of data set states
|
|
5895
5971
|
*/
|
|
5896
|
-
export
|
|
5972
|
+
export enum DataState {
|
|
5897
5973
|
PENDING,
|
|
5898
5974
|
LOADING,
|
|
5899
5975
|
READY
|
|
@@ -5923,7 +5999,7 @@ export class ObliqueDataSet {
|
|
|
5923
5999
|
* reflect the state of loaded tiles.
|
|
5924
6000
|
*/
|
|
5925
6001
|
readonly state: DataState;
|
|
5926
|
-
readonly terrainProvider: import("@vcmap/
|
|
6002
|
+
readonly terrainProvider: import("@vcmap-cesium/engine").CesiumTerrainProvider | undefined;
|
|
5927
6003
|
/**
|
|
5928
6004
|
* Loads the data set.
|
|
5929
6005
|
*/
|
|
@@ -5967,11 +6043,11 @@ export interface ObliqueImageOptions {
|
|
|
5967
6043
|
groundCoordinates: import("ol/coordinate").Coordinate[];
|
|
5968
6044
|
centerPointOnGround: import("ol/coordinate").Coordinate;
|
|
5969
6045
|
meta: ObliqueImageMeta;
|
|
5970
|
-
projectionCenter?: import("@vcmap/
|
|
5971
|
-
pToRealworld?: import("@vcmap/
|
|
5972
|
-
pToImage?: import("@vcmap/
|
|
6046
|
+
projectionCenter?: import("@vcmap-cesium/engine").Cartesian3 | undefined;
|
|
6047
|
+
pToRealworld?: import("@vcmap-cesium/engine").Matrix3 | undefined;
|
|
6048
|
+
pToImage?: import("@vcmap-cesium/engine").Matrix4 | undefined;
|
|
5973
6049
|
projection?: Projection | undefined;
|
|
5974
|
-
terrainProvider?: import("@vcmap/
|
|
6050
|
+
terrainProvider?: import("@vcmap-cesium/engine").CesiumTerrainProvider | undefined;
|
|
5975
6051
|
}
|
|
5976
6052
|
|
|
5977
6053
|
export class ObliqueImage {
|
|
@@ -6003,15 +6079,15 @@ export class ObliqueImage {
|
|
|
6003
6079
|
/**
|
|
6004
6080
|
* The transformation matrix image to real world (in image world projection).
|
|
6005
6081
|
*/
|
|
6006
|
-
pToRealworld: import("@vcmap/
|
|
6082
|
+
pToRealworld: import("@vcmap-cesium/engine").Matrix3;
|
|
6007
6083
|
/**
|
|
6008
6084
|
* The transformation matrix real to image (in image world projection).
|
|
6009
6085
|
*/
|
|
6010
|
-
pToImage: import("@vcmap/
|
|
6086
|
+
pToImage: import("@vcmap-cesium/engine").Matrix4;
|
|
6011
6087
|
/**
|
|
6012
6088
|
* The projection center in image world projection
|
|
6013
6089
|
*/
|
|
6014
|
-
projectionCenter: import("@vcmap/
|
|
6090
|
+
projectionCenter: import("@vcmap-cesium/engine").Cartesian3;
|
|
6015
6091
|
/**
|
|
6016
6092
|
* returns the averageHeight of the image or 0 if not defined. Be sure to call calculateAverageHeight before hand.
|
|
6017
6093
|
*/
|
|
@@ -6038,7 +6114,7 @@ export interface ObliqueImageMetaOptions {
|
|
|
6038
6114
|
tileResolution: number[];
|
|
6039
6115
|
projection: Projection;
|
|
6040
6116
|
url: string;
|
|
6041
|
-
terrainProvider?: import("@vcmap/
|
|
6117
|
+
terrainProvider?: import("@vcmap-cesium/engine").CesiumTerrainProvider;
|
|
6042
6118
|
name: string;
|
|
6043
6119
|
format?: string | undefined;
|
|
6044
6120
|
}
|
|
@@ -6074,7 +6150,7 @@ export class ObliqueImageMeta {
|
|
|
6074
6150
|
/**
|
|
6075
6151
|
* An optional terrain provider
|
|
6076
6152
|
*/
|
|
6077
|
-
terrainProvider: import("@vcmap/
|
|
6153
|
+
terrainProvider: import("@vcmap-cesium/engine").CesiumTerrainProvider | undefined;
|
|
6078
6154
|
format: string;
|
|
6079
6155
|
/**
|
|
6080
6156
|
* Removes radial distortion in image coordinates. Radial coefficients must be provided
|
|
@@ -6189,7 +6265,7 @@ export class ObliqueView {
|
|
|
6189
6265
|
/**
|
|
6190
6266
|
* Enumeration of view directions.
|
|
6191
6267
|
*/
|
|
6192
|
-
export
|
|
6268
|
+
export enum ObliqueViewDirection {
|
|
6193
6269
|
NORTH,
|
|
6194
6270
|
EAST,
|
|
6195
6271
|
SOUTH,
|
|
@@ -6208,7 +6284,7 @@ export function getDirectionName(direction: number): string | undefined;
|
|
|
6208
6284
|
*/
|
|
6209
6285
|
export function getVersionFromImageJson(json: any): ObliqueVersion;
|
|
6210
6286
|
|
|
6211
|
-
export function parseImageMeta(json: ObliqueImageJson, url: string, projection?: Projection, terrainProvider?: import("@vcmap/
|
|
6287
|
+
export function parseImageMeta(json: ObliqueImageJson, url: string, projection?: Projection, terrainProvider?: import("@vcmap-cesium/engine").CesiumTerrainProvider): ObliqueImageMeta[];
|
|
6212
6288
|
|
|
6213
6289
|
export function parseImageData(json: ObliqueImageJson, imageMetas: ObliqueImageMeta[]): ObliqueImage[];
|
|
6214
6290
|
|
|
@@ -6291,7 +6367,7 @@ export interface ArcStruct {
|
|
|
6291
6367
|
/**
|
|
6292
6368
|
* Added to feature to hold there respective arc structure
|
|
6293
6369
|
*/
|
|
6294
|
-
export const featureArcStruct: symbol;
|
|
6370
|
+
export const featureArcStruct: unique symbol;
|
|
6295
6371
|
|
|
6296
6372
|
/**
|
|
6297
6373
|
* A style which applies an arc to LineString geometries depending on their first and last coordinates.
|
|
@@ -6343,7 +6419,7 @@ export interface ArrowStyleOptions {
|
|
|
6343
6419
|
end?: ArrowEnd;
|
|
6344
6420
|
}
|
|
6345
6421
|
|
|
6346
|
-
export
|
|
6422
|
+
export enum ArrowEnd {
|
|
6347
6423
|
}
|
|
6348
6424
|
|
|
6349
6425
|
/**
|
|
@@ -6422,7 +6498,7 @@ export interface DeclarativeStyleItemSections extends StyleItemSections {
|
|
|
6422
6498
|
*/
|
|
6423
6499
|
export class DeclarativeStyleItem extends StyleItem {
|
|
6424
6500
|
constructor(options: DeclarativeStyleItemOptions);
|
|
6425
|
-
cesiumStyle: import("@vcmap/
|
|
6501
|
+
cesiumStyle: import("@vcmap-cesium/engine").Cesium3DTileStyle;
|
|
6426
6502
|
|
|
6427
6503
|
|
|
6428
6504
|
readonly styleOptions: DeclarativeStyleOptions;
|
|
@@ -6440,7 +6516,7 @@ export class DeclarativeStyleItem extends StyleItem {
|
|
|
6440
6516
|
* Fired on style updates
|
|
6441
6517
|
*/
|
|
6442
6518
|
styleChanged: VcsEvent<void>;
|
|
6443
|
-
colorBlendMode: import("@vcmap/
|
|
6519
|
+
colorBlendMode: import("@vcmap-cesium/engine").Cesium3DTileColorBlendMode;
|
|
6444
6520
|
protected _style: import("ol/style/Style").default | import("ol/style/Style").StyleFunction;
|
|
6445
6521
|
/**
|
|
6446
6522
|
* The 2D representation of this style
|
|
@@ -6474,7 +6550,7 @@ export interface FontObject {
|
|
|
6474
6550
|
lineHeight: string;
|
|
6475
6551
|
}
|
|
6476
6552
|
|
|
6477
|
-
export
|
|
6553
|
+
export enum PatternType {
|
|
6478
6554
|
NWSE,
|
|
6479
6555
|
SWNE,
|
|
6480
6556
|
DIAGONALCROSS,
|
|
@@ -6488,19 +6564,19 @@ export const enum PatternType {
|
|
|
6488
6564
|
*/
|
|
6489
6565
|
export function hexToOlColor(h: string, opacity?: number): import("ol/color").Color;
|
|
6490
6566
|
|
|
6491
|
-
export function cesiumColorToColor(cesiumColor: import("@vcmap/
|
|
6567
|
+
export function cesiumColorToColor(cesiumColor: import("@vcmap-cesium/engine").Color): import("ol/color").Color;
|
|
6492
6568
|
|
|
6493
6569
|
/**
|
|
6494
6570
|
* converts an openlayers color to a cesium Color
|
|
6495
6571
|
*/
|
|
6496
|
-
export function olColorToCesiumColor(olColor: import("ol/color").Color): import("@vcmap/
|
|
6572
|
+
export function olColorToCesiumColor(olColor: import("ol/color").Color): import("@vcmap-cesium/engine").Color;
|
|
6497
6573
|
|
|
6498
6574
|
/**
|
|
6499
6575
|
* parses a color to an openlayers color
|
|
6500
6576
|
*/
|
|
6501
6577
|
export function parseColor(color: import("ol/color").Color | import("ol/colorlike").ColorLike | number[], defaultColor?: import("ol/color").Color): import("ol/color").Color;
|
|
6502
6578
|
|
|
6503
|
-
export function getCesiumColor(color: import("ol/color").Color | import("ol/colorlike").ColorLike, defaultColor: import("ol/color").Color): import("@vcmap/
|
|
6579
|
+
export function getCesiumColor(color: import("ol/color").Color | import("ol/colorlike").ColorLike, defaultColor: import("ol/color").Color): import("@vcmap-cesium/engine").Color;
|
|
6504
6580
|
|
|
6505
6581
|
export function getStringColor(color: import("ol/color").Color | number[] | import("ol/colorlike").ColorLike): string;
|
|
6506
6582
|
|
|
@@ -6554,7 +6630,7 @@ export const defaultExtrudedHeightCondition: string;
|
|
|
6554
6630
|
*/
|
|
6555
6631
|
export interface StyleItemOptions extends VcsObjectOptions {
|
|
6556
6632
|
/**
|
|
6557
|
-
* colorBlendMode for 3D Tiledataset @see https://cesiumjs.org/import("@vcmap/
|
|
6633
|
+
* colorBlendMode for 3D Tiledataset @see https://cesiumjs.org/import("@vcmap-cesium/engine").Build/Documentation/Cesium3DTileColorBlendMode.html
|
|
6558
6634
|
*/
|
|
6559
6635
|
colorBlendMode?: number;
|
|
6560
6636
|
}
|
|
@@ -6572,12 +6648,12 @@ export class StyleItem extends VcsObject {
|
|
|
6572
6648
|
/**
|
|
6573
6649
|
* The 3D representation of this style
|
|
6574
6650
|
*/
|
|
6575
|
-
cesiumStyle: import("@vcmap/
|
|
6651
|
+
cesiumStyle: import("@vcmap-cesium/engine").Cesium3DTileStyle;
|
|
6576
6652
|
/**
|
|
6577
6653
|
* Fired on style updates
|
|
6578
6654
|
*/
|
|
6579
6655
|
styleChanged: VcsEvent<void>;
|
|
6580
|
-
colorBlendMode: import("@vcmap/
|
|
6656
|
+
colorBlendMode: import("@vcmap-cesium/engine").Cesium3DTileColorBlendMode;
|
|
6581
6657
|
protected _style: import("ol/style/Style").default | import("ol/style/Style").StyleFunction;
|
|
6582
6658
|
style: any;
|
|
6583
6659
|
isSupported(className: string): boolean;
|
|
@@ -6663,7 +6739,7 @@ export interface VectorStyleItemSections extends StyleItemSections {
|
|
|
6663
6739
|
label?: boolean | undefined;
|
|
6664
6740
|
}
|
|
6665
6741
|
|
|
6666
|
-
export
|
|
6742
|
+
export enum OlcsGeometryType {
|
|
6667
6743
|
POLYGON,
|
|
6668
6744
|
POLYLINE,
|
|
6669
6745
|
POINT
|
|
@@ -6682,7 +6758,7 @@ export interface VectorStyleItemOptions extends StyleItemOptions {
|
|
|
6682
6758
|
* Is set by the Editor if the layerStyle is overwritten. The VectorLayer layer assures this style is set, if
|
|
6683
6759
|
* the style on the layer is not a DeclarativeStyle
|
|
6684
6760
|
*/
|
|
6685
|
-
export const vectorStyleSymbol: symbol;
|
|
6761
|
+
export const vectorStyleSymbol: unique symbol;
|
|
6686
6762
|
|
|
6687
6763
|
export class VectorStyleItem extends StyleItem {
|
|
6688
6764
|
constructor(options: VectorStyleItemOptions);
|
|
@@ -6693,7 +6769,7 @@ export class VectorStyleItem extends StyleItem {
|
|
|
6693
6769
|
/**
|
|
6694
6770
|
* the current fill color as a cesium color
|
|
6695
6771
|
*/
|
|
6696
|
-
readonly cesiumFillColor: import("@vcmap/
|
|
6772
|
+
readonly cesiumFillColor: import("@vcmap-cesium/engine").Color;
|
|
6697
6773
|
pattern: any;
|
|
6698
6774
|
stroke: any;
|
|
6699
6775
|
label: any;
|
|
@@ -6712,12 +6788,12 @@ export class VectorStyleItem extends StyleItem {
|
|
|
6712
6788
|
/**
|
|
6713
6789
|
* The 3D representation of this style
|
|
6714
6790
|
*/
|
|
6715
|
-
cesiumStyle: import("@vcmap/
|
|
6791
|
+
cesiumStyle: import("@vcmap-cesium/engine").Cesium3DTileStyle;
|
|
6716
6792
|
/**
|
|
6717
6793
|
* Fired on style updates
|
|
6718
6794
|
*/
|
|
6719
6795
|
styleChanged: VcsEvent<void>;
|
|
6720
|
-
colorBlendMode: import("@vcmap/
|
|
6796
|
+
colorBlendMode: import("@vcmap-cesium/engine").Cesium3DTileColorBlendMode;
|
|
6721
6797
|
/**
|
|
6722
6798
|
* unique Name
|
|
6723
6799
|
*/
|
|
@@ -6728,7 +6804,7 @@ export class VectorStyleItem extends StyleItem {
|
|
|
6728
6804
|
|
|
6729
6805
|
export const defaultVectorStyle: VectorStyleItem;
|
|
6730
6806
|
|
|
6731
|
-
export function fromCesiumColor(cesiumColor: import("@vcmap/
|
|
6807
|
+
export function fromCesiumColor(cesiumColor: import("@vcmap-cesium/engine").Color): VectorStyleItem;
|
|
6732
6808
|
|
|
6733
6809
|
export function embedIconsInStyle(obj: VectorStyleItemOptions, embeddedIcons?: string[]): VectorStyleItemOptions;
|
|
6734
6810
|
|
|
@@ -6747,7 +6823,7 @@ export interface ClippingObjectEntityOption {
|
|
|
6747
6823
|
export interface ClippingObjectOptions {
|
|
6748
6824
|
layerNames?: string[] | undefined;
|
|
6749
6825
|
entities?: ClippingObjectEntityOption[] | undefined;
|
|
6750
|
-
clippingPlaneCollection?: import("@vcmap/
|
|
6826
|
+
clippingPlaneCollection?: import("@vcmap-cesium/engine").ClippingPlaneCollection | undefined;
|
|
6751
6827
|
terrain?: boolean;
|
|
6752
6828
|
/**
|
|
6753
6829
|
* if not local, coordinates are expected in ECEF
|
|
@@ -6779,7 +6855,7 @@ export class ClippingObject {
|
|
|
6779
6855
|
* Key is a semantic identifier, eg. layerName or layerName-entitiyId, depending on the target. Targets
|
|
6780
6856
|
* represent Cesium Object which support the clippingPlanes API
|
|
6781
6857
|
*/
|
|
6782
|
-
targets: Map<string | symbol, import("@vcmap/
|
|
6858
|
+
targets: Map<string | symbol, import("@vcmap-cesium/engine").Entity | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").Globe>;
|
|
6783
6859
|
/**
|
|
6784
6860
|
* Event, raised on a change of targets
|
|
6785
6861
|
*/
|
|
@@ -6890,18 +6966,18 @@ export interface CreationOptions {
|
|
|
6890
6966
|
* @param feature - base for calculating the clipping planes.
|
|
6891
6967
|
* @param [transformMatrix] - 4x4 matrix specifying the transform of clipping planes from Earth's fixed frame to another one
|
|
6892
6968
|
*/
|
|
6893
|
-
export function createClippingPlaneCollection(feature: import("ol").Feature<import("ol/geom/Geometry").default>, options?: CreationOptions, transformMatrix?: import("@vcmap/
|
|
6969
|
+
export function createClippingPlaneCollection(feature: import("ol").Feature<import("ol/geom/Geometry").default>, options?: CreationOptions, transformMatrix?: import("@vcmap-cesium/engine").Matrix4): import("@vcmap-cesium/engine").ClippingPlaneCollection | null;
|
|
6894
6970
|
|
|
6895
6971
|
/**
|
|
6896
6972
|
* copies the clippingplanes and the properties from source to result
|
|
6897
6973
|
* @param [transformMatrix] - 4x4 matrix specifying the transform of clipping planes from Earth's fixed frame to another one
|
|
6898
6974
|
* @param [originPoint] - the origin point of the transformation target, so the plane distance can be set correctly
|
|
6899
6975
|
*/
|
|
6900
|
-
export function copyClippingPlanesToCollection(source: import("@vcmap/
|
|
6976
|
+
export function copyClippingPlanesToCollection(source: import("@vcmap-cesium/engine").ClippingPlaneCollection, result: import("@vcmap-cesium/engine").ClippingPlaneCollection, transformMatrix?: import("@vcmap-cesium/engine").Matrix4, originPoint?: import("@vcmap-cesium/engine").Cartesian3): import("@vcmap-cesium/engine").ClippingPlaneCollection;
|
|
6901
6977
|
|
|
6902
|
-
export function clearClippingPlanes(target: import("@vcmap/
|
|
6978
|
+
export function clearClippingPlanes(target: import("@vcmap-cesium/engine").Globe | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").Entity): void;
|
|
6903
6979
|
|
|
6904
|
-
export function setClippingPlanes(target: import("@vcmap/
|
|
6980
|
+
export function setClippingPlanes(target: import("@vcmap-cesium/engine").Globe | import("@vcmap-cesium/engine").Cesium3DTileset | import("@vcmap-cesium/engine").Entity, clippingPlaneCollection: import("@vcmap-cesium/engine").ClippingPlaneCollection, local?: boolean): void;
|
|
6905
6981
|
|
|
6906
6982
|
/**
|
|
6907
6983
|
* Creates a new feature at the given coordinate, which can be set on a {@link ClippingObjectEditor}.
|
|
@@ -6909,7 +6985,7 @@ export function setClippingPlanes(target: import("@vcmap/cesium").Globe | import
|
|
|
6909
6985
|
* @param [offsetDistance = 25] - the offset from the coordinate to use for the size of the geometry
|
|
6910
6986
|
* @returns - the features geometry is in web mercator
|
|
6911
6987
|
*/
|
|
6912
|
-
export function createClippingFeature(coordinate: import("ol/coordinate").Coordinate, camera: import("@vcmap/
|
|
6988
|
+
export function createClippingFeature(coordinate: import("ol/coordinate").Coordinate, camera: import("@vcmap-cesium/engine").Camera, vertical?: boolean, offsetDistance?: number): import("ol").Feature<import("ol/geom/Geometry").default>;
|
|
6913
6989
|
|
|
6914
6990
|
/**
|
|
6915
6991
|
* Gets the clipping options for the current feature to be infinite or not for the given feature created by
|
|
@@ -7062,11 +7138,11 @@ export function pointOnLine3D(start: import("ol/coordinate").Coordinate, end: im
|
|
|
7062
7138
|
*/
|
|
7063
7139
|
export function pointOnLine2D(start: import("ol/coordinate").Coordinate, end: import("ol/coordinate").Coordinate, point: import("ol/coordinate").Coordinate, epsilon?: number): boolean;
|
|
7064
7140
|
|
|
7065
|
-
export function createCameraVerticalPlane(originCoordinates: import("ol/coordinate").Coordinate, scene: import("@vcmap/
|
|
7141
|
+
export function createCameraVerticalPlane(originCoordinates: import("ol/coordinate").Coordinate, scene: import("@vcmap-cesium/engine").Scene): import("@vcmap-cesium/engine").Plane;
|
|
7066
7142
|
|
|
7067
|
-
export function createHorizontalPlane(originCoordinates: import("ol/coordinate").Coordinate, scene: import("@vcmap/
|
|
7143
|
+
export function createHorizontalPlane(originCoordinates: import("ol/coordinate").Coordinate, scene: import("@vcmap-cesium/engine").Scene): import("@vcmap-cesium/engine").Plane;
|
|
7068
7144
|
|
|
7069
|
-
export function getCartographicFromPlane(plane: import("@vcmap/
|
|
7145
|
+
export function getCartographicFromPlane(plane: import("@vcmap-cesium/engine").Plane, camera: import("@vcmap-cesium/engine").Camera, windowPosition: import("@vcmap-cesium/engine").Cartesian2): import("@vcmap-cesium/engine").Cartographic;
|
|
7070
7146
|
|
|
7071
7147
|
/**
|
|
7072
7148
|
* Drapes a geometry onto the terrain by placing each coordinate at its height.
|
|
@@ -7094,7 +7170,7 @@ export interface EditorSession {
|
|
|
7094
7170
|
stopped: VcsEvent<void>;
|
|
7095
7171
|
}
|
|
7096
7172
|
|
|
7097
|
-
export
|
|
7173
|
+
export enum SessionType {
|
|
7098
7174
|
CREATE,
|
|
7099
7175
|
EDIT_GEOMETRY,
|
|
7100
7176
|
EDIT_FEATURES
|
|
@@ -7106,7 +7182,7 @@ export const enum SessionType {
|
|
|
7106
7182
|
*/
|
|
7107
7183
|
export function setupScratchLayer(layerCollection: LayerCollection): VectorLayer;
|
|
7108
7184
|
|
|
7109
|
-
export
|
|
7185
|
+
export enum GeometryType {
|
|
7110
7186
|
Point,
|
|
7111
7187
|
Circle,
|
|
7112
7188
|
LineString,
|
|
@@ -7117,18 +7193,18 @@ export const enum GeometryType {
|
|
|
7117
7193
|
/**
|
|
7118
7194
|
* Symbol to identify a {@see Vertex}
|
|
7119
7195
|
*/
|
|
7120
|
-
export const vertexSymbol: symbol;
|
|
7196
|
+
export const vertexSymbol: unique symbol;
|
|
7121
7197
|
|
|
7122
7198
|
/**
|
|
7123
7199
|
* Symbol to denote the vertexes index in the vertices array. This is important for snapping & bbox operations
|
|
7124
7200
|
*/
|
|
7125
|
-
export const vertexIndex: symbol;
|
|
7201
|
+
export const vertexIndex: unique symbol;
|
|
7126
7202
|
|
|
7127
7203
|
/**
|
|
7128
7204
|
* Symbol added to primitives and features to denote that these are handlers. It is expected, that the value of the symobl is
|
|
7129
7205
|
* equal to an {@see AXIS_AND_PLANES}
|
|
7130
7206
|
*/
|
|
7131
|
-
export const handlerSymbol: symbol;
|
|
7207
|
+
export const handlerSymbol: unique symbol;
|
|
7132
7208
|
|
|
7133
7209
|
|
|
7134
7210
|
|
|
@@ -7427,7 +7503,7 @@ export class SelectMultiFeatureInteraction extends AbstractInteraction {
|
|
|
7427
7503
|
readonly featuresChanged: VcsEvent<import("ol").Feature[]>;
|
|
7428
7504
|
selectedFeatures: any;
|
|
7429
7505
|
hasFeatureId(featureId: string): boolean;
|
|
7430
|
-
setSelectionSet(features: (import("ol").Feature | import("@vcmap/
|
|
7506
|
+
setSelectionSet(features: (import("ol").Feature | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature | import("@vcmap-cesium/engine").Entity)[]): Promise<void>;
|
|
7431
7507
|
/**
|
|
7432
7508
|
* Clears the interaction, removing all features and calling the featureChange event with an empty array
|
|
7433
7509
|
*/
|
|
@@ -7465,7 +7541,7 @@ export class SelectSingleFeatureInteraction extends AbstractInteraction {
|
|
|
7465
7541
|
* Selects the given feature. if passed in a tiled feature store feature, it will be converted. Do not pass in uneditable features (feature which do not
|
|
7466
7542
|
* belong to the layer for which this interaction was created)
|
|
7467
7543
|
*/
|
|
7468
|
-
selectFeature(feature: import("ol").Feature | import("@vcmap/
|
|
7544
|
+
selectFeature(feature: import("ol").Feature | import("@vcmap-cesium/engine").Cesium3DTileFeature | import("@vcmap-cesium/engine").Cesium3DTilePointFeature): Promise<void>;
|
|
7469
7545
|
/**
|
|
7470
7546
|
* Clears the current selection, if there is one.
|
|
7471
7547
|
*/
|
|
@@ -7667,7 +7743,7 @@ export interface TransformationHandler {
|
|
|
7667
7743
|
destroy: (...params: any[]) => any;
|
|
7668
7744
|
}
|
|
7669
7745
|
|
|
7670
|
-
export
|
|
7746
|
+
export enum AXIS_AND_PLANES {
|
|
7671
7747
|
X,
|
|
7672
7748
|
Y,
|
|
7673
7749
|
Z,
|
|
@@ -7677,14 +7753,14 @@ export const enum AXIS_AND_PLANES {
|
|
|
7677
7753
|
NONE
|
|
7678
7754
|
}
|
|
7679
7755
|
|
|
7680
|
-
export
|
|
7756
|
+
export enum TransformationMode {
|
|
7681
7757
|
TRANSLATE,
|
|
7682
7758
|
ROTATE,
|
|
7683
7759
|
SCALE,
|
|
7684
7760
|
EXTRUDE
|
|
7685
7761
|
}
|
|
7686
7762
|
|
|
7687
|
-
export const greyedOutColor: import("@vcmap/
|
|
7763
|
+
export const greyedOutColor: import("@vcmap-cesium/engine").Color;
|
|
7688
7764
|
|
|
7689
7765
|
export function is1DAxis(axis: AXIS_AND_PLANES): boolean;
|
|
7690
7766
|
|
|
@@ -7833,15 +7909,15 @@ export class Extent3D {
|
|
|
7833
7909
|
clone(): Extent3D;
|
|
7834
7910
|
}
|
|
7835
7911
|
|
|
7836
|
-
export function getMaterialAppearance(scene: import("@vcmap/
|
|
7912
|
+
export function getMaterialAppearance(scene: import("@vcmap-cesium/engine").Scene, fill: import("ol/style/Fill").default, feature: import("ol").Feature<import("ol/geom/Geometry").default>): import("@vcmap-cesium/engine").MaterialAppearance;
|
|
7837
7913
|
|
|
7838
|
-
export function createClassificationPrimitive(options: any, geometries: import("@vcmap/
|
|
7914
|
+
export function createClassificationPrimitive(options: any, geometries: import("@vcmap-cesium/engine").Geometry[], color: import("@vcmap-cesium/engine").Color, classificationType: import("@vcmap-cesium/engine").ClassificationType): import("@vcmap-cesium/engine").ClassificationPrimitive;
|
|
7839
7915
|
|
|
7840
|
-
export function createPrimitive(scene: import("@vcmap/
|
|
7916
|
+
export function createPrimitive(scene: import("@vcmap-cesium/engine").Scene, vectorProperties: VectorProperties, allowPicking: boolean, feature: import("ol").Feature<import("ol/geom/Geometry").default>, geometries: import("@vcmap-cesium/engine").Geometry[], style: import("ol/style/Style").default, groundPrimitive: boolean): import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPrimitive | import("@vcmap-cesium/engine").ClassificationPrimitive | null;
|
|
7841
7917
|
|
|
7842
|
-
export function createOutlinePrimitive(scene: import("@vcmap/
|
|
7918
|
+
export function createOutlinePrimitive(scene: import("@vcmap-cesium/engine").Scene, vectorProperties: VectorProperties, allowPicking: boolean, feature: import("ol").Feature<import("ol/geom/Geometry").default>, geometries: import("@vcmap-cesium/engine").Geometry[], style: import("ol/style/Style").default): import("@vcmap-cesium/engine").Primitive;
|
|
7843
7919
|
|
|
7844
|
-
export function createLinePrimitive(scene: import("@vcmap/
|
|
7920
|
+
export function createLinePrimitive(scene: import("@vcmap-cesium/engine").Scene, vectorProperties: VectorProperties, allowPicking: boolean, feature: import("ol").Feature<import("ol/geom/Geometry").default>, geometries: (import("@vcmap-cesium/engine").PolylineGeometry | import("@vcmap-cesium/engine").GroundPolylineGeometry)[], style: import("ol/style/Style").default, groundPrimitive: boolean): import("@vcmap-cesium/engine").Primitive | import("@vcmap-cesium/engine").GroundPolylinePrimitive | null;
|
|
7845
7921
|
|
|
7846
7922
|
/**
|
|
7847
7923
|
* returns groundlevel or extracts the minimum height from the coordinates, returns 0 if no z coordinates are set
|
|
@@ -7855,33 +7931,33 @@ export function getStoreyHeights(extrudedHeight: number, storeyHeights: number[]
|
|
|
7855
7931
|
|
|
7856
7932
|
export function validateStoreys(storeys: number, storeyHeights: number[]): void;
|
|
7857
7933
|
|
|
7858
|
-
export function getHeightAboveGround(feature: import("ol").Feature<import("ol/geom/Geometry").default>, heightReference: import("@vcmap/
|
|
7934
|
+
export function getHeightAboveGround(feature: import("ol").Feature<import("ol/geom/Geometry").default>, heightReference: import("@vcmap-cesium/engine").HeightReference, vectorProperties: VectorProperties): number;
|
|
7859
7935
|
|
|
7860
7936
|
export function getHeightInfo(feature: import("ol").Feature<import("ol/geom/Geometry").default>, vectorProperties: VectorProperties, coordinates: import("ol/coordinate").Coordinate[]): VectorHeightInfo;
|
|
7861
7937
|
|
|
7862
7938
|
export function getStoreyOptions(storeyHeights: number[], initialHeight: number, down?: boolean, result?: { currentHeight: number; extrudedHeight: number; }[]): { currentHeight: number; extrudedHeight: number; }[];
|
|
7863
7939
|
|
|
7864
|
-
export function addPrimitivesToContext(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, geometries: import("ol/geom/SimpleGeometry").default[], vectorProperties: VectorProperties, scene: import("@vcmap/
|
|
7940
|
+
export function addPrimitivesToContext(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, geometries: import("ol/geom/SimpleGeometry").default[], vectorProperties: VectorProperties, scene: import("@vcmap-cesium/engine").Scene, geometryFactory: VectorGeometryFactoryType, context: VectorContext | ClusterContext): void;
|
|
7865
7941
|
|
|
7866
|
-
export function addArrowsToContext(feature: import("ol").Feature, style: ArrowStyle, validGeometries: import("ol/geom").LineString[], vectorProperties: VectorProperties, scene: import("@vcmap/
|
|
7942
|
+
export function addArrowsToContext(feature: import("ol").Feature, style: ArrowStyle, validGeometries: import("ol/geom").LineString[], vectorProperties: VectorProperties, scene: import("@vcmap-cesium/engine").Scene, lineGeometryFactory: VectorGeometryFactoryType, context: VectorContext | ClusterContext): void;
|
|
7867
7943
|
|
|
7868
7944
|
/**
|
|
7869
7945
|
* validates if a lineString is renderable
|
|
7870
7946
|
*/
|
|
7871
7947
|
export function validateLineString(lineString: import("ol/geom/LineString").default): boolean;
|
|
7872
7948
|
|
|
7873
|
-
export function getModelOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, wgs84Positions: import("ol/coordinate").Coordinate[], positions: import("@vcmap/
|
|
7949
|
+
export function getModelOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, wgs84Positions: import("ol/coordinate").Coordinate[], positions: import("@vcmap-cesium/engine").Cartesian3[], vectorProperties: VectorProperties, scene: import("@vcmap-cesium/engine").Scene): null | any;
|
|
7874
7950
|
|
|
7875
|
-
export function getPrimitiveOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, wgs84Positions: import("ol/coordinate").Coordinate[], positions: import("@vcmap/
|
|
7951
|
+
export function getPrimitiveOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, wgs84Positions: import("ol/coordinate").Coordinate[], positions: import("@vcmap-cesium/engine").Cartesian3[], vectorProperties: VectorProperties, scene: import("@vcmap-cesium/engine").Scene): null | any;
|
|
7876
7952
|
|
|
7877
|
-
export function getBillboardOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, heightReference: import("@vcmap/
|
|
7953
|
+
export function getBillboardOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, heightReference: import("@vcmap-cesium/engine").HeightReference, vectorProperties: VectorProperties): any | null;
|
|
7878
7954
|
|
|
7879
7955
|
/**
|
|
7880
7956
|
* extracts cesium label options from a feature and style
|
|
7881
7957
|
* @param style - style.getText().getFill() is set by default to be #333,
|
|
7882
7958
|
* if no fill is required set Fill empty by using style.getText().setFill()
|
|
7883
7959
|
*/
|
|
7884
|
-
export function getLabelOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, heightReference: import("@vcmap/
|
|
7960
|
+
export function getLabelOptions(feature: import("ol").Feature<import("ol/geom/Geometry").default>, style: import("ol/style/Style").default, heightReference: import("@vcmap-cesium/engine").HeightReference, vectorProperties: VectorProperties): any | null;
|
|
7885
7961
|
|
|
7886
7962
|
/**
|
|
7887
7963
|
* validates if a point is renderable
|
|
@@ -8052,6 +8128,10 @@ export class MapCollection extends Collection<VcsMap> {
|
|
|
8052
8128
|
* Manages the clipping object for the maps in this collection.
|
|
8053
8129
|
*/
|
|
8054
8130
|
clippingObjectManager: ClippingObjectManager;
|
|
8131
|
+
/**
|
|
8132
|
+
* Event raised when the maps split position changes. It passed the position as its only argument.
|
|
8133
|
+
*/
|
|
8134
|
+
splitPositionChanged: VcsEvent<number>;
|
|
8055
8135
|
/**
|
|
8056
8136
|
* The currently active map
|
|
8057
8137
|
*/
|
|
@@ -8065,15 +8145,15 @@ export class MapCollection extends Collection<VcsMap> {
|
|
|
8065
8145
|
*/
|
|
8066
8146
|
layerCollection: any;
|
|
8067
8147
|
/**
|
|
8068
|
-
* Set
|
|
8148
|
+
* Set the splitPosition for these maps.
|
|
8069
8149
|
*/
|
|
8070
|
-
|
|
8150
|
+
splitPosition: any;
|
|
8071
8151
|
/**
|
|
8072
8152
|
* Raised on the active maps post render event
|
|
8073
8153
|
*/
|
|
8074
8154
|
readonly postRender: VcsEvent<VcsMapRenderEvent>;
|
|
8075
8155
|
/**
|
|
8076
|
-
* Adds a map to the collection. This will set the collections target
|
|
8156
|
+
* Adds a map to the collection. This will set the collections target
|
|
8077
8157
|
* and the collections {@link LayerCollection} on the map.
|
|
8078
8158
|
* It will add map event listeners and pass them to the event handler of this collection.
|
|
8079
8159
|
*/
|
|
@@ -8133,11 +8213,11 @@ export function cartesian3DDistance(p1: import("ol/coordinate").Coordinate, p2:
|
|
|
8133
8213
|
*/
|
|
8134
8214
|
export function modulo(n: number, m: number): number;
|
|
8135
8215
|
|
|
8136
|
-
export function cartographicToWgs84(cartographic: import("@vcmap/
|
|
8216
|
+
export function cartographicToWgs84(cartographic: import("@vcmap-cesium/engine").Cartographic): number[];
|
|
8137
8217
|
|
|
8138
|
-
export function mercatorToCartesian(mercatorCoordinates: import("ol/coordinate").Coordinate, result?: import("@vcmap/
|
|
8218
|
+
export function mercatorToCartesian(mercatorCoordinates: import("ol/coordinate").Coordinate, result?: import("@vcmap-cesium/engine").Cartesian3): import("@vcmap-cesium/engine").Cartesian3;
|
|
8139
8219
|
|
|
8140
|
-
export function cartesianToMercator(cartesian: import("@vcmap/
|
|
8220
|
+
export function cartesianToMercator(cartesian: import("@vcmap-cesium/engine").Cartesian3): import("ol/coordinate").Coordinate;
|
|
8141
8221
|
|
|
8142
8222
|
export function getMidPoint(p1: import("ol/coordinate").Coordinate, p2: import("ol/coordinate").Coordinate): import("ol/coordinate").Coordinate;
|
|
8143
8223
|
|
|
@@ -8152,7 +8232,7 @@ export function getCartesianPitch(p1: import("ol/coordinate").Coordinate, p2: im
|
|
|
8152
8232
|
/**
|
|
8153
8233
|
* A symbol added to override collections.
|
|
8154
8234
|
*/
|
|
8155
|
-
export const isOverrideCollection: symbol;
|
|
8235
|
+
export const isOverrideCollection: unique symbol;
|
|
8156
8236
|
|
|
8157
8237
|
/**
|
|
8158
8238
|
* @param getDynamicContextId - function to get the current dynamic context id
|
|
@@ -8267,22 +8347,6 @@ export const wgs84Projection: Projection;
|
|
|
8267
8347
|
*/
|
|
8268
8348
|
export const mercatorProjection: Projection;
|
|
8269
8349
|
|
|
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
8350
|
/**
|
|
8287
8351
|
* compares two numeric properties
|
|
8288
8352
|
*/
|
|
@@ -8389,7 +8453,7 @@ export class Viewpoint extends VcsObject {
|
|
|
8389
8453
|
/**
|
|
8390
8454
|
* The current easing function
|
|
8391
8455
|
*/
|
|
8392
|
-
readonly easingFunction: import("@vcmap/
|
|
8456
|
+
readonly easingFunction: import("@vcmap-cesium/engine").EasingFunction.Callback | null;
|
|
8393
8457
|
/**
|
|
8394
8458
|
* clones the viewpoint
|
|
8395
8459
|
* @returns viewpoint
|
|
@@ -8474,7 +8538,7 @@ export class VcsApp {
|
|
|
8474
8538
|
|
|
8475
8539
|
export function getVcsAppById(id: string): VcsApp;
|
|
8476
8540
|
|
|
8477
|
-
export const contextIdSymbol: symbol;
|
|
8541
|
+
export const contextIdSymbol: unique symbol;
|
|
8478
8542
|
|
|
8479
8543
|
export interface ContextLayerOptions extends LayerOptions {
|
|
8480
8544
|
style?: string | StyleItemOptions;
|
|
@@ -8619,3 +8683,59 @@ export interface CreateInteraction<T extends import("ol/geom").Geometry> {
|
|
|
8619
8683
|
|
|
8620
8684
|
export type Vertex = import("ol").Feature<import("ol/geom").Point>;
|
|
8621
8685
|
|
|
8686
|
+
declare module "@vcmap-cesium/engine" {
|
|
8687
|
+
interface Entity {
|
|
8688
|
+
getId():number|string;
|
|
8689
|
+
getProperty(key: string): any;
|
|
8690
|
+
[vcsLayerName]: string|null;
|
|
8691
|
+
}
|
|
8692
|
+
|
|
8693
|
+
interface Cesium3DTileFeature {
|
|
8694
|
+
getId():number|string;
|
|
8695
|
+
[vcsLayerName]: string|null;
|
|
8696
|
+
}
|
|
8697
|
+
|
|
8698
|
+
interface Cesium3DTilePointFeature {
|
|
8699
|
+
getId():number|string;
|
|
8700
|
+
[vcsLayerName]: string|null;
|
|
8701
|
+
}
|
|
8702
|
+
|
|
8703
|
+
interface StyleExpression {
|
|
8704
|
+
evaluate(feature: import("@vcmap-cesium/engine").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):any;
|
|
8705
|
+
evaluateColor(feature: import("@vcmap-cesium/engine").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):import("@vcmap-cesium/engine").Color;
|
|
8706
|
+
}
|
|
8707
|
+
|
|
8708
|
+
interface Expression {
|
|
8709
|
+
evaluate(feature: import("@vcmap-cesium/engine").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):any;
|
|
8710
|
+
evaluateColor(feature: import("@vcmap-cesium/engine").Cesium3DTileFeature | import("ol/Feature").default<import("ol/geom/Geometry").default>):import("@vcmap-cesium/engine").Color;
|
|
8711
|
+
}
|
|
8712
|
+
}
|
|
8713
|
+
|
|
8714
|
+
declare module "ol/geom" {
|
|
8715
|
+
interface Geometry {
|
|
8716
|
+
getCoordinates(): any;
|
|
8717
|
+
setCoordinates(coordinates: any, layout?: any): void;
|
|
8718
|
+
getFlatCoordinates(): number[];
|
|
8719
|
+
getLayout(): import("ol/geom/Geometry").GeometryLayout;
|
|
8720
|
+
}
|
|
8721
|
+
|
|
8722
|
+
interface GeometryCollection {
|
|
8723
|
+
getCoordinates(): Array<import("ol/coordinate").Coordinate | Array<import("ol/coordinate").Coordinate> | Array<Array<import("ol/coordinate").Coordinate>> | Array<Array<Array<import("ol/coordinate").Coordinate>>>>;
|
|
8724
|
+
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;
|
|
8725
|
+
getLayout(): import("ol/geom/Geometry").GeometryLayout;
|
|
8726
|
+
}
|
|
8727
|
+
|
|
8728
|
+
interface Circle {
|
|
8729
|
+
getCoordinates(): import("ol/coordinate").Coordinate[];
|
|
8730
|
+
setCoordinates(coordinates: import("ol/coordinate").Coordinate[]): void;
|
|
8731
|
+
rotate(angle: number, anchor: import("ol/coordinate").Coordinate): void;
|
|
8732
|
+
}
|
|
8733
|
+
}
|
|
8734
|
+
|
|
8735
|
+
declare module "ol/index" {
|
|
8736
|
+
interface Feature<Geometry> {
|
|
8737
|
+
getProperty(key: string): any;
|
|
8738
|
+
getPropertyInherited(key: string): any;
|
|
8739
|
+
[vcsLayerName]: string|null;
|
|
8740
|
+
}
|
|
8741
|
+
}
|